Solved

FreeTextBox error:  JScript runtime error: Permission denied

Posted on 2009-04-06
5
3,373 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to read data from SQL server  to sharepoint 2013 ? 3 29
Html fieldset fix its height and width 4 34
Autocomplete with Jquery Question 2 21
2 separate CSS animations 2 17
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

821 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