Good afternoon,
I am trying to set a textbox as required using the RadInputManager. My problem is that I need to be able to do this dynamically in the code-behind (C#). Here is my scenario: The web form has 4 textboxes. Depending on the user type, one or more of the textboxes are required and the rest are not required. Listed below is my RadInputManager code. Any assistance would be greatly appreciated.
I am trying to set a textbox as required using the RadInputManager. My problem is that I need to be able to do this dynamically in the code-behind (C#). Here is my scenario: The web form has 4 textboxes. Depending on the user type, one or more of the textboxes are required and the rest are not required. Listed below is my RadInputManager code. Any assistance would be greatly appreciated.
<
telerik:RadInputManager ID="rimManager" runat="server" EnableEmbeddedSkins="False">
<telerik:NumericTextBoxSetting BehaviorID="Numeric" Type="Number" ErrorMessage="Invalid" DecimalDigits="0" MinValue="0">
<TargetControls>
<telerik:TargetInput ControlID="tbOne" />
<telerik:TargetInput ControlID="tbTwo" />
<telerik:TargetInput ControlID="tbThree" />
<telerik:TargetInput ControlID="tbFour" />
</TargetControls>
</telerik:NumericTextBoxSetting>
</
telerik:RadInputManager>