HI there,
How to restrict the postback when we click upper arrow in the numeric textbox after reaching the maxvalue?? or Is it possible to disable the upper arrow after reaching maxvalue.??..I am aware of textbox doesn't allow the value that exceeding maxvalue.
Here is my code ,
On server side:
Thanks in advance..
How to restrict the postback when we click upper arrow in the numeric textbox after reaching the maxvalue?? or Is it possible to disable the upper arrow after reaching maxvalue.??..I am aware of textbox doesn't allow the value that exceeding maxvalue.
Here is my code ,
<
telerik:RadNumericTextBox
ID
=
"tbDays"
AutoPostBack
=
"true"
MaxValue
=
"50"
runat
=
"server"
ontextchanged
=
"tbDays_TextChanged"
>
<
NumberFormat
DecimalDigits
=
"0"
/>
</
telerik:RadNumericTextBox
>
protected void tbDays_TextChanged(object sender, EventArgs e)
{
int itemCount = int.Parse(tbDays.Text);
///Doing Some stuff..
}