UpdatePanelRenderMode overwritten by parent setting

2 posts, 1 answers
  1. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 12 Jan 2010 Link to this post

    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:

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

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

    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?

  2. Answer
    Dimo avatar
    8446 posts

    Posted 13 Jan 2010 Link to this post

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