|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Validations for dynamic radiobuttons -- Please helpHi ! I have several dynamic radiobuttons on form like For each question i
have 3 radio buttons (Yes, No, May be) . I need two types of validations. 1. If user selects (No) then it should give some alert saying enter some text in explanation box. 2. User cannot miss any question. I have been trying past 2 weeks. No luck I really appreciate your help. Thanks. Sounds like you'll need to use a <asp:CustomValidator>. This means you'll
need to write the validation login in an event on your server (C# or VB.NET code). Also, you can optionally write a javascript validation function that will run in the client browser. The docs show a sample: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebUIWebControlsCustomValidatorClassTopic.asp -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > Hi ! I have several dynamic radiobuttons on form like For each > question i > have 3 radio buttons (Yes, No, May be) . I need two types of > validations. > 1. If user selects (No) then it should give some alert saying enter > some > text in explanation box. > 2. User cannot miss any question. > I have been trying past 2 weeks. No luck > I really appreciate your help. > Thanks.
) expected erro when trying to create a popup
Problem programmatically creating tabstrip webcontrol Disable ButtonColumn button control through code Which event? Capturing event from other custom control within another custom control dynamic control event not firing Binding to listbox / using data access object Viewstate DataList inside a datalist. Textbox interpreting html tags (like the label) |
|||||||||||||||||||||||