Hi there,
I'm facing the following problem:
First I had a web page that consisted of a RadTabStrip. When you clicked on any of its tabs, a RadGrid would be shown (related to its tab). There was one Radgrid in particular that when you double clicked on a row a RadWindow would show and render a PDF as its contents. As anyone might imagine for this I had to set the RadGrid's OnRowDblClick ClientSetting-ClientEvents to a javascript function.
<ClientSettings...
<ClientEvents OnRowDblClick="RowDblClickAC" />
and the function:
function RowDblClickAC(sender, eventArgs) {
var oWnd = window.radopen("../Catalogos/CatContent.aspx?" +
"NoCredito=" + eventArgs.getDataKeyValue("ID") +
"&FechaRegistro=" + eventArgs.getDataKeyValue("DateTrans"),
"uld");
oWnd.setSize(800, 500);
oWnd.center();
oWnd.set_modal(true);
oWnd.set_title = "PDF Content";
}
and I also had the RadWindowManager code:
<telerik:RadWindowManager ID="rwm" runat="server" Skin="Outlook">
<Windows>
<telerik:RadWindow ID="uld" runat="server"
AutoSize="true" VisibleTitlebar="true"
VisibleStatusbar="false"
ReloadOnShow="true" Modal="true" ShowContentDuringLoad="false"
Skin="Outlook" />
</Windows>
</telerik:RadWindowManager>
As anyone can see this code, everything worked OK as soon as the controls were declared declaratively. For performance reasons, I had to re-create the webpage by now loading dynamically each RadGrid. Now when I want to double click on a row, the RadWindow pops up but it stays there "forever" (with a circular loading panel) but without presenting the PDF. As I just mentioned, before everything worked OK.
Please, can someone shed some light on this?
Felix
I'm facing the following problem:
First I had a web page that consisted of a RadTabStrip. When you clicked on any of its tabs, a RadGrid would be shown (related to its tab). There was one Radgrid in particular that when you double clicked on a row a RadWindow would show and render a PDF as its contents. As anyone might imagine for this I had to set the RadGrid's OnRowDblClick ClientSetting-ClientEvents to a javascript function.
<ClientSettings...
<ClientEvents OnRowDblClick="RowDblClickAC" />
and the function:
function RowDblClickAC(sender, eventArgs) {
var oWnd = window.radopen("../Catalogos/CatContent.aspx?" +
"NoCredito=" + eventArgs.getDataKeyValue("ID") +
"&FechaRegistro=" + eventArgs.getDataKeyValue("DateTrans"),
"uld");
oWnd.setSize(800, 500);
oWnd.center();
oWnd.set_modal(true);
oWnd.set_title = "PDF Content";
}
and I also had the RadWindowManager code:
<telerik:RadWindowManager ID="rwm" runat="server" Skin="Outlook">
<Windows>
<telerik:RadWindow ID="uld" runat="server"
AutoSize="true" VisibleTitlebar="true"
VisibleStatusbar="false"
ReloadOnShow="true" Modal="true" ShowContentDuringLoad="false"
Skin="Outlook" />
</Windows>
</telerik:RadWindowManager>
As anyone can see this code, everything worked OK as soon as the controls were declared declaratively. For performance reasons, I had to re-create the webpage by now loading dynamically each RadGrid. Now when I want to double click on a row, the RadWindow pops up but it stays there "forever" (with a circular loading panel) but without presenting the PDF. As I just mentioned, before everything worked OK.
Please, can someone shed some light on this?
Felix