I've created links in the listview which is attached to the datapager. When a user clicks a link they see content to the left but the datapager changes from any page to page 1.
Hey,
I have a UIView with several subviews: one UIImageView and a couple of UIViews. When I change the frame property of the view, the imageView's size changes accordingly, but the rest of the subviews remain in their original size!
I can't figure out what I'm doing wrong. Can anybody help?
Thanks,
Hi all,
A short but sweet question: Can I use Apple's open source Core Foundation (CF classes) in a commercial product for free? That is, can I compile and link against the libraries without open sourcing my own applications's code? Obviously if I alter the original CF code, I would submit the changes.
It's a very well constructed API and I'd hate to have to reinvent the wheel.
Cheers,
Shane
I'm implementing a solution in ASP.NET MVC that later can be applied to couple of other fields. To do so it will require to re-brand the UI even though the underlying business logic wont need to change. I'd like to write the code in such a way that will allow other developers to only develop code that will only changes the UI. This is similar to the way that themes can be written against Wordpress Blog software.
Can any one suggest how to organize my project to make such feature work?
Hi,
does Entity Framework have a caching mechanism like DataSet/DataTables have?
In other words if you start using EF is it really just a way to easily get data in/out of the database without providing an additional caching layer like DataSet/DataTables did where you have an in-memory representation (on-line/off-line) and which at some point you could say to "persist all changes to database"
You have two servers when you perform a SQL Server database mirroring
You have 1 primary database and 1 mirror database
Do you need to make any changes to web application to tell it that your using database mirroring? If not how does your web application know which database to use when the primary database fails?
Is there an upgrade guide for Kohana 3.0.9 from 3.0.8. I'm looking for something like what jQuery provides when they release a new version. It allows for a quick scan of the changes to notice if there's anything I could use or would change how I've done things.
The resolved issues are part of this, but I'm looking for something more high level. The issues require reading everything in each issue and it's often hard to understand what's actually changed.
Environment: C#, MySql, GoDaddy Shared Hosting (medium trust).
Assuming the above environment, what ORMs will work in a medium trust environment? Also consider the following features:
minimal code changes to the ORM library.
minimal disabling of features to run in medium trust.
Bonus feature:
fluent interface
There are a lot of ORMs to choose from. What would your selection be?
How do you animate the change of background color of a view in Android?
For example:
I have a view with a red background color. The background color of the view changes to blue. How can I do a smooth transition between colors?
Hi,
I'm using Amazon's simpledb in my app. When parsing xml it gives an error with the code 5.
ie. NSXMLParserErrorDomain error 5.
Sometimes it works fine and without any significant change in the navigation is gives that error. Again it works fine when i restart the app several times without doing any changes to the code or navigation in the system. I cant figure out the reason why this happens.
thanks
One developer on my team has some setting in Android Studio that replaces the distributionUrl entry in gradle/wrapper/gradle-wrapper.properties to use the gradle-###-all.zip, while my Android Studio changes it back to gradle-###-bin.zip.
Basically, my diff always looks like:
-distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-bin.zip
This is annoying. What setting is it, and how do I change it?
Hi,
I have a 3D model which is lying flat currently, I wish for it to be rotated 90 degrees around the X axis. I have no problem doing this with the transforms. But to my knowledge all the transforms are a bunch of matrices multiplied. I would like to have the transform really alter all the coordinates of the indicies of the model. Is there a way to "save changes" after I apply a transform?
I have two list of members like this:
Before: Peter, Ken, Julia, Tom
After: Peter, Robert, Julia, Tom
As you can see, Ken is is out and Robert is in.
What I want is to detect the changes. I want a list of what has changed in both lists. How can linq help me?
How do you do it? I saw one video tutorial on it, but the screen was too small. Also, other than changing the view size, are there any other major changes I would have to make to my iphone apps to convert to iPad?
I'm searching a way, to link external picture to FogBugz wiki. It must be a dynamic link, so when the source picture changes, it should automatically change in the wiki page (after manual page reload in browser).
Playing around with MongoDB and NoRM in .NET.
Thing that confused me - there are no transactions
(can't just tell MongoConnection.Begin/EndTransaction or something like that).
I want to use Unit of work pattern and rollback changes in case something fails.
Is there still a clean way how to enrich my repository with ITransaction?
I realize that ItemFocusIn is somehow only applicable to editable datagrids in flex, nevertheless I want to fire an event anytime the user selects a new row in a non-editable datagrid. I have successfully used the CLICK event, but this event is not fired when the user uses the keyboard to select a different row in the datagrid. What do I have to do to cause an event to fire whenever the currently highlighted row in the datagrid changes, regardless of weather it was changed by the mouse or by the keyboard?
It's possible to implement INotifyCollectionChanged or other interface like IObservable to enable to bind filtered data from xml file on this file changed ? I see examples with properties or collection, but what with files changes ?
I have that code to filter and bind xml data to list box:
XmlDocument channelsDoc = new XmlDocument();
channelsDoc.Load("RssChannels.xml");
XmlNodeList channelsList = channelsDoc.GetElementsByTagName("channel");
this.RssChannelsListBox.DataContext = channelsList;
Does any one know how to connect my c# console application to .net remoting server object. How to make changes to config file for console application to consume the .net remoting object?
Hi,
Is there any code example teaching how to zoom in and out in a UIImageView by user taps?
I know it is possible to do it with UIScrollView and with UIWebView, but these solutions both need a lot of changes in the code, and I'm working on schedule (bad teachers).
I wanted basically an example on how to manipulate directly the UIImageView.
Thanks a lot!
Is there a way I can access (for printout) a list of sub + module to arbitrary depth of sub-calls preceding a current position in a Perl script?
I need to make changes to some Perl modules (.pm's). The workflow is initiated from a web-page thru a cgi-script, passing input through several modules/objects ending in the module where I need to use the data. Somewhere along the line the data got changed and I need to find out where.
Hello all,
I am using JQuery to get the contents of a div, which only contains a price in dollars and I would like to add $99 to it, but its text, so when I do the below it won't work.
$('#price_' + part[0]).text($('#price_' + part[0]).text() + 99);
//Changes the div contents to $10099 - if it the contents was $100 to start with
So the question is how can I add the numeric values?
Thanks all
Dear all
It looks SortedList is excluded.. What do you think most appropriate out of existing collections? (to keep the same fast access and changes)
Can silverlight Dictionary be permanently sorted?
Best regards
VLK
I am having the below code.
public VizCanvas(){
{
this.setBackground(Color.black);
this.setSize(400,400);
}
}
It worked fine and displays the panel in black background. But when I implement the paint method, which does nothing, the color changes to default color i.e gray.
I tried to set graphics.setColor() but it didn't help.
Thank you.
Versioning
If your events changes you would create a new version of that event, and keep the old ones. To keep your domain code form being bloated with handling of all versions of events you would basically introduce a component that converts your events from previous to newer versions, and then apply them on the domain. Remember that events are things that actually happened in your domain so in most cases the information in deprecated events are valuable.
I still haven't found any example of this.
Any help?