Hello ,
I wanted to open rad window when user clinked one of my menu item. Consider that menu item is "Product". Menu click event code is as follows:
And my JavaScript function is as follows :
function openWin() {
var oWnd = radopen("Product.aspx", "RadWindow1");
oWnd.moveTo(125, 60);
}
Now when I clicked on Produce menu I am getting following JavaScript error .
Error: b is undefined
Source File: http://localhost/Company/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1317.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a8fa155ef-f4b5-45a5-8081-4caa696cfcad%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3aa7e79140%3a874f8ea2%3a19620875%3af46195d3%3a490a9d4e%3abd8f85e4
Line: 8175
If any one knows how to solve this then please tell me.In short I want to open rad window from server side.
-Thanks
I wanted to open rad window when user clinked one of my menu item. Consider that menu item is "Product". Menu click event code is as follows:
protected void NavigationMenu_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
{
if (e.Item.Value == "Theme")
{
}
else if (e.Item.Text == "Product")
{
ScriptManager.RegisterStartupScript(this, GetType(), "openWin", "openWin();", true);
}
}
And my JavaScript function is as follows :
function openWin() {
var oWnd = radopen("Product.aspx", "RadWindow1");
oWnd.moveTo(125, 60);
}
Now when I clicked on Produce menu I am getting following JavaScript error .
Error: b is undefined
Source File: http://localhost/Company/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1317.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a8fa155ef-f4b5-45a5-8081-4caa696cfcad%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3aa7e79140%3a874f8ea2%3a19620875%3af46195d3%3a490a9d4e%3abd8f85e4
Line: 8175
If any one knows how to solve this then please tell me.In short I want to open rad window from server side.
-Thanks