0

Hi all

In my web application i have validation controls. On selected index change of drop down list i set Enabled property to false of certain validations but they are still enabled. Drop down list is inside update panel.

Strange part is the that it works fine on my local machine i-e validations are disabled but when i upload it on remote server its not working there.

I have goggled this problem but did not find solution for this problem.

4
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by __avd
0

I'm not sure about why this is happening...but I also came across with the same situation once. My Validation controls are not at all validating, then I used the below code on server side to force the validation.

if (!Page.IsValid)
        {
            return;
        }
0

Hi all

In my web application i have validation controls. On selected index change of drop down list i set Enabled property to false of certain validations but they are still enabled. Drop down list is inside update panel.

Strange part is the that it works fine on my local machine i-e validations are disabled but when i upload it on remote server its not working there.

I have goggled this problem but did not find solution for this problem.

http://www.eggheadcafe.com/searchform.aspx?search=Code+Validators

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.