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

RadNumericTextBox database

2 Answers 80 Views
Input
This is a migrated thread and some comments may be shown as answers.
Larry Stewart
Top achievements
Rank 1
Larry Stewart asked on 27 Apr 2010, 06:54 PM
Hi

I'm not sure this is possible but here's what I'm trying to do:

I would like to have the user enter 8 digits.  On the OnKeyUp event the value is sent to the db and brings back values for three other RadTextboxes.  I have done this with the ComboBox...just not sure where to start with the RadNumbericTextBox.  Also, I am using  an update panel but not a grid.

Thanks
Larry

It seems like the RadInput_TextChanged event will work for me.  Let me know if you think there's a better way.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Apr 2010, 01:54 PM
Hi Larry,

Another option to accomplish the functionality is attaching 'OnKeyPress' client event to RadNumericTextBox and invoke an ajaxRequest() to update the other textboxes. Pass the NumericTextBox values to AjaxManager_AjaxRequest method as parameter, query the db to get the results and then set the other textboxes values.

Also set the AjaxManager AjaxSettings accordingly.

Regards,
Princy.
0
Larry Stewart
Top achievements
Rank 1
answered on 28 Apr 2010, 08:11 PM
Thanks for the quick reply Princy :)

I did get it working with an OnTextChanged event.  I like your example but I'm not sure if I could implement it with my current set up.  I have a default.aspx page that uses a RadTabStrip and a RadMulitPage.  Each time something is chosen from the Tab it will load an ascx page with a different web form. If nothing else I am keeping your solution in my code library.

Thanks
Larry
Tags
Input
Asked by
Larry Stewart
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Larry Stewart
Top achievements
Rank 1
Share this question
or