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

Problems adding to AjaxSettings under RadAjaxManagerProxy

3 Answers 64 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jan Pfeffer
Top achievements
Rank 1
Jan Pfeffer asked on 17 Dec 2012, 12:39 PM
Hey at Telerik

I have a problem with RadAjaxManagerProxy.

attached i have a project with the scenario with a page without masterpage reference and a RadAjaxManager.

http://kort2.lifa.dk/Examples/RadManagerProxyRadeditorIssue.rar

Included is also a page with masterpage reference and a RadAjaxManagerProxy.

I dynamically build a RadPanelBar from and xml source in both pages and hook a RadEditor to every editable element in the hierarchy.

In this way i can right click editable elements in the radpanelbar and edit, delete etc.

This works fine for the page without the masterpage reference but no click event is registered for the page with a masterpage reference.

In the default.aspx page try to leftclick the element 'Butikscenter i Birkelundsgade' and then the element 'Betemmelser'.
Then try to rightclick the text under the element '§ Hjemmel'. As you can see the contextmenu shows.

In the MasterTest.aspx
try to leftclick the the element 'Bestemmelser' on the left side of the splitterpanel. Then try to rightclick the text under the element
'§ Hjemmel' in the right side of the splitterpanel. No contextmenu is shown.

As far as i can see i hook the elements the same way. Only difference is that the one page has it's own RadAjaxManager and the one with the MasterPage uses a RadAjaxManagerProxy.

I hope you can help me with this since using a masterpage is essential for the project.

Sincerly

Jan


3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 20 Dec 2012, 02:07 PM
Hello Jan,

Find attached the modified version of the application in which I have added programmatic settings to the main RadAjaxManager in the MasterTest PageLoad event and also remove the RadAjaxManagerProxy control. In this case the page works properly on my end and the Context Menu appears as expected.

Test it on your end and let me know if it covers your requirements.

Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jan Pfeffer
Top achievements
Rank 1
answered on 21 Dec 2012, 09:18 AM
Hej Maria

You are right the page works, however the entire page postbacks now, what i need is the page to use ajax so the page doesn't perform an entire postback.

Sincerly

Jan
0
Maria Ilieva
Telerik team
answered on 21 Dec 2012, 03:28 PM
Hello Jan,

You are correct that the Ajax settings were not correctly applied in the modified application. Find attached the latest version of the project in which the settings are add for the whole RadSplitter control and now the Ajax request are correctly performed.
Test it on your end and let me know if it works for you.

Regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Jan Pfeffer
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Jan Pfeffer
Top achievements
Rank 1
Share this question
or