CustomValidator in C#

PHaRGoTH

Newcomer
Joined
Apr 29, 2004
Messages
7
Hi all.

Im having a problem buildig a costumvalidator on web page with code behind in C#.

the situation is:

when you mark an option with a radio button you must indicate values in two Dropdownlist's.the html code of that block is:

<asp:RadioButton id="rbProcesso" runat="server" GroupName="rbgDocumentoouProcesso" Text="ao processo" Checked="True"></asp:RadioButton></TD>
<TD> <asp:Label id="lblClassificacao" runat="server"> Classificação </asp:Label></TD>
<TD> <asp:DropDownList id="cbClasseProcesso" runat="server" Enabled="False"></asp:DropDownList></TD> <TD> <asp:DropDownList id="CBSubClasseProcesso" runat="server" Enabled="False"></asp:DropDownList></TD>


Now, when then rbProcesso is cheked, both cbClasseProcesso and must be validated... how can i do that??
 
Back
Top