I have a UserControl with a RadWindowManager Control and a Repeater (both are inside an asp:UpdatePanel). Embedded inside the Repeater is a DataGrid that has a column of LinkButtons. When clicked, the LinkButtons call a javascript function to open up RadWindow and display some additional data.
The LinkButtons are correctly executing the JavaScript. The problem is that the RadWiindow that displays is not getting its default properties from the RadWindowManager. I also cannot apply them within the js function.
My RadWindowManager is defined like:
My javascript function is as follows:
The Window that results does not have the skin or "behavior" items I set, nor does it open to the size specified (even with AutoSize turned off).
I've also tried setting the window's properties via the javaScript function, but they don't seem to work there either.
Ex:
How do I get the formatting of the WindowManager to apply to child Windows?
The LinkButtons are correctly executing the JavaScript. The problem is that the RadWiindow that displays is not getting its default properties from the RadWindowManager. I also cannot apply them within the js function.
My RadWindowManager is defined like:
<telerik:RadWindowManager ID="radWinManager" DestroyOnClose="false" Modal="false" Width="600px" Height="600px" AutoSize="true" runat="server" Behaviors="Close,Move" Skin="Sunset"> |
<Windows> |
</Windows> |
</telerik:RadWindowManager> |
My javascript function is as follows:
function ViewBillingHistory(userid, taskid) |
{ |
var url = 'someurl.aspx'; |
var oManager = GetRadWindowManager(); |
if(oManager != null) |
{ |
var win = radopen(url, “radWinBilling”); |
} |
} |
The Window that results does not have the skin or "behavior" items I set, nor does it open to the size specified (even with AutoSize turned off).
I've also tried setting the window's properties via the javaScript function, but they don't seem to work there either.
Ex:
function ViewBillingHistory(userid, taskid) |
{ |
var url = 'someurl.aspx'; |
var oManager = GetRadWindowManager(); |
if(oManager != null) |
{ |
var win = radopen(url, null); |
win.setSize(600, 600); |
} |
} |
How do I get the formatting of the WindowManager to apply to child Windows?