Link to home
Start Free TrialLog in
Avatar of RobertNZana
RobertNZanaFlag for United States of America

asked on

FreeTextBox error: JScript runtime error: Permission denied

I am using the freetextbox control.  The control is on a page that is linked to a masterpage.  The control is also in an updatepanel within the page.

When I click the 'save' button everything runs.  But, when I try to redirect away from the page the debugger goes to a "WebResource_...000[dynamic]" code tab (which I didn't write) and it puts the breakpoint on the FTB_RemoveEvent function on this line:

if (obj.removeEventListener){

A popup message from VS says:   Microsoft JScript runtime error:  Permission Denied

I do not have the source code, only the dll.  (So I can't put a Try/Catch block around the code as far as I know.)  Any idea as to how to fix this issue?

In the Page declaration I've turned EnableEventValidation and ValidateRequest to false.

I also know about the ftb support forums, but they are slower in responding.  I've also seen the link here: http://freetextbox.com/forums/thread/9307.aspx
Avatar of prairiedog
prairiedog
Flag of United States of America image

Just in case you can't get a fix on the error, you might try another excellent free textbox control called FCKEditor at www.fckeditor.net.
Avatar of RobertNZana

ASKER

Thanks.  Do you know if it works on pages that reference a Master Page and within an update panel?
If I use it for my client's website do I have to pay money for licensing?
ASKER CERTIFIED SOLUTION
Avatar of prairiedog
prairiedog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i'm not sure if the whole "open source" licensing will work for us - seems too complicated lol

but thanks 4 the suggestion

maybe i'll try cutesoft.net's control
Avatar of skrombeen
skrombeen

Hi, I had exactly the same problem as above...I removed the Content Panel from the master page, and it worked 100%