.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

order of validation controls in asp.net

Posted By: sriram     Posted Date: May 19, 2010    Points:2   Category :ASP.Net

i've one dropdown(autopostback = "true") and some other controls say x,y,z... and one approve button.All are mandatory fields

when i click on approve button,validation is fired for dropdown.
and i have some server code in dropdown selected index changed event. and i kept dropdown in updatepanel.
and for the second time i clicked on approve button, validation is fired for y control instead of x. after value in y cotnrol is filled, it is fired for x control.

is there any way to control the order of firing.i mean, validation is to be fired, in the order dropdown,x,y...

Author: Lalij Mer             
Posted Date: May 20, 2010     Points: 5   

You will get some idea or may help please try this link



Please Check my answer if you help....
Thank You...


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend