Hi
In the mainscreen I have a datagrid and from here I open new windows on
click of link button. And I'm doing it through RegisterStartup Script
Me.RegisterStar tupScript("PopU p", _
"<script language='JavaS cript'> " & _
"var winOp = window.open('My Screen.aspx', 'test');" + _
"if (winOp != null) winOp.focus();" + _
"</script>")
I want to keep track of the windows that are opened and add the window
handles to a javascript array whenever a new window is opened in the
codebehind. In the .aspx page I should be able to access this array.
var winArray = new Array;// populated in .aspx.vb
function test()
{
for(i=0;i<winAr ray.length;++i)
alert(winArray[i].name);
}
Is there a way to do this?Can this be done through
Page.RegisterAr rayDeclaration?
Thanks
rjn
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!