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

Layout changes with the introduction a RadAjaxManager

2 Answers 77 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 17 Aug 2010, 05:40 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 18 Aug 2010, 02:04 PM
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
0
Stuart Hemming
Top achievements
Rank 2
answered on 18 Aug 2010, 02:19 PM
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
Tags
ListBox
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Yana
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or