Category Archives: ASP.NET 4 And Javascript

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 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