This is a migrated thread and some comments may be shown as answers.

RadTextBox Values Not Available on Server Side

1 Answer 126 Views
Input
This is a migrated thread and some comments may be shown as answers.
Kristin
Top achievements
Rank 1
Kristin asked on 23 Sep 2015, 06:59 PM

Inside the ItemsRequested Event of a RadComboBox we are using the value from a RadTextBox as part of the search criteria to load the RadComboxBox.  When the code runs the text entered in the RadTextBox cannot be seen in the ItemsRequested event.

 It looks like some JavaScript is need to record the value of the textbox when it is first entered on the client side so that it can be accessed on the server side.  I was wondering what is the best way to do that.  Should I put the value into a hidden field or some other variable?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 28 Sep 2015, 10:21 AM
Hi Kristin,

Could you please let me know how you enter a value to RadTextBox control? In case you set it manually the value should be access on the server without problems. Nevertheless, if you do that dynamically by using a client function then please make sure you get the client object and use set_value method. You can examine the following help article for more information.
If you still experience the same issue I would appreciate if you can provide your code declaration in order to investigate the cause for it further.

Regards,
Kostadin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Input
Asked by
Kristin
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or