Dialog position

1 Answer 44 Views
Dialog Window
Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
Ilan asked on 28 Nov 2023, 12:42 PM

Is there a way to open a dialog/window next to the button that opened it?

 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Nov 2023, 11:11 AM | edited on 29 Nov 2023, 11:13 AM

Hi Ilan,

Use a modal Window instead of a Dialog. Set the Window position parameters to values from the MouseEventArgs of the Button's OnClick handler.

Note that MouseEventArgs provides numeric position values, while the Window expects string values with "px".

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
Dialog Window
Asked by
Ilan
Top achievements
Rank 1
Bronze
Iron
Veteran
Answers by
Dimo
Telerik team
Share this question
or