AppendIfNotContains string helper method
I’ve created a helper function, that allows me to set extra CSS class name(space separated) public static string AppendIfNotContains(string str, string sToAppend, string delimeter) {...
View Articlemy ASP.NET ListControlHelper class
Previously I’ve posted a few Helper Classes . This post describes my ListControlHelper class using System.Net; using System.IO; using System.Diagnostics; using...
View Articlemy GridViewHelper class.
Previously I’ve posted a few Helper Classes . This post describes my GridViewHelper class. using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security;...
View ArticleUnable to set Gridview HyperLinkField Header using DataBinding
I’ve tried to set Gridview HyperLinkField Header text to some value using DataBinding <%# Eval(“Rating”) %> ,but it caused error: ‘Gridview :Databinding expressions are only supported on objects...
View ArticleRemove empty lines in text using Visual Studio.
Visual Studio has ability to delete empty lines in replace operation using regular expressions. 1.Click Ctrl-H (quick replace) 2. Tick “Use Regular Expressions” 3. In Find specify ^$n 4. In Replace box...
View ArticleCreate multi-row gridview Header with buttons in header
I found a few articles , that try to create multi-row gridview Header http://forums.asp.net/p/1058306/1517774.aspx#1517774 http://blogs.msdn.com/mattdotson/articles/541795.aspx All solutions suggest...
View ArticleValidation of viewstate MAC failed when using asp.timer to trigger UpdatePanel
I have a page with UpdatePanel and ASP:Timer, that refreshs the UpdatePanel every minute. It was noticed that after new release after the first refresh any postback causes “Validation of viewstate...
View ArticleArticles about Working with multiple checkboxes in GridView
I wanted to have multiple checkboxes in GridView . Below are a few links, that I’ve read before implemented my user control. Checking All CheckBoxes in a GridView Using Client-Side Script and a Check...
View Article