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


Top 5 Contributors of the Month
david stephan

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

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

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

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


http://quickstarts.asp.net/QuickStartv20/aspnet/doc/validation/default.aspx

http://www.aspfree.com/c/a/ASP.NET/Completing-a-Basic-ASPNET-35-User-Input-Validation-Project/2/

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

Lalit.


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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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