Window relaunces

3 posts, 1 answers
  1. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 25 Oct 2010 Link to this post

    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. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 26 Oct 2010 Link to this post

    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
  3. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 26 Oct 2010 Link to this post

    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
Back to Top