Click here to Skip to main content
15,885,638 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to create Shipment project container planning using ASP.NET Pin
ashjassi16-Aug-12 1:30
ashjassi16-Aug-12 1:30 
QuestionCascading dropdown selected value Pin
nitin_ion15-Aug-12 23:05
nitin_ion15-Aug-12 23:05 
AnswerRe: Cascading dropdown selected value Pin
Rahul Rajat Singh16-Aug-12 18:14
professionalRahul Rajat Singh16-Aug-12 18:14 
Questionmaintain scrollbar position Pin
sc steinhayse15-Aug-12 11:55
sc steinhayse15-Aug-12 11:55 
AnswerRe: maintain scrollbar position Pin
jkirkerx15-Aug-12 17:44
professionaljkirkerx15-Aug-12 17:44 
GeneralRe: maintain scrollbar position Pin
sc steinhayse16-Aug-12 3:46
sc steinhayse16-Aug-12 3:46 
GeneralRe: maintain scrollbar position Pin
jkirkerx16-Aug-12 9:13
professionaljkirkerx16-Aug-12 9:13 
Questionregular expression validator Pin
sc steinhayse15-Aug-12 10:02
sc steinhayse15-Aug-12 10:02 
In a C# 2010 web application, I have a regular expression validator that validates if a date is in mm/dd/yyyy format. The control works fine however the message quickly appears when the user enters the date and goes away. The message also appears when the user clicks the next button. I only want the message to appear when the user clicks the 'next' button.
The following is my code:
<div>     <asp:RegularExpressionValidator ID="RegExpresValdate" runat="server" ControlToValidate="txtDate"   CssClass="errorStyle"
   ValidationExpression="^(0[1-9]|1[012])[/](0[1-9]|[12][0-9]|3[01])[/](19|20)\d\d$"
                                  ErrorMessage="Please enter date in valid format (mm/dd/yyyy).">
                                   </asp:RegularExpressionValidator>
                                 </div>

Can you tell me what I can do to have the message only display when the user clicks the next button?
AnswerMessage Closed Pin
15-Aug-12 10:24
Susan Rich15-Aug-12 10:24 
GeneralRe: regular expression validator Pin
sc steinhayse15-Aug-12 11:57
sc steinhayse15-Aug-12 11:57 
Questionbring footer to bottom Pin
Jassim Rahma15-Aug-12 9:00
Jassim Rahma15-Aug-12 9:00 
QuestionASP.Net Routing by routes.MapPageRoute with routeURL and physicalFile is not available in route registration Pin
milad137715-Aug-12 7:14
milad137715-Aug-12 7:14 
AnswerRe: ASP.Net Routing by routes.MapPageRoute with routeURL and physicalFile is not available in route registration Pin
jkirkerx15-Aug-12 8:15
professionaljkirkerx15-Aug-12 8:15 
QuestionASP.Net 4 Routing with runtime routeURL and physicalFile Pin
milad137715-Aug-12 6:51
milad137715-Aug-12 6:51 
QuestionSending SMS through ASP.NET Pin
komalridda14-Aug-12 20:00
komalridda14-Aug-12 20:00 
AnswerRe: Sending SMS through ASP.NET Pin
StianSandberg14-Aug-12 21:05
StianSandberg14-Aug-12 21:05 
AnswerRe: Sending SMS through ASP.NET Pin
Richard MacCutchan14-Aug-12 21:10
mveRichard MacCutchan14-Aug-12 21:10 
GeneralRe: Sending SMS through ASP.NET Pin
RichardGrimmer5-Sep-12 4:36
RichardGrimmer5-Sep-12 4:36 
GeneralRe: Sending SMS through ASP.NET Pin
Richard MacCutchan5-Sep-12 5:18
mveRichard MacCutchan5-Sep-12 5:18 
AnswerRe: Sending SMS through ASP.NET Pin
Rahul Rajat Singh16-Aug-12 18:17
professionalRahul Rajat Singh16-Aug-12 18:17 
AnswerRe: Sending SMS through ASP.NET Pin
ashjassi17-Aug-12 2:41
ashjassi17-Aug-12 2:41 
Question2010 web service Pin
dcof14-Aug-12 14:39
dcof14-Aug-12 14:39 
QuestionUnable to run the website using IIS Pin
sravsailu13-Aug-12 23:28
sravsailu13-Aug-12 23:28 
AnswerRe: Unable to run the website using IIS Pin
jkirkerx14-Aug-12 7:45
professionaljkirkerx14-Aug-12 7:45 
QuestionJQGRID IN ASP.NET Pin
Roshith G13-Aug-12 19:29
Roshith G13-Aug-12 19:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.