|
Problem with javascript
Last post 05-03-2007, 5:21 AM by ditique. 6 replies.
-
05-02-2007, 10:54 AM |
-
ditique
-
-
-
Joined on 05-02-2007
-
-
Posts 6
-
-
|
Hello,
I'm trying the text editor, but I have a big problem on the configuration.
In fact, in my application I use UrlRewriting process, and when I try to use the editor, it make me an error in javascript on this line :
onload ="CuteEditorInitialize('CE_ctl00_Content_CEContent_ID',{'_ClientID':'CE_ctl00_Content_CEContent_ID','_UniqueID':'ctl00$Content$CEContent','_FrameID':'CE_ctl00_Content_CEContent_ID_Frame','_ToolBarID':'CE_ctl00_Content_CEContent_ID_ToolBar','_CodeViewToolBarID':'CE_ctl00_Content_CEContent_ID_CodeViewToolBar','_HiddenID':'ctl00$Content$CEContent','_StateID':'ctl00$Content$CEContent$ClientState','_PostBackHandlerID':'ctl00$Content$CEContent$PostBackHandler','_TemplateUrl':'/Infostance.Scolastance/CuteSoft_Client/CuteEditor/Template.aspx?Referrer=http%3a%2f%2flocalhost%3a2134%2fInfostance.Scolastance%2fScolastance%2fCuteSoft.aspx','Culture':'fr','Theme':'Custom','ResourceDir':'/Infostance.Scolastance/CuteSoft_Client/CuteEditor','ActiveTab':'Edit','ToggleBorder':'True','FullPage':'False','ContextMenuMode':'Simple','EnableBrowserContextMenu':'True','EnableContextMenu':'True','FocusOnLoad':'False','ConvertHTMLTagstoLowercase':'True','RemoveTBODYTag':'False','AllowEditServerSideCode':'False','EnableAntiSpamEmailEncoder':'True','EnableStripScriptTags':'True','MaxHTMLLength':'0','MaxTextLength':'0','TabSpaces':'3','ResizeStep':'100','BreakElement':'Div','URLType':'Absolute','EmptyAlternateText':'ForceAdd','ServerName':'localhost:2134','AllowPasteHtml':'True','EncodeHiddenValue':'True','UseSimpleAmpersand':'False','UsePhysicalFormattingTags':'False','EnableObjectResizing':'True','MaintainAspectRatioWhenDraggingImage':'True','UseFontTags':'False','RenderRichDropDown':'True','EditorOnPaste':'ConfirmWord','PostBackScript':'__doPostBack(\x27ctl00$Content$CEContent$PostBackHandler\x27,\x27\x27)','HelpPath':'/Infostance.Scolastance/CuteSoft_Client/CuteEditor/Help/default.htm','PrintFullWebPage':'False','ReadOnly':'False','EditCompleteDocument':'False','DOCTYPE':'','BaseHref':'','EditorBodyStyle':'','DNNArg':'','EditorSetting':'!3wEWAgUCZnIFAyRhMaXRDZv3tK1y4uo!3YeajkY7ieAts'})"
How can I force the directory Folder to search the javascript files ??
Thanks a lot
|
|
-
05-02-2007, 2:21 PM |
-
05-03-2007, 3:02 AM |
-
ditique
-
-
-
Joined on 05-02-2007
-
-
Posts 6
-
-
|
Re: Problem with javascript
Ok,
No my site is not yet online, but I send you the messages on IE and or FireFox :
The method CuteEditorInitialize is not defined
|
|
-
05-03-2007, 3:09 AM |
-
05-03-2007, 3:40 AM |
-
ditique
-
-
-
Joined on 05-02-2007
-
-
Posts 6
-
-
|
Re: Problem with javascript
I tried the different solution, but I always have the same problem. When I add the script from Loader.js directly on the page, a other problem comes : Failed to load impl time
|
|
-
05-03-2007, 4:16 AM |
-
ditique
-
-
-
Joined on 05-02-2007
-
-
Posts 6
-
-
|
Re: Problem with javascript
I Try to create a new project and it's works. So i add all my dlls in the folder bin, and it works .. I don't undertand where is the problem..
|
|
-
05-03-2007, 5:21 AM |
-
ditique
-
-
-
Joined on 05-02-2007
-
-
Posts 6
-
-
|
Re: Problem with javascript
I resolved the problem :
I delete the folowing line in the Web.config file :
< httpHandlers>
< add verb="POST,GET" path="*.ashx" type="Ajax.PageHandlerFactory, Ajax"/>
|
|
|
|
|