This is a migrated thread and some comments may be shown as answers.

close the browser window

1 Answer 68 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 30 Mar 2010, 05:05 PM
Hello,

I am using rad controls in asp.net page. But could not close the browser window using following code snipet.

Response.Write("<script language='javascript'> { self.close() }</script>") 

Before adding update panet it was working fine. Shall i change the instruction ? Please suggest ASAP

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 Apr 2010, 08:46 AM
Hello Prayag,

The problem is not related to RadControls. Please refer to:

http://www.google.com/search?q=response.write+AJAX

http://stackoverflow.com/questions/666519/difference-between-registerstartupscript-and-registerclientscriptblock

Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Ajax
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or