Problems adding to AjaxSettings under RadAjaxManagerProxy

4 posts, 0 answers
  1. Jan Pfeffer
    Jan Pfeffer avatar
    55 posts
    Member since:
    Aug 2006

    Posted 17 Dec 2012 Link to this post

    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


  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 20 Dec 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jan Pfeffer
    Jan Pfeffer avatar
    55 posts
    Member since:
    Aug 2006

    Posted 21 Dec 2012 Link to this post

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

    Posted 21 Dec 2012 Link to this post

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