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

RadInputManager Grid and javascript

1 Answer 57 Views
Input
This is a migrated thread and some comments may be shown as answers.
Greg Duffield
Top achievements
Rank 1
Greg Duffield asked on 14 Feb 2009, 11:53 AM
I have got a radInputManager and have bound up some of my textboxes in a grid and these work as expected.

However, I cannot find a way to access the controls client side in javascript, I can get the input elements but then even if I then use $find(inputelement.id) this evaluates to null.

Can you please tell me how I can access my controls in javascript from outside the grid.

Many Thanks

Greg

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Feb 2009, 05:23 PM
Hi Greg,

$find() is used to obtain a reference to an ASP.NET AJAX client control instance. However, the textboxes which are operated by RadInputManager, do not have such instances - only the InputManager itself has one.

Since you say you have the textboxes' IDs, you can use the RadInputManager get_targetInput() client-side method:

http://www.telerik.com/help/aspnet-ajax/getting-and-setting-values.html

Greetings,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Input
Asked by
Greg Duffield
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or