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

Window positioning

2 Answers 72 Views
Window
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 2
Scott asked on 02 Jun 2009, 10:43 PM
Is there a way to position the window based on the element  than opened it? Similar to tooltip's "relelativeto" property? 

My preference would be tooltip, but I can't accomplish it because of an issue currently being reviewed by support. 

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 03 Jun 2009, 10:12 AM
Hi Scott Rupp,

Set the OffsetElementId property to the ID of an HTML element in order to show the window relative to that control rather than to the top left corner of the web page.

aspx:
 
<telerik:RadWindow runat="server" Behavior="Default" InitialBehavior="None" Left="" 
    NavigateUrl="" OffsetElementID="TextBox1" OpenerElementID="Button3">  
</telerik:RadWindow> 
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
<br /> 
<br /> 
<input id="Button3" type="button" value="OpenerElementID" /> 

-Princy.
0
Scott
Top achievements
Rank 2
answered on 03 Jun 2009, 06:11 PM
Thanks, Princy.
Tags
Window
Asked by
Scott
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Scott
Top achievements
Rank 2
Share this question
or