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

UpdatePanelRenderMode overwritten by parent setting

1 Answer 85 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
robertw102
Top achievements
Rank 1
robertw102 asked on 12 Jan 2010, 05:54 PM
I have a RadAjaxManager on my master page with the setting UpdatePanelRenderMode="Inline". On my pages I add the RadAjaxManagerProxy control and set the AjaxUpdatedControl's setting UpdatePanelRenderMode="Block". So it looks something like this:

Master:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline" 
        DefaultLoadingPanelID="LoadingPanel1"
        <ClientEvents OnRequestStart="DisableControls" OnResponseEnd="EnableControls" /> 
    </telerik:RadAjaxManager> 

Page:
<telerik:RadAjaxManagerProxy ID="ajProxyManager" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="ddlListing"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="divBedroomSuite" UpdatePanelRenderMode="Block" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 

So the issue I'm having here is that the UpdatePanelRenderMode setting of my updated control is not taking precedence over the RadAjaxManager's global setting. It keeps rendering the control as inline instead of as a block.

Is this some sort of bug with the control or is it something I just can't do with the control?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 13 Jan 2010, 05:00 PM
Hello Robert,

Such a behavior is currently not supported, sorry for any inconvenience caused.

You can remove the global setting and define UpdatePanelRenderMode per updated control only.

Another option is to wrap the control, which you want to have a block update panel, in a new block element (div). This additional block element will force a new line, eventhough the updated control's update panel will behave like an inline element.

All the best,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
robertw102
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or