views:

22

answers:

0

I am developing a dynamic gauge gadget for windows 7. I have an ASP.NET gauge user control. I am currently forwarding the gadgets default.html page to an ASP.NET page using the <meta> tag. Using this tag prevents the ASP.NET page from opening in a new window. I have tried using javascript's "location" to perform the redirect, however it will cause the ASP.NET page to open in a new window in IE.

I need to pass variables from the gadgets settings page to the ASP.NET page. I am trying to pass in some variables in the URL during the redirection using javascript, by dynamically creating a URL path. I have been unsuccessful in getting javascript to dynamically create a URL for use in the <meta> tag.

My question is, "Does anyone know if there is a way to use javascript for redirection in a windows 7 gadget that will prevent the new location from opening in another window?"

Edit: Also not that clicking a button on the ASP.NET page that causes a post back will then provoke the ASP.NET page to open in a browser.