Geeks With Blogs
Carl Zumbano ASP.NET
Refresh an ASP.NET page from a pop-up window
Many web applications I work with require a pop-up window to edit the details of an item in a list. For example, a list of authors displayed in a GridView with a button on each row that opens an edit window. Once the data has been updated, the datasource for the parent page needs to be refreshed. Simply using Javascript to refresh the page may display a form repost warning. Resubmitting the parent page's form will behave like a regular postback, so you can't tell if it's a normal postback event or ......

Posted On Tuesday, April 25, 2006 4:34 AM

Using Google Web Search API
Google's Web API allows you to query the web from a Web Service. It's a beta service and no commercial version available at this time. You're limited to a 1,000 queries a day and and a maximum of ten results per query. These restrictions really limit the potential of the API, but I've found some uses in real-world applications. For example, you can save query results to a database for related links lists. I put together a small example which you can download here. The application simply retrieves ......

Posted On Sunday, April 23, 2006 10:33 PM

Sorting with an Object Data Source
The Object Data Source control is one of the best new features of ASP.NET 2.0. The ability to bind collections of Business Objects saves time and produces more elegant, less code-intensive solutions. Unfortunately, if your Business Objects contain child classes binding to Data Controls becomes more difficult. This article demonstrates a technique for sorting a GridView bound to a collection of Objects with a child class. You can download the complete solution here. I created two objects for this ......

Posted On Monday, March 27, 2006 5:36 PM

Copyright © Carl Zumbano | Powered by: GeeksWithBlogs.net