943,670 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 3289
  • ASP.NET RSS
Feb 27th, 2008
0

question about required field validator

Expand Post »
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-->
Reputation Points: 10
Solved Threads: 0
Newbie Poster
arunsolanki31 is offline Offline
7 posts
since Sep 2007
Feb 27th, 2008
0

Re: question about required field validator

You need to set the reset button attribute

CausesValidation="False"

Otherwise it will cause validation
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007
Mar 1st, 2008
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
arunsolanki31 is offline Offline
7 posts
since Sep 2007
Mar 3rd, 2008
0

Re: question about required field validator

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.
Reputation Points: 43
Solved Threads: 68
Veteran Poster
SheSaidImaPregy is offline Offline
1,080 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: perform check on inseert query
Next Thread in ASP.NET Forum Timeline: How to establish alt text for datagrid headers?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC