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

Position Of 'Radwindow' on a button.

1 Answer 144 Views
Window
This is a migrated thread and some comments may be shown as answers.
Stalin
Top achievements
Rank 1
Stalin asked on 30 Jul 2012, 12:10 PM
Hi,

The postion of a particular Radwindow must be on button. without hardcoding 'Left' & 'Top' values.Which event must be called to position the window effectively??

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 31 Jul 2012, 06:19 AM
Hi Stalin,

I suppose you want to set the offset of RadWindow relative to the Button without setting top and left properties. If you set the OffsetElementId property to the ID of an HTML element then the window offset is relative to that control.

ASPX:
<telerik:RadWindow ID="RadWindow1" runat="server" ....... OffsetElementID="Button1">
</telerik:RadWindow>
<asp:Button ID="Button1" runat="server" Text="Button1" />

Please take a look into this demo and documentation for more information.

Hope this helps.

Regards,
Princy.
Tags
Window
Asked by
Stalin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or