J
John
Hi,
I used the following code to refresh the parent page, and it works very well
(Thanks to Peter Bromberg [C# MVP]").
Response.Write("<script language='javascript' type='text/javascript'> {
window.opener.location = 'Default.aspx?Reload=100'; }</script>");
Response.Write("<script language='javascript' type='text/javascript'> {
self.close(); }</script>");
Now I changed those two lines (Reload=100#CDRW') to the following to refresh
the page and move to a specific section of the page.
Response.Write("<script language='javascript' type='text/javascript'> {
window.opener.location = 'Default.aspx?Reload=100#CDRW'; }</script>");
Response.Write("<script language='javascript' type='text/javascript'> {
self.close(); }</script>");
It works only in the first time.
Please help. Thanks.
I used the following code to refresh the parent page, and it works very well
(Thanks to Peter Bromberg [C# MVP]").
Response.Write("<script language='javascript' type='text/javascript'> {
window.opener.location = 'Default.aspx?Reload=100'; }</script>");
Response.Write("<script language='javascript' type='text/javascript'> {
self.close(); }</script>");
Now I changed those two lines (Reload=100#CDRW') to the following to refresh
the page and move to a specific section of the page.
Response.Write("<script language='javascript' type='text/javascript'> {
window.opener.location = 'Default.aspx?Reload=100#CDRW'; }</script>");
Response.Write("<script language='javascript' type='text/javascript'> {
self.close(); }</script>");
It works only in the first time.
Please help. Thanks.