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,
The settings of these buttons in RadAjaxManagerProxy is,
- 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
>
<
ASP:BUTTON
id
=
"btVerifySmtp"
runat
=
"server"
Width
=
"100px"
Text
=
"Verify"
ENABLED="False" onclick="btVerifySmtp_Click" ValidationGroup="mail"
meta:resourcekey="btVerifySmtpResource1"></
ASP:BUTTON
>
<
ASP:BUTTON
id
=
"btSMTPCancel"
runat
=
"server"
Width
=
"100px"
Text
=
"Reset"
CAUSESVALIDATION="False" onclick="btCancel_Click"
meta:resourcekey="btSMTPCancelResource1">
</
ASP:BUTTON
>
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.