Embedding Messenger window or Hiding It

Last post 09-27-2010, 2:35 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  09-26-2010, 5:43 PM 64194

    Embedding Messenger window or Hiding It

    Hi All, Im just wondering if there is anyway I can embed or hide the messenger window. Being that it has to be open to send and receive messages i want to hide it.
     
    What Im trying to achieve is that User A clicks on User B's profile. When they are in the User B's profile if that user is currently online than I will show a "Chat to User B" button. When User A clicks on this button the chat window pops up to start talking. Ive accomplished all of this except the idea of hiding the messenger window.
     
    Thanks in advance
    Filed under: , ,
  •  09-26-2010, 8:39 PM 64196 in reply to 64194

    Re: Embedding Messenger window or Hiding It

    Hi Calsy,
     
    The chat window dependent on the  main messenger window. And the main messenger window is a separate window, for now can not hide it and show the chat window only. Sorry for your inconvenience.
     
    Regards,
     
    ken
     
     
     
  •  09-26-2010, 9:26 PM 64198 in reply to 64196

    Re: Embedding Messenger window or Hiding It

    Hi Kenneth, Is there anyway of embedding the messenger straight into the webpage? Therefor getting rid of the need of having a seperate window floating for the messenger?
  •  09-27-2010, 2:35 AM 64201 in reply to 64198

    Re: Embedding Messenger window or Hiding It

    Hi Calsy,
     
    Please try the example below. It shows you how to add CuteMessenger in the page as embed mode.
     
    1. <%@ Page Language="C#" %>   
    2.   
    3. <%@ Register Src="~/CuteSoft_Client/CuteChat/EmbedMessenger.ascx" TagPrefix="CuteWebUI"  
    4.     TagName="Messenger" %>   
    5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
    6.   
    7. <html xmlns="http://www.w3.org/1999/xhtml">   
    8. <head runat="server">   
    9.     <title>Untitled Page</title>   
    10. </head>   
    11. <body>   
    12.     <form id="form1" runat="server">   
    13.         <div>   
    14.             <CuteWebUI:Messenger ID="messenger1" runat="server" />   
    15.         </div>   
    16.     </form>   
    17. </body>   
    18. </html>  

     Please download the latest version to test, we just fixed a embed mode bug.

     Latest version download: http://www.cutesoft.net/downloads/folders/21915/download.aspx
     
    Regards,
     
    ken
View as RSS news feed in XML