W
Wannabe
I have a page that has the following Javascript on it:
Page.ClientScript.RegisterStartupScript(typeof(string), "OpenWindow",
"<script langauge='javascript'>OpenNewWindow('MyPage.aspx', '" + queryString
+ "', 'anotherName');</script>");
I was asked to add Ajax to the grid so it would load faster. Trouble is when
I did that, it broke the above line of code. When a user selects an item in
the grid, it should open a new window with the information from the row they
clicked. I verified that the code is being hit, but the javascript does not
run. Can anyone tell me how I can get the javascript to run with it being in
an Ajax update panel?
Page.ClientScript.RegisterStartupScript(typeof(string), "OpenWindow",
"<script langauge='javascript'>OpenNewWindow('MyPage.aspx', '" + queryString
+ "', 'anotherName');</script>");
I was asked to add Ajax to the grid so it would load faster. Trouble is when
I did that, it broke the above line of code. When a user selects an item in
the grid, it should open a new window with the information from the row they
clicked. I verified that the code is being hit, but the javascript does not
run. Can anyone tell me how I can get the javascript to run with it being in
an Ajax update panel?