Window positioning

3 posts, 1 answers
  1. Scott
    Scott avatar
    45 posts
    Member since:
    Apr 2008

    Posted 02 Jun 2009 Link to this post

    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. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 Jun 2009 Link to this post

    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.
  3. Scott
    Scott avatar
    45 posts
    Member since:
    Apr 2008

    Posted 03 Jun 2009 Link to this post

    Thanks, Princy.
Back to Top