Latest Posts
18 nov 2011
Silverlight ComboBox fails to keep current selection after items in bound ObservableCollection are added /removed.
When working with Silverlight 4 ComboBox control you might notice that
if you bind ComboBox Itemsouce to ObservableCollection(T) – which is highly usefull dynamic datatype collection in case of development using MVVM model – once you add/remove items from the collection current selection in Combobox is not always kept.
It happens almost 100% of the time when hosting the Combobox in Silverlight DataGrid custom column DataTemplate.
The best solution which works for us 100% of the time involves inheriting ComboBox and ovwewriting OnItemsChanged event so that it will reset current SelectedValue afetr each time item is added
more...
31 oct 2011
SQL Server ,Temporary table and erroneous order assumption
While working on one of our on-site consulting projects I was approached by one of the in-house developers with seemingly unexplainable SQL Server 2008 behavior that they were battling for days to solve.
more...
17 oct 2011
ASP.net webforms routing does not work after deployment to windows server 2008 and IIS 7.5. 404 Error
Routing is great feature, worked pretty well while in development environment VS 2010. After deployment to web server windows server 2008 and IIS 7.5 routing stop working.Clicking on the links returns 404 error.
After several hours of investigation, trying different things solution has been found.
Adding 'runAllManagedModulesForAllRequests="true"' to module attribute in webconfig fixed the problem. That's the only thing worked for me for webforms, this may not be the best solution for MVC.
14 oct 2011
iPad application integration with wcf services. Guid, UUID,core data challenges
iPad application integration with wcf services. Guid, UUID,core data challenges
Integration of iPad appication with wcf rest services is pretty straight forward, until you get to Guids and UUIDs. Its the same thing, but way coredata stores UUID in sqllite database is different from loading data into sqllite directly.
core data will never find the match. Conclusion: all data in the database has to be prepopulated using coredata.