how to set the window position based on button

2 posts, 0 answers
  1. SR
    SR avatar
    33 posts
    Member since:
    Dec 2013

    Posted 25 Apr 2016 Link to this post


    I have a radbutton when i click button open radwindow under the button i have done this using open element id of OpenerElementID set the properties as left=1100px and top=40px window opens exact position but when i zoom out and zoom in the browser percentage window position is not related to button .

    any suggestions find the attachment.






  2. Marin Bratanov
    Marin Bratanov avatar
    4533 posts

    Posted 25 Apr 2016 Link to this post


    The browser zoom is not an event handled internally by RadWIndow, mainly because there is no uniform and official such event.

    What I would suggest is to handle it yourself and use the RadWindow API to get the offset/opener element you have set and the desired location, them use the moveTo method. Here are some useful links


    Marin Bratanov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top