RadSpell's Radwindow causing "freed script error"

2 posts, 0 answers
  1. Peter
    Peter avatar
    1 posts
    Member since:
    Feb 2013

    Posted 28 Feb 2013 Link to this post

    Hey All,

    Yesterday I came across an issue with Radspell which I hope someone might be able to help me with. I am using the RadSpell but whenever I open and then close the checker multiply time the I get an error about a freed script. I pinpointed the error down to my theme which contains a theme for the Radwindow with ReloadOnShow sent to true, but if I set this to false the error doesn't appear.

    Any ideas why this could be happening.

  2. Marin Bratanov
    Marin Bratanov avatar
    3562 posts

    Posted 28 Feb 2013 Link to this post

    Hi Peter,

    If you use a global theme for the RadWindow (i.e. without the skinId) the ReloadOnShow property will transfer to the RadWindow RadSpell uses internally and will modify the querystring that loads the page inside. This should generally be avoided and although it should not be a direct reason for the problem I advise that you set a SkinId for your theme to avoid this undesired inheritance.

    Another option is disabling theming for the RadSpell so its RadWindow does not inherit your theme:
    protected void Page_PreInit(object sender, EventArgs e)
        RadSpell1.EnableTheming = false;

    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top