Taken from http://www.metabuilders.com/Tools/DefaultButtons.aspx Often in asp.net WebForms you have multiple buttons with a number of textboxes and other form controls making it difficult for the web browser to determine what should happen when a user clicks enter. Thankfully in asp.net 2 the panel and form controls have a default button property making it so that [...]
I wrote previously how to handle redirecting to other pages in an asp.net Web Forms application using the page’s type which allows you to move pages around in your site without having to worry about dead links as long as you use some sort of refactoring tool like resharper from jetbrains. Here is a link [...]
If the controls on your designer.cs are out of sync with your aspx page you may want to try the following to resync them. Put your page in design view and right click / refresh. It will sync the controls with the designer.cs. Make sure designer.cs is close before doing this. Taken from the following [...]
Very useful article on how to reduce your ViewState size. Also very simple to implement. http://szokelizer.blogsome.com/2006/11/09/how-to-put-controlstate-into-viewstate-and-how-to-put-viewstate-into-session/
This post I’ll keep short and sweet. If you are using a Regular Expression Validator you will have the problem that if you use a line break it won’t validate when you write something like ^.{0,n}$ even though the dot is supposed to match anything Apparently the dot isn’t supposed to match new line characters [...]
Just started using the ASP.Net Web Forms wrapper for JqGrid, worth taking a look at http://trirand.net/default.aspx
First look at the official JqGrid ASP.Net Web Forms control here http://www.trirand.net/jqgrid.aspx Includes support for Linq and object data sources.