Problem with javascript

Last post 05-03-2007, 5:21 AM by ditique. 6 replies.
Sort Posts: Previous Next
  •  05-02-2007, 10:54 AM 29075

    Problem with javascript

     
     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 29087 in reply to 29075

    Re: Problem with javascript

    ditique,
     
    The URL rewrite module should not have any impact to the above JavaScript code.
     
    Is your site online? If so, can you put the example online and send the URL to me?
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-03-2007, 3:02 AM 29115 in reply to 29087

    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 29116 in reply to 29115

    Re: Problem with javascript

  •  05-03-2007, 3:40 AM 29117 in reply to 29116

    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 29121 in reply to 29117

    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 29122 in reply to 29121

    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"/>

View as RSS news feed in XML