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 Link to this post

    Hi

    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.

    Thks.

    SR.

     

     

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 25 Apr Link to this post

    Hello,

    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


    Regards,

    Marin Bratanov
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top