question about required field validator

Reply

Join Date: Sep 2007
Posts: 7
Reputation: arunsolanki31 is an unknown quantity at this point 
Solved Threads: 0
arunsolanki31 arunsolanki31 is offline Offline
Newbie Poster

question about required field validator

 
0
  #1
Feb 27th, 2008
i have one text box with required field validator and two button like one submit and other reset button when i click submit button then it show text box is blank when i do not type any value it is OK not a problem . if i click reset button even it show text box is blank if i don't type any value so i want if i click reset button the required field validator should not work either i type any value or not

--->means required field validator should not work at reset button in any condition either type or not type any value-->
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: question about required field validator

 
0
  #2
Feb 27th, 2008
You need to set the reset button attribute

CausesValidation="False"

Otherwise it will cause validation
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 7
Reputation: arunsolanki31 is an unknown quantity at this point 
Solved Threads: 0
arunsolanki31 arunsolanki31 is offline Offline
Newbie Poster

Re Tell Me about pass value from one page to other page

 
0
  #3
Mar 1st, 2008
can tell me about how can pass value from page to other page rathen than query string and cookies any other process .plz put some coading
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: question about required field validator

 
0
  #4
Mar 3rd, 2008
You can use session variables, however, I would suggest against this unless you need it throughout the entire user's session.

Just "POST" the form to the next page that you have to use, then use request.form to grab the information.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum


Views: 2185 | Replies: 3
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC