I have a RadGrid with a ContextMenu appearing when you right click. When you click on an item in the context menu, I want to open a new window using Javascript. I get into the ItemClick sub on the menu, but my Javascript is not firing. I'm certain that I have something wrong in the RegisterStartupScript line. I even think it's my first parameter. What should go there? The grid is ajaxed, so there's no postback, I tried the name of the menu as well. Help?
Dim
strScript As String = ""
strScript =
"<script type='text/javascript'>window.open('http://www.google.com'); </script>"
ScriptManager.RegisterStartupScript(GridFees,
Me.GetType(), "myKey", strScript, True)