Ajax.net and javascript

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top