g_r_a_robinson
Regular
- Joined
- Jan 13, 2004
- Messages
- 71
Hi all.
I have a page that requires a lot of validation, I'm mainly using the requiredfieldvalidator.
<code>
<asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" display="dynamic" errormessage="Name is a required field" controlToValidate="Names">*</asp:requiredfieldvalidator>
</code>
I also have a user control that contains links to other pages. My problem is that if I decide I don't want to actually submit my page but rather click on one my links I get stopped by the validation for the page. Is there anyway I can insulate my menu control from the main page so that I can still move away from it if I need to. I understand that some might say that defeats the whole purpose of the validation in the first place, but I only need it to respond to the add entry button not to everything else on the page.
Thanks
I have a page that requires a lot of validation, I'm mainly using the requiredfieldvalidator.
<code>
<asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" display="dynamic" errormessage="Name is a required field" controlToValidate="Names">*</asp:requiredfieldvalidator>
</code>
I also have a user control that contains links to other pages. My problem is that if I decide I don't want to actually submit my page but rather click on one my links I get stopped by the validation for the page. Is there anyway I can insulate my menu control from the main page so that I can still move away from it if I need to. I understand that some might say that defeats the whole purpose of the validation in the first place, but I only need it to respond to the add entry button not to everything else on the page.
Thanks