Author: xr280xr | Posted on: 7/16/2008 12:30:53 PM | Views : 440

Hi,

I've got a menu that calls a simple javascript function to open the clicked link in a popup menu. I'm trying to pass a link containing a query string to that function. The query string has a value that contains an ampersand (%26) and spaces (%20) but for some reason it's getting decoded before it makes it to the address bar. Example

<asp:MenuItem Text="someText" NavigateUrl="javascript:OpenWindow('MoviePlayer.aspx?title=Something%26Something%20Else);"></aspGo to the complete details ...