I'm trying to use a RadTextBox.
I've got code like this in the Page_Load event handler:
This correctly sets the value of the text box control. However, if I type something else into it on my web page, when I read the value of the text box by looking at the Text property in an event handler from an OnClick event on an ImageButton I get the original value that was set, not the value I have typed into the text box.
If I replace it with a standard ASP.NET text box, it works as expected, and I can read the value I have typed. This also only seems to happen on one of my pages. I've got another similar page that uses a RadTextBox and works.
Is there anything that might cause this issue?
Kind Regards, Richard
I've got code like this in the Page_Load event handler:
if (!IsPostBack)
{
RadTextBox1.Text = "1";
}
This correctly sets the value of the text box control. However, if I type something else into it on my web page, when I read the value of the text box by looking at the Text property in an event handler from an OnClick event on an ImageButton I get the original value that was set, not the value I have typed into the text box.
If I replace it with a standard ASP.NET text box, it works as expected, and I can read the value I have typed. This also only seems to happen on one of my pages. I've got another similar page that uses a RadTextBox and works.
Is there anything that might cause this issue?
Kind Regards, Richard