Click here to Skip to main content
15,893,161 members

Technical Blogs


1. Binding Checkbox in GridView (A work around)
I needed to bind a checkbox in gridview to a database field but to my disappointment I found that this was not easy. We could bind “Text” property but what if I don’t want to display the value I am binding (e.g. ID of that record). Here is a work around.
Syed Mujtaba Hassan Updated: 16 Sep 2010
Rating: 4.00/5 ( (1 vote))
2. Validating all text fields.
I needed to validate all the text fields on the page and restrict the user from entering scripts into text fields and text areas. Following is the solution (Using a simple regular expression). This function should be called on submit of the form.
All Topics » »
Syed Mujtaba Hassan Updated: 16 Sep 2010
Rating: ( (No votes))
3. ASP.Net: Clientside Date, Double, Integer,Currency Validation
When using text field date, Double type (decimal places or different decimal characters in globalization etc) and currency validation on client-side we often use regular expression validator and try to write complex regular expressions.
Web Development » HTML »
Syed Mujtaba Hassan Updated: 16 Sep 2010
Rating: 4.00/5 ( (4 votes))
4. Best Practices for implementing paging in ASP.Net
Implementing paging in ASP.net with fast page loading has always been a heck of a task. If we use datagridview’s default paging it has so many drawbacks like it loads all the data into the data source and then select the required number of rows on required page number.
Web Development » HTML »
Syed Mujtaba Hassan Updated: 16 Sep 2010
Rating: 1.00/5 ( (1 vote))