AjaxSettings in RadMultiPage hell

5 posts, 0 answers
  1. Craig Wallace
    Craig Wallace avatar
    118 posts
    Member since:
    Jan 2005

    Posted 26 Aug 2010 Link to this post

    Hi,
    I have the following control-structure:

    <master>
        <radscriptmanager />
        <radajaxmanager />
        <page>
            <radajaxmanagerproxy />
            <tabs_usercontrol>
                <radajaxmanagerproxy />
                <radtabstrip />
                <radmultipage>
                    <page_usercontrol1>                    
                        <button />
                    </page_usercontrol1>
                    <page_usercontrol2>                    
                        <button />
                    </page_usercontrol2>
                    <page_usercontrol3>
                        <radajaxmanagerproxy>
                            <ajaxsettings />
                        </radajaxmanagerproxy>
                        <radtextbox />
                        <button />
                    </page_usercontrol3>
                    <page_usercontrol4>                    
                        <button />
                    </page_usercontrol4>
                </radmultipage>
            </tabs_usercontrol>
        </page>
    </master>

    Everything works as expected, with ajax postbacks and updates in page_usercontrol3 being correctly handled.

    Niow, I want to add a radajaxmanagerproxy and ajaxsettings to the other page_usercontrols.  But, when I add the proxy and settings to any of the other controls to handle the button click, I get a client-side ajax error that says:

    Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ctl00_ContentPlaceHolder1_tabs1_MyContent_txtMyInputPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.

    This error seems to be pointing to a field on the page_usercontrol3 control, which works perfectly well on it's own, but something goes wrong when handing postbacks on the other multipage contents.

    Can you please give me a steer as to what is going on here?

    I am not using the loadondemand style multipages.  If I do, I get the same problem but worse, as it happens no matter which tab I go to.

    Thanks.
  2. Craig Wallace
    Craig Wallace avatar
    118 posts
    Member since:
    Jan 2005

    Posted 26 Aug 2010 Link to this post

    Okay, I added AjaxSettings to the page for the tabs_usercontrol just saying that it updates itself, and now the error is gone.

    But only ajax postbacks now work  All non-ajax postbacks do nothing! :(

    Any ideas?

    Thanks.
  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 31 Aug 2010 Link to this post

    Hello Craig,

    Will it be convenient for you to open a regular support ticket and send us small runnable application which demonstrates your scenario and the issue you are facing? Thus we will be able to test it locally and advise you further.
    Thank you in advance for your cooperation


    Sincerely yours,
    Maria Ilieva
    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
  4. Diwakaran Nagarajan
    Diwakaran Nagarajan avatar
    1 posts
    Member since:
    Oct 2009

    Posted 21 Sep 2010 Link to this post

    Hi,
    I am facing the same issue. I am sending few parameters via query string and the when the page loads i am getting this error. Any solution for this ?

    thanks,
    Diwakaran.
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 23 Sep 2010 Link to this post

    Hi,

    As the provided information is not enough to isolate the root cause of the issue you are facing, please prepare a simple, fully runnable reproduction demo, open a new support ticket and send it to us along with very detailed reproduction steps and explanations and we will debug it locally and we will do our best to help.


    Kind regards,
    Maria Ilieva
    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