Issue with RadAjaxManagerProxy, FormDecorator, asp:Button

2 posts, 1 answers
  1. Yash
    Yash avatar
    27 posts
    Member since:
    Sep 2010

    Posted 22 Oct 2010 Link to this post

    The issue looked very bizzarre to me.
    - I am using a RadAjaxManagerProxy on my user control. (I do have a RadAjaxManager on my MasterPage)
    - I am using a Form Decorator (on Masterpage) which decorates "All" elements it can.
    I have 3 buttons in the user control, mark up related to them is,
    <ASP:BUTTON id="btSmptApply" runat="server" Width="100px"  Text="Apply"
    Enabled="False" onclick="btSmptApply_Click" ValidationGroup="mail"
    meta:resourcekey="btSmptApplyResource1"></ASP:BUTTON> &nbsp;
    <ASP:BUTTON id="btVerifySmtp" runat="server" Width="100px"  Text="Verify"
    ENABLED="False" onclick="btVerifySmtp_Click"  ValidationGroup="mail"

    ASP:BUTTON id="btSMTPCancel" runat="server" Width="100px"  Text="Reset"
     CAUSESVALIDATION="False" onclick="btCancel_Click"

    The settings of these buttons in RadAjaxManagerProxy is,
    <telerik:AjaxUpdatedControl ControlID="btSmptApply"></telerik:AjaxUpdatedControl>
    telerik:AjaxUpdatedControl ControlID="btVerifySmtp"></telerik:AjaxUpdatedControl>
    telerik:AjaxUpdatedControl ControlID="btSMTPCancel"></telerik:AjaxUpdatedControl>

    When these lines are enabled, the buttons align Vertically automatically, the following html is inserted automatically for each button:
    <div style="display: block;" id="ctl00_ctl00_ContentPlaceHolder1_ConfigureMailServer1_btVerifySmtpPanel">

    When I comment out the above lines of RadAjaxManagerProxy, the buttons align horizontally(as I want them to be).
    My Questions:
    1. Why is this happening?
    2. What does RadAjaxManager to do with Alignment?
    3. I worked with conventional Ajax (xmlHttpRequest object) etc alot. What role does RadAjaxManager play? why is it needed in a webpage?

    Please let me know as soon as possible. Thanks in advance.

  2. Answer
    Pavel avatar
    904 posts

    Posted 26 Oct 2010 Link to this post

    Hi Yash,

    You can set the UpdatePanelsRenderMode property of RadAjaxManager to "Inline" to make it render the update panels that way. You can also check the following article about this control:

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