hello, is there a way for me to create RadWindows dynamically on the client side?
Here is my situation: I have a page that has several links that when clicked needs to open a RadWindow. each link opens a different window. What I do now is create the windows on Page Load and then add the "onclick" javascript attribute to the link's. Therefore, even if the links are never clicked by the user the windows are still being created.
I want to use client-side because I don't want to trigger a postback by creating the windows in code-behind via a button. Now my javascript will take as parameter the URL of the window to open and other properties such as window dimensions. The clien-side script will then create the RadWindow and open it. The page has a window manager but I do not want to create the windows statically inside the window manager because I may not know ahead of time how many windows I need.
Also, the window manager is created in the master page that I use to style all my pop-up windows, that's why i cant define windows statically because that master page is used for many different pop-up windows. Finally I would like the window that is created on client-side to inherit the standard properties i have set on the Window manager in the master page.
Can this be done?
Here is my situation: I have a page that has several links that when clicked needs to open a RadWindow. each link opens a different window. What I do now is create the windows on Page Load and then add the "onclick" javascript attribute to the link's. Therefore, even if the links are never clicked by the user the windows are still being created.
I want to use client-side because I don't want to trigger a postback by creating the windows in code-behind via a button. Now my javascript will take as parameter the URL of the window to open and other properties such as window dimensions. The clien-side script will then create the RadWindow and open it. The page has a window manager but I do not want to create the windows statically inside the window manager because I may not know ahead of time how many windows I need.
Also, the window manager is created in the master page that I use to style all my pop-up windows, that's why i cant define windows statically because that master page is used for many different pop-up windows. Finally I would like the window that is created on client-side to inherit the standard properties i have set on the Window manager in the master page.
Can this be done?