chat within asp.net?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default chat within asp.net?

    Hello microsoft.public.dotnet.framework.aspnet!

    Is this possible to write very simple chat within asp.net (asking google I
    got only commercial components' websites)?

    BTW:
    How can I dynamically add LinkButton to my WebForm?

    TIA

    --
    OJO


    "You cannot say, that everybody's happy,
    But you can say, that everybody is now
    Safe from each other."
    King Diamond

    OJO Guest

  2. Similar Questions and Discussions

    1. one to one chat
      Hi, I am currently creating a chat solution that is only consisting of private chats, there is no need for a lobby, the clients should connect to...
    2. chat
      anybody have an example of any chat in flash??? or how uses the xmlSocket to do it??? thanks
    3. Chat Example ( unknown destionation: chat-topic-jms)
      I can't open and recompile the chat example included with the install (see folder path below). Nor can I copy the code and use it in a new .mxml...
    4. CHAT about PHP
      Hasn't he got the message yet? Martin
    5. chat about asp.net
      hello the world :) Could you give me a good irc server where i can speack about .net programming ? thanks a lot :)
  3. #2

    Default Re: chat within asp.net?

    Sure, I can envision a chat page where multiple clients keep posting back
    and the server keeps track of the conversations.
    A more efficient solution might be to use a windows forms app and call a web
    service to manage the conversations.

    Dim myLinkButton As New LinkButton()
    myLinkButton.Text = "This is my LinkButton"
    Page.Controls.Add(myLinkButton)

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "OJO" <o_ojo@poczta.onet.pl> wrote in message
    news:beeuis$hsd$1@nemesis.news.tpi.pl...
    > Hello microsoft.public.dotnet.framework.aspnet!
    >
    > Is this possible to write very simple chat within asp.net (asking google I
    > got only commercial components' websites)?
    >
    > BTW:
    > How can I dynamically add LinkButton to my WebForm?
    >
    > TIA
    >
    > --
    > OJO
    >
    >
    > "You cannot say, that everybody's happy,
    > But you can say, that everybody is now
    > Safe from each other."
    > King Diamond
    >

    Steve C. Orr, MCSD Guest

  4. #3

    Default Re: chat within asp.net?

    You could write a html chat app that refreshes on a timer. Store the
    messages in the Application object.

    Thanks.
    Gavin Joyce

    --
    __________________________________________________ _________
    nTierGen.NET Code Generator - [url]http://www.nTierGen.NET/[/url]

    Stored Procedures (Get, GetPaged, Insert, Update, Delete)
    Data Access Layer - C#
    Business Rules Layer - C# & VB.NET
    Strongly-Typed DataSets - C#
    Web Services - C#
    __________________________________________________ _________
    "OJO" <o_ojo@poczta.onet.pl> wrote in message
    news:beeuis$hsd$1@nemesis.news.tpi.pl...
    > Hello microsoft.public.dotnet.framework.aspnet!
    >
    > Is this possible to write very simple chat within asp.net (asking google I
    > got only commercial components' websites)?
    >
    > BTW:
    > How can I dynamically add LinkButton to my WebForm?
    >
    > TIA
    >
    > --
    > OJO
    >
    >
    > "You cannot say, that everybody's happy,
    > But you can say, that everybody is now
    > Safe from each other."
    > King Diamond
    >

    Gavin Joyce Guest

  5. #4

    Default Re: chat within asp.net?

    Użytkownik "Steve C. Orr, MCSD" <Steve@Orr.net> napisał w wiadomości
    news:On8#U4XRDHA.2332@TK2MSFTNGP10.phx.gbl...
    > Sure, I can envision a chat page where multiple clients keep posting back
    > and the server keeps track of the conversations.
    :D
    > A more efficient solution might be to use a windows forms app and call a
    > web service to manage the conversations.
    Ok, "chat" was only unfortunate pretext. Actually I need another feature. I
    have instaled windows service on my machine. I control that service over tcp
    using System.Runtime.Remoting. Now what I need. I need my page to show some
    informations, got using technique described above. So the page should be
    constantly refreshed. I could use some client-side script, but want to
    refresh only if data is changed. That's the problem. Anyone could help me?
    > Dim myLinkButton As New LinkButton()
    > myLinkButton.Text = "This is my LinkButton"
    > Page.Controls.Add(myLinkButton)
    Yes, I tried it milion times today. Control is added to Page.Controls, but
    doesn't appear on the WebForm (Control.Visible=True doesn't make any trick)
    :(

    --
    OJO


    "You cannot say, that everybody's happy,
    But you can say, that everybody is now
    Safe from each other."
    King Diamond

    OJO Guest

  6. #5

    Default Re: chat within asp.net?

    Two options:
    1) Use Smartnavigation. IE will appear to refresh only the parts of the
    page that have changed.
    Here's more information on that:
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuipageclasssmartnavigationtopic.asp[/url]
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconpage.asp[/url]

    2) Use web services. Use client side code to manually call back to your
    server and then update the necessary parts of the UI yourself via DHTML and
    javascript. For this you'll probably need to use the web service behavior.
    Here's more information on that:
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/overview.asp[/url]

    The linkbutton add code should work well from within the Page Init and Page
    Load events. If you are trying to add it from other places in the event
    model then things get a bit more dicey.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "OJO" <o_ojo@poczta.onet.pl> wrote in message
    news:bef3va$8q5$1@nemesis.news.tpi.pl...
    > Użytkownik "Steve C. Orr, MCSD" <Steve@Orr.net> napisał w wiadomości
    > news:On8#U4XRDHA.2332@TK2MSFTNGP10.phx.gbl...
    > > Sure, I can envision a chat page where multiple clients keep posting
    back
    > > and the server keeps track of the conversations.
    >
    > :D
    >
    > > A more efficient solution might be to use a windows forms app and call a
    > > web service to manage the conversations.
    >
    > Ok, "chat" was only unfortunate pretext. Actually I need another feature.
    I
    > have instaled windows service on my machine. I control that service over
    tcp
    > using System.Runtime.Remoting. Now what I need. I need my page to show
    some
    > informations, got using technique described above. So the page should be
    > constantly refreshed. I could use some client-side script, but want to
    > refresh only if data is changed. That's the problem. Anyone could help me?
    >
    > > Dim myLinkButton As New LinkButton()
    > > myLinkButton.Text = "This is my LinkButton"
    > > Page.Controls.Add(myLinkButton)
    >
    > Yes, I tried it milion times today. Control is added to Page.Controls, but
    > doesn't appear on the WebForm (Control.Visible=True doesn't make any
    trick)
    > :(
    >
    > --
    > OJO
    >
    >
    > "You cannot say, that everybody's happy,
    > But you can say, that everybody is now
    > Safe from each other."
    > King Diamond
    >

    Steve C. Orr, MCSD Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139