Geeks With Blogs

News Locations of visitors to this page
Ariel Popovsky's Blog Aventuras y desventuras con .net June 2009 Entries
Exception/Error handling using the ObjectDataSource
This post was going to be a rant about how using the ObjectDataSource was impossible to handle exceptions thrown while retrieving or updating data. After some experiments and reading some misleading posts I saw only three possible ways: Use a generic error handler like the Page Error event or the Application Error event in global.asax. Implement handlers for the Updating, Selecting and Deleting events of the GridView bound to the datasource, set the event.Cancel to true and then manually call the ......

Posted On Monday, June 22, 2009 10:54 AM

JQuery Autocomplete with WCF services
I was trying to implement a simple autocomplete behavior on a textbox using JQuery and the JQuery Autocomplete plugin but it wasn’t as simple as I expected. The basic idea was to get the options from a WCF web service as the user typed. The first obstacle was preparing the Service to accept the calls from the plugin. The plugin accepts a url as the data source and invokes it with two parameters (and a timestamp), q is the query and limit the maximum number of results to return, so I created the following ......

Posted On Tuesday, June 16, 2009 9:19 PM

Copyright © Ariel Popovsky | Powered by: GeeksWithBlogs.net