Layout changes with the introduction a RadAjaxManager

3 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 17 Aug 2010 Link to this post

    I wonder if someone could explain why the layout of a page with a couple of RadListBoxes on it changes if I ajaxify 'em.
    SS1.jpg shows the page without a RadAjaxManager and SS2.jpg with one.

    The only difference in the code is this ...
    <telerik:RadAjaxManager ID="RadAjaxManager1"
                            runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadListBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadListBox1"/>
                    <telerik:AjaxUpdatedControl ControlID="RadListBox2"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    Enquiring minds, and all that ...

    -- 
    Stuart
  2. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Aug 2010 Link to this post

    Hello Stuart,

    RadAjaxManager wraps the ajaxfied controls in a div which is a "block" element - that's why the second listbox goes on a new line. You can fix it by setting UpdatePanelsRenderMode property of the ajax manager to "Inline".

    Greetings,
    Yana
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 18 Aug 2010 Link to this post

    Yana,

    Yes, sorry, I meant to post again last night. I have discovered that. I'm a little surprised at it only seeming to affect this one page. I have a app with a couple of dozen ajaxified pages on that I'm currently updating; the old version was built using Q1 2009 and with the Q2 2010 controls none of those pages seem to have been affected, at least not that I've seen.

    -- 
    Stuart
Back to Top