JavaScript Find Function Cannot find controls inside RadAjaxPanel

4 posts, 0 answers
  1. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 14 Jun 2015 Link to this post

    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?

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Jun 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Des
    Des avatar
    12 posts
    Member since:
    Jan 2009

    Posted 15 Jun 2015 in reply to Maria Ilieva Link to this post

    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.
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 18 Jun 2015 Link to this post

    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
Back to Top