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

Window relaunces

2 Answers 18 Views
Window
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 25 Oct 2010, 09:16 PM
Hi:
I am porting a 3.5 web app to 4.0.  This app started as a AjaxToolkit and Telerik was added later.  I got 4.0 dll added and the web site built, but my RadWindows when I close via the following:
Protected Sub CloseForm()
    ScriptManager.RegisterStartupScript(Page, Page.GetType(), "Close", "GetRadWindow().Close();", True)
End Sub
The window closes and relaunches.  What to do?
Phil

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 26 Oct 2010, 12:13 PM
Hi Phil,

How do you open the RadWindow? If you are opening it from the server (VisibleOnPageLoad=true), try setting EnableViewState=false for the RadWindowManager.

If this is not your case, please provide more details about your setup.

Greetings,
Georgi Tunev
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
0
Phil
Top achievements
Rank 2
answered on 26 Oct 2010, 04:18 PM
Hi:
Sorry about the typo in the title.
Yes I am launching via code behind.  The EnableViewState="false" in the 'Manager' worked!  I forgot that was added.
Thanks,
Phil
Tags
Window
Asked by
Phil
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Phil
Top achievements
Rank 2
Share this question
or