Hi
Following are the lines from my HTML page. I want to control the position of popup window duing add/edit.
It should be center align to the screen/browser window. How do set it ?
2 Answers, 1 is accepted
0
Accepted
Veli
Telerik team
answered on 03 Oct 2011, 03:03 PM
Hello Thanh,
You can use the client-side OnTreeListCreated event that will fire when the RadTreeList client component is loaded on the page. Inside the event handler, you can find the first popup edit form (with a CSS class of "rtlEditForm"). Finally, jQuery or another approach can help you calculate the position of the element relative to the viewport. Here is a text page:
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now