April 2006 Entries

ASP.NET 2.0: XmlDataSource - Default Caching Feature
XmlDataSource is a wonderful Data Source control used to bind hierarchial data. It can be combined with a TreeView to display a Tree structure of Data to the users. While implementing XmlDataSource, we may not get the Data updated even though we change the underlying data, due to the built-in caching feature of this control. Let us examine the following scenario. We have a XML Fragment retrieved from Database based on a user input and set as the Data for the XmlDatasource. Then, when the user input ......

Posted On Friday, April 28, 2006 5:03 AM | Comments (3)

ASP.NET 2.0 - Enter Key - Default Submit Button
One of the most annoying things in developing web pages is handling the "Enter key" for form submission. Enter key has been the favourite way users like to submit forms. Though we provide Buttons to click on, the easiest and intuitive way is that, I can enter some text, make some changes and then hit "Enter" to accomplish my submission. "Enter" Key is handled in a little tricky way by uplevel browsers like Internet Explorer, when it comes to ASP.NET. If there is a single Textbox and single button, ......

Posted On Wednesday, April 12, 2006 1:22 PM | Comments (121)