Ask a Question related to ASP.NET General, Design and Development.
-
John Mabbott #1
ValidationSummary Disappearing Act!
Hello all,
We're getting some weird behavior with the ValidationSummary control.
If I submit a page that fires some validators, the ValidationSummary
displays them correctly. However, if I subsequently submit the page,
the ValidationSummary control briefly disappears before re-appearing
again! So, to recap:
1. I load one of my pages
2. I don't fill any of the input boxes and submit the page, causing
validators to fire
3. I get the validation summary
4. I submit the page again
5. The "loading" progress bar on the status bar gets to halfway
6. I see my page, sans validation summary
7. The "loading" progress bar reaches the end
8. The page is displayed again normally (with the validation summary).
Is there any way I can stop this happening? Here's some sample code
from my pages:
<ValidationSummary id="vs_ValidationSummary" runat="server"
HeaderText="" CssClass="errorblock" ForeColor="" ShowSummary="true"
ShowMessageBox="false"></ValidationSummary>
<RequiredFieldValidator id="rv_Postcode" runat="server"
ErrorMessage="" ControlToValidate="in_Postcode" Display="None"
EnableClientScript="False"></RequiredFieldValidator>
<CustomValidator id="cv_CardNumber1" runat="server" ErrorMessage=""
ControlToValidate="in_CardNumber1" Display="None"></CustomValidator>
Any help appreciated,
John Mabbott
John Mabbott Guest
-
ValidationSummary not displaying error message from datagrid regularExpressionValidator
I have a datagrid with Edit, Update, Cancel. Everything without validation works fine but when the user edits the date column I would like the... -
Problem with ValidationSummary Control in Windows 2003
Why windows 2003 cannot run script at client ? In Windows 2003, some client script generated from .NET i.e. RequireFieldValidator,... -
How ValidationSummary works
I am having trouble with the ValidationSummary not getting all of the error messages from the validators on my page. Can anyone tell me how the... -
ValidationSummary doesn't get nested control error message
I have a page that has a validation summary control. On this page I have a nested user control (Control1). Inside Control1 is another nested... -
ValidationSummary ShowMessageBox HeaderText ?
If I use a ValidationSummary with ShowMessageBox set true, the HeaderText does not appear on the message box, neither in the title bar nor in the...



Reply With Quote

