Is there a way to have the custom validator take the input from two controls, say for example two check boxes and make sure that only one is checked?
I\'ve got a drop-down where the user selects a Country. It is a required \"field\". Next to it, there is a textfield named State. If the user selects US, then the field State is required. If the user
I have markup so: <asp:TextBox runat=\"server\" ID=\"Accountname\" /> <asp:CustomValidator runat=\"server\" ControlToValidate=\"Accountname\" OnServerValidate=\"Accountname_CheckUnique\" met
Does anybody know of a way to set the width of a custom validtor so that the error message text will wrap if it exceeds the specified width?
I have a gridview with three columns of textboxes. It can have as many rows as necessary but its usually only about 5 rows. Each row needs to be validated.
i have a checkbox which is in a usercontrol and the usercontrol is in an wizardcontrol and the wizardcontrol is on a content page which has a master开发者_开发百科page.
I am wondering what the prefered method of validating user input in asp.net using an existing method call is.I have implemented this a couple of ways now and while they all work I get the sense that t