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

RadSpell's Radwindow causing "freed script error"

1 Answer 22 Views
Window
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 28 Feb 2013, 11:02 AM
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.

Thanks

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Feb 2013, 02:51 PM
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;
}



Greetings,
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.
Tags
Window
Asked by
Peter
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or