Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
this validation not work so how can i validate if the tree view is selected ??

XML
<td>
                   <setsRC:SRadComboBox ID="rcbOrganizationUnitWithTemplate" runat="server" TabIndex="3"
                       OnClientDropDownOpened="OnClientDropDownOpenedHandler" Height="450" Width="350"
                       ClientIDMode="Static" InitialValue="<%$ Resources:PayrollResources, SelectValue %>">
                       <ItemTemplate>
                           <div id="divTreeInCombo">
                               <setsRC:SRadTreeView ID="STreeViewInCombo" runat="server" Width="100%" Height="450px"
                                   OnClientNodeClicked="nodeClicking" ClientIDMode="Static">
                                   <DataBindings>
                                       <telerik:RadTreeNodeBinding Expanded="True" />
                                   </DataBindings>
                               </setsRC:SRadTreeView>
                           </div>
                       </ItemTemplate>
                       <Items>
                           <setsRC:SRadComboBoxItem Text="" />
                       </Items>
                   </setsRC:SRadComboBox>
               </td>
               <setsTB:SValidRequiredFieldValidator ID="rfvOrganizationUnit" runat="server" ControlToValidate="rcbOrganizationUnitWithTemplate"
                   CssClass="MessageLabel" Display="Dynamic" ErrorMessage="<%$ Resources: , rfvOrganizationUnit.ErrorMessage %>"
                   Text="<%$ Resources:PayrollResources, WarningIcon %>" InitialValue="<%$ Resources:PayrollResources, SelectValue %>"
                   ValidationGroup="vgAccountingDesign" />
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900