I need a little help. I am having a problem opening a radwindow from a parent radwindow. I have a radwindow that is called from a radgrid.
The linkbutton calls
The linkbuton needs two click to call the function. If I change the function to oWnd.Show that it works on one click but I then can't get the parentwindow from the opened radwindow to open another window. This line totally freezes in the opened window and will not call the second window
and this is my originating forms radWindow code
Is this because I have my link button on a radGrid?
I've tried to totally follow your demos but none have it starting from a radgrid.
Thanks
Bill
<
CommandItemTemplate
>
<
table
width
=
"100%"
>
<
tr
class
=
"customFont"
>
<
td
align
=
"left"
>
<
asp:LinkButton
ID
=
"LinkButton2"
runat
=
"server"
OnClientClick
=
"openWin('/portals/0/NewSearch.aspx?AuthoringNames='); return false;"
>
<
img
style
=
"border:0px;vertical-align:middle;"
alt
=
""
src
=
"/portals/0/Images/add-icon.png"
/>New Search</
asp:LinkButton
>
<
asp:LinkButton
ID
=
"LinkButton1"
runat
=
"server"
OnClientClick
=
"openWin2('/portals/0/NewPublicationList.aspx'); return false;"
>
<
img
style
=
"border:0px;vertical-align:middle;"
alt
=
""
src
=
"/portals/0/Images/add-icon.png"
/>Import PMID List</
asp:LinkButton
>
<
td
align
=
"left"
>
</
td
>
<
td
align
=
"right"
>
<
asp:LinkButton
ID
=
"LinkButton4"
runat
=
"server"
OnClientClick
=
"refreshGrid(); return false;"
>
<
img
style
=
"border:0px;vertical-align:middle;"
alt
=
""
src
=
"/portals/0/Images/Refresh.png"
/> Refresh</
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
CommandItemTemplate
>
The linkbutton calls
function openWin2(url) {
var oWnd = $find("<%=RadWindow1.ClientID%>");
var authorNames = document.getElementById('<%=HiddenField1.ClientID%>').value;
oWnd.setUrl(url + "?AuthoringNames=" + authorNames);
var oWnd = radopen("/portals/0/NewSearch.aspx?AuthoringNames=" + authorNames, "RadWindow1");
}
var oWnd2 = parentRadWindowManager.open("/portals/0/QuerySaver.aspx", "RadWindow3");
and this is my originating forms radWindow code
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
ShowContentDuringLoad
=
"false"
VisibleStatusbar
=
"false"
Modal
=
"True"
runat
=
"server"
EnableShadow
=
"true"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
Modal
=
"true"
Width
=
"750"
Height
=
"600"
OnClientClose
=
"OnClientClose"
Behaviors
=
"Close,Move"
ReloadOnShow
=
"true"
NavigateUrl
=
"/portals/0/NewSearch.aspx"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"RadWindow2"
runat
=
"server"
Modal
=
"true"
Width
=
"750"
Height
=
"300"
OnClientClose
=
"OnClientClose"
Behaviors
=
"Close,Move"
ReloadOnShow
=
"true"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"RadWindow3"
runat
=
"server"
Width
=
"650"
Height
=
"480"
Modal
=
"true"
NavigateUrl
=
"/portals/0/QuerySaver.aspx"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
Is this because I have my link button on a radGrid?
I've tried to totally follow your demos but none have it starting from a radgrid.
Thanks
Bill