Solved

FreeTextBox error:  JScript runtime error: Permission denied

Posted on 2009-04-06
5
3,357 Views
Last Modified: 2012-05-06
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
0
Comment
Question by:RobertNZana
  • 2
  • 2
5 Comments
 
LVL 22

Expert Comment

by:prairiedog
ID: 24088495
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.
0
 
LVL 9

Author Comment

by:RobertNZana
ID: 24089435
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?
0
 
LVL 22

Accepted Solution

by:
prairiedog earned 500 total points
ID: 24089619
It is open source, so it is free. And I do believe it works with Master page within UpdatePanel. Here is a demo which I believe is built with Master page and UpdatePanel: http://www.techproszone.net/demos/Tools/FCKEditorDemo.aspx
Again, your question is about FreeTextBox, and my comment is FCKEditor, and it is up to you to make the call, that it why I said "just in case" in my last comment.
Anyway, if you need to know how to integrate and configure FCKEditor, I will be more than happy to help.
0
 
LVL 9

Author Comment

by:RobertNZana
ID: 24091381
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
0
 
LVL 1

Expert Comment

by:skrombeen
ID: 24345056
Hi, I had exactly the same problem as above...I removed the Content Panel from the master page, and it worked 100%
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now