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

AjaxSettings in RadMultiPage hell

4 Answers 69 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Craig Wallace
Top achievements
Rank 1
Craig Wallace asked on 26 Aug 2010, 04:51 PM
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.

4 Answers, 1 is accepted

Sort by
0
Craig Wallace
Top achievements
Rank 1
answered on 26 Aug 2010, 05:29 PM
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.
0
Maria Ilieva
Telerik team
answered on 31 Aug 2010, 02:02 PM
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
0
Diwakaran Nagarajan
Top achievements
Rank 1
answered on 21 Sep 2010, 08:02 AM
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.
0
Maria Ilieva
Telerik team
answered on 23 Sep 2010, 01:57 PM
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
Tags
Ajax
Asked by
Craig Wallace
Top achievements
Rank 1
Answers by
Craig Wallace
Top achievements
Rank 1
Maria Ilieva
Telerik team
Diwakaran Nagarajan
Top achievements
Rank 1
Share this question
or