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

JavaScript Find Function Cannot find controls inside RadAjaxPanel

3 Answers 88 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
Des
Top achievements
Rank 2
Des asked on 14 Jun 2015, 06:51 PM

Hi

I have some javascript functions that I call in the events of controls (in the code behind) in a RadAjaxPanel and all works fine.  The Javascript functions use the find function to find the controls inside the radAjaxPanel.

I need to call the same js functions from outside the RadAjaxPanel (in other code behind c#) but the js find function fails to find the controls that are inside the RadAjaxPanel.  What have I missed or is it a feature?

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 15 Jun 2015, 08:15 AM
Hello Des,

Try wrapping the client code in RadScriptBlock control and see how it goes.

Regards,
Maria Ilieva
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
0
Des
Top achievements
Rank 2
answered on 15 Jun 2015, 02:44 PM
Hi Maria, thanks, I already have the JS code within a RadScriptBlock but I've found a way to get the data I need from the server side in this particular case.  Many thanks.
0
Maria Ilieva
Telerik team
answered on 18 Jun 2015, 09:32 AM
Hello Des,

I'm glad you were able to find solution non your end. Do not hesitate to contact us back in case further assistance is needed.

Regards,
Maria Ilieva
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
AjaxLoadingPanel
Asked by
Des
Top achievements
Rank 2
Answers by
Maria Ilieva
Telerik team
Des
Top achievements
Rank 2
Share this question
or