siri Posted June 18, 2008 Share Posted June 18, 2008 Hi Guys,I am having a textbox and a radio button. I have applied a rangevalidator for textbox so that a users enters a value withing a given range.The radio button options are yes and no.When I select the no option the value of the textbox should be reset and now if I click on the submit button it should not do any validation.How do I implement this with the asp.net validation controls Link to comment Share on other sites More sharing options...
cothedo Posted June 22, 2008 Share Posted June 22, 2008 Hi Guys,I am having a textbox and a radio button. I have applied a rangevalidator for textbox so that a users enters a value withing a given range.The radio button options are yes and no.When I select the no option the value of the textbox should be reset and now if I click on the submit button it should not do any validation.How do I implement this with the asp.net validation controlsYou'll need the custom validator to do that Link to comment Share on other sites More sharing options...
cothedo Posted June 22, 2008 Share Posted June 22, 2008 You'll need the custom validator to do thatHere's a very good article on using the ASP.NET customvalidator control:http://aspnet.4guysfromrolla.com/articles/073102-1.aspx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.