Error while embedding chat

Last post 10-12-2006, 3:27 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  10-12-2006, 2:57 PM 23539

    Error while embedding chat

    Hello. I have an existing project I am putting the Chat into. I am running into some strange problems and need some help.
     
    I downloaded and read your help document for the Chat control and followed the instructions in the FAQ for 'Run From a Different Folder'
     
    Once that was complete I followed the instructions for 'Running Chat in embed mode'
     
    When I run my app now and go to my chat page which has the embeded code inside it I get an Error in the EmbedChannel.aspx file on line 65.
     
    Here is the code from that line and a few lines above: (Added extra "<>" characters to get it to show up here)
     <<script src='<%=ResolveUrl("protoutil.js")%>' >><</script>>
    <<script src='<%=ResolveUrl("settings.js.aspx")%>'>><</script>>
    <<script src='<%=ResolveUrl("loadall.aspx")%>'>><</script>>
    <<script>>
    _SL_AddTranslater(GetString); <-- ERROR HERE 'GetString is undefined'
    _SL_SetContentFilter(ReplaceStrings);
    <</script>>
     
    It acts like the settings.js.aspx file is never loaded and _SL_AddTranslater() cannot see GetString function since this is where the GetString function is.
    _SL_SetContentFilter also errors out, the same error.
     
    Do you have to include the javascript/aspx files like this? What would be wrong with putting the js functions inside a .js file and including it the normal way or make the settings.js.apsx file an ascx (control) file and add it that way?
     
    Not sure what more information is needed, but hoping I can get help nonetheless.
     
    Thanks for the time and help.
     
     
     
  •  10-12-2006, 3:27 PM 23540 in reply to 23539

    Re: Error while embedding chat

    WatchDog,
     
    Before you make changes to "'Run From a Different Folder'", are you able to get embed chat works?
     
     

    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

View as RSS news feed in XML