Determine RadWindow position after client-side moving

Thread is closed for posting
2 posts, 0 answers
  1. Johan_Stork
    Johan_Stork avatar
    168 posts
    Member since:
    Nov 2006

    Posted 22 Dec 2006 Link to this post


    r.a.d.controls version                

    .NET version


    Visual Studio version


    programming language


    browser support

    all browsers supported by r.a.d.controls

    The way to determine the LEFT and TOP position of a RadWindow.

    Step 1.    place a RadWindow on the webpage
    Step 2.    place a button on the webpage
    Step 3.    place two hidden form fields on the webpage
    Step 4.    place two labels on the webpage
    Step 5.    add a onclientclick event on the button
    Step 6.    add a piece of javascript that fires on the button click event and gets the left and top position of the radwindow and puts it into the hidden form fields.
    Step 7.    add a piece of button_click event code that puts the values of the hidden fields into the label controls.

    Good luck!
  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 22 Dec 2006 Link to this post

    Hello Johan,

    Thank you for your submission - your telerik points has been updated.

    Kind regards,
    the telerik team
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.