Hello,
I want to open a radwindow through radmenu. But its not working.
javascript function is as follows:
Also the errormessage is attached in the image. Can you please let me know why this error is comming in ?
I want to open a radwindow through radmenu. But its not working.
<
telerik:RadAjaxManager
runat
=
"server"
>
</
telerik:RadAjaxManager
>
<
telerik:RadWindowManager
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindowEmailClient"
runat
=
"server"
ShowContentDuringLoad
=
"false"
Behaviors
=
"Close"
AutoSize
=
"true"
VisibleStatusbar
=
"false"
Title
=
"Create New Customer Party"
Animation
=
"Slide"
Skin
=
"Vista"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
<
telerik:RadMenu
ID
=
"RadMenuIndex"
runat
=
"server"
Style
=
"padding-top: 20px; padding-bottom: 30px;"
EnableRoundedCorners
=
"true"
EnableShadows
=
"true"
Skin
=
"Web20"
OnClientItemClicked
=
"openRadWin"
>
</
telerik:RadMenu
>
javascript function is as follows:
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function openRadWin(sender, eventArgs) {
//var selectedImportType = eventArgs.item.value();
window.radopen("Search.aspx", 'RadWindowEmailClient');
return false;
}
//]]>
</
script
>
Also the errormessage is attached in the image. Can you please let me know why this error is comming in ?