Category Archives: ASP.NET 4

How to validate an Ajax control combo box has item selected or not?

First, you need to insert beside the combo box a custom validator like this, If your combo box default selected value is an empty string then you need to add a function inside a script tag like this, function CustomValidator(s, … Continue reading

Posted in Ajax Control, ASP.NET 4, ASP.NET 4 And Javascript | Leave a comment

How fix the column width in a gridview at insert tooltip in each cell in Asp.net 4?

If you need to set the width of each column in a gridview control, If the column is just to display and no editing needed. You can like this, But if there is a editing to be done, you need … Continue reading

Posted in ASP.NET 4, C# 4.0, C# 4.0 AND ASP.NET 4.0, CSS | 1 Comment

How to manipulate back button in ASP.NET 4?

After searching a lot of references. I have came to a conclusion that you can only prevent user from accessing the previous page is thru javascript window history. You can not manipulate the forward button but only the back button. … Continue reading

Posted in ASP.NET 4, ASP.NET 4 And Javascript, JavaScript | Leave a comment