How to Force an ASP.NET Page into IE Compatibility Mode (Even when Using Themes)

The Situation: You need to to use a control that is not fully compatible with the latest version of Internet Explorer (or you find that your page just doesn't function the same in the latest version). A Solution: The normal solution (and the one that nearly everyone can use UNLESS they are working with ASP.NET … Continue reading How to Force an ASP.NET Page into IE Compatibility Mode (Even when Using Themes)

How to Catch Errors when Using ObjectDataSource

The Situation: You have an ASP.NET page that uses an ObjectDataSource to provide data access for a GridView, FormView or list control like a DropDownList or CheckboxList. When a data access error occurs, you would like to display a message on the page to help users understand what is happening. A Solution: You could try … Continue reading How to Catch Errors when Using ObjectDataSource

Should You Use 3rd-Party Controls and Frameworks? – Follow-Up

The very next day after I wrote my original post on using 3rd-party controls, the EntitySpaces team announced that they would no longer continue the framework and would make it open source by the end of 2012. Yikes! Now what? I have 2 choices - do nothing with my existing code and continue to use … Continue reading Should You Use 3rd-Party Controls and Frameworks? – Follow-Up

How To Edit a Record in an ASPxGridView Bound to EntitySpaces’ esDataSource that Uses a Join

The Situation: You get an error when you try to save edits to a record in a DevExpress ASPxGridView. The grid view is bound to an EntitySpaces esDataSource, which is populated using EntitySpaces dynamic query functionality. The ES dynamic query syntax allows you to use joins between entities like this (actual code from one of … Continue reading How To Edit a Record in an ASPxGridView Bound to EntitySpaces’ esDataSource that Uses a Join