I was making it too complicated... Looking it up on msdn it seems simple enough I just set the CausesValidation property on the button to False and it should not fire the validation event. share|improve this answer edited Sep 16 '09 at 13:54 answered Sep 16 '09 at 13:47 LukeH 161k29249347 No still not working , it is in same validation group –Jaison and/or other countries. have a peek here
Reply With Quote Mar 7th, 2006,06:53 PM #7 sparrow1 View Profile View Forum Posts PowerPoster Join Date May 2005 Location Globetrotter Posts 2,817 Re: CausesValidation=false not working? I think you are right about causesvalidation being meant for dialogues as all the evidence points to that, but the msdn material would indicate otherwise (which is why I pursued this Member 12 Points 7 Posts Re: Problem with CausesValidation=true in a button Jan 02, 2008 08:28 PM|marcos.justwork|LINK because your client-function for the button returns false, the call to the server is Solution 1 Accept Solution Reject Solution Priyaaammu, Your server side validation will automatically get fired when client side validation will become false(As you have use .net validation controls). http://stackoverflow.com/questions/21351047/causesvalidation-true-not-working
Causesvalidation False Still Validating
If I press Button2 there is no message and the Button gets the focus, exactly as you'd expect. Even I checked many threads but no one give the solution.If any body came across this problem please help me.