Hi,
I am using Rad numeric text box in my page. Am trying to set the value of numeric text box on seleting a drop down list. But its not displaying the data. And i tried to set the value in prerender of text box also.. that is also not working . How to set the value of rad numeric text box in code behind. If i assign directly to value property its working.. If am assigning from viewstate its not working.
Here is the code i tried:
protected void dropDownListResource_SelectedIndexChanged(object sender, EventArgs e)
{
double DailyRateToUse = val; //val - viewstate variable
radNumericTextboxRate.Value = Convert.ToDouble(DailyRateToUse);
}
protected void radNumericTextboxRate_PreRender(object sender, EventArgs e)
{
double DailyRateToUse = val;
//val - viewstate variabledouble radNumericTextboxRate.Value = Convert.ToDouble(DailyRateToUse);
}
Thanks
Esther