Unable to access RadAjaxManager in Client side

2 posts, 0 answers
  1. Hari Prasad
    Hari  Prasad avatar
    16 posts
    Member since:
    Feb 2010

    Posted 19 Feb 2010 Link to this post

    Hi,

    I am having WebForm.aspx which contains Master page(In master page Ajax Mangaer and Script Manager are there). In this web page I am having EditCandidate.ascx and in that I have RadTabStrip with 4 tabs. General, Preferences, Resume and Notes which are loading dynamically with Place holders inside the Multi page. So I have 4 user controls General.ascx, Preferences.ascx, Resume.ascx, Notes.ascx. Again I have in Notes.ascx another user control Grid.ascx. In this Grid.ascx I am not able to access the Rad Ajax Manager in client side. Following code I have written to acheive this

    $find(

    "<%=RadAjaxManager.GetCurrent( this.Page ).ClientID %>").ajaxRequest(requestArg);

    But in other 3 user controls I don't have any user controls again like Notes.ascx. There I am able to access Rad Ajax Manager with this code. Even in Grid.ascx.cs I am able to access this with the following code.

     

    RadAjaxManager

     

    ajaxManager = RadAjaxManager.GetCurrent(Page);
    But if I write the same client side script in Notes.ascx, it works fine for me.
    I am not understanding what is the problem behind this.

    Please help me on acheiving this as this one is little bit urgent for me.

    Thanks in advance.

    Hari.

     

  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 19 Feb 2010 Link to this post

    Hello Hari,

    Could you please specify if the javascript in the Grid.ascx controls is being executed and are you receiving a javascript error that the manager is null?

    Sincerely yours,
    Iana
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top