ASP.Net


Posts Related to ASP.Net.

Role Extender

Application security is one of those inevitable things that every application you develop must handle. Thankfully, in ASP.NET, Microsoft has made security a pretty easy thing to implement. Most of the applications that I have created use Role based security (Read more here: Managing Authorization Using Roles) which can be easily configured in the web.config…


Programmatically Created GridView not Sorting

There have been times when I needed to programmatically create a DataGrid in the code behind.  Perhaps this was a server control, WebPart, or just a regular page.  In some case, I have found that sorting will not work on the GridView when it is programmatically created.  This is usually caused by when the controls…