Archive for February, 2009

ASP.NET Advanced Grid View

Wednesday, February 18th, 2009

ASP.NET’s GridView is great, but admittedly there are limitations to what it can do.
Some nice features which are missing include

Advanced Search
Print
Save

I’ve written an advanced gridview class which is able to perform all these

This gridview comes with the ability to

Display Create button which goes to another url when clicked
Save button to save all the records in [...]

Performance Programming with ASP.NET C#

Monday, February 16th, 2009

It is easy to develop using ASP.NET, you can have a web application with database operations up in less than half an hour. But this ease of development comes at the expense of several performance hits.

Viewstate
Web sites are stateless by design, which means that anything you have on the page is not retained when you [...]

Connecting to Windows Live

Sunday, February 15th, 2009

There are not many posts on how to connect to Windows Live, this guide attempts to help users with this connection
Requirements

Have a valid domain name which you can manage
Register a Windows Live application here
Download code sample from here
Update the following parameters inside web.config, taking the values from the Windows Azure summary page for the application
<add [...]

Performance Programming with ASP.NET Ajax

Monday, February 9th, 2009

At first glance, ajax seems to be a cinch with asp.net 3.5, what with all the updatepanel, timers and such. However behind this ease of development hides a danger which most developers may not notice.
Although updatepanels and timers are easy to use, each update triggers a complete postback and if your viewstate is on the [...]