I'm using two RadButtons skinned with Windows7 skin in a .Net 3.5 ASP.Net web application. Here's the relevant markup:
This code is being displayed in an Ajax Toolkit Modal Popup. But this happens elsewhere in my code as well. I think I've isolated it to some jQuery behavior but I'm not sure how to prevent it. If I use a normal ASP.Net button, I don't get this behavior.
When I tab out of the textbox above the buttons, the buttons shift to the left. When I mouse over them, they reposition back to where they are supposed to be.
Here's a screencast to show what I'm talking about:
http://screencast.com/t/sM21Z1WPZZ
Has anyone experieced this problem? If so, what should I do to fix it?
Thanks.
<
asp:Panel
ID
=
"pnlCancelRequestConfirmation"
runat
=
"server"
style
=
"display: none;"
CssClass
=
"CancelRequestModalPopUp"
>
<
div
style
=
"background-color: White; border: 2 solid black; padding: 10px;"
>
Enter the reason for removing this SRF:<
br
/>
<
asp:TextBox
ID
=
"txtCancelReason"
runat
=
"server"
Width
=
"200px"
></
asp:TextBox
>
<
br
/>
<
asp:RequiredFieldValidator
ID
=
"rfvCancelReason"
runat
=
"server"
ValidationGroup
=
"CancelRequestConfirmationGroup"
ControlToValidate
=
"txtCancelReason"
ErrorMessage
=
"Reason is required"
CssClass
=
"SrfRedText"
Display
=
"Dynamic"
/>
<
br
/>
<
br
/>
<
div
style
=
"text-align: right;"
>
<
telerik:RadButton
ID
=
"btnCancelSrfCancelRequest"
runat
=
"server"
Text
=
"Remove SRF"
OnClick
=
"btnCancelSrfCancelRequest_Click"
CausesValidation
=
"true"
ValidationGroup
=
"CancelRequestConfirmationGroup"
></
telerik:RadButton
>
<
telerik:RadButton
ID
=
"btnCloseSrfCancelRequest"
runat
=
"server"
Text
=
"Cancel"
CausesValidation
=
"false"
></
telerik:RadButton
>
</
div
>
<
br
/>
<
div
style
=
"text-align: right;"
>
<
asp:Button
ID
=
"btnTest"
runat
=
"server"
Text
=
"ASP.Net Button"
/>
</
div
>
</
div
>
</
asp:Panel
>
This code is being displayed in an Ajax Toolkit Modal Popup. But this happens elsewhere in my code as well. I think I've isolated it to some jQuery behavior but I'm not sure how to prevent it. If I use a normal ASP.Net button, I don't get this behavior.
When I tab out of the textbox above the buttons, the buttons shift to the left. When I mouse over them, they reposition back to where they are supposed to be.
Here's a screencast to show what I'm talking about:
http://screencast.com/t/sM21Z1WPZZ
Has anyone experieced this problem? If so, what should I do to fix it?
Thanks.