Ajax.net and javascript

  • Thread starter Thread starter rony_16
  • Start date Start date
R

rony_16

hi,
i have a question for you all.
i am using Ajax.net in my app.
in my app i am using formautorizetion.
when i have a one window and i open anouther one (by pressing a
button),
when the session or formautorizetion timeout is over i want to close
the new window and open a login page in the main page.
to do so, i want to fire a javascript "window.close()" from C# event
(OnLoad).
Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "dsdvv",
"<script>window.close()</script>");
but nothing happens.
i think that is because ajax.net controls because when i do not use
them this js works.

Regards, Rony
 
Back
Top