How to update whole panel on each users button click

Last post 05-31-2009 5:06 PM by richard112. 2 replies.

Sort Posts:

  • How to update whole panel on each users button click

    05-31-2009, 9:23 AM
    • Member
      52 point Member
    • richard112
    • Member since 11-30-2008, 4:23 AM
    • Posts 346

    Hi, i  have a chat app, and am currently using update panel and timer.

    I have a button click control and the update panel triggers after only that user clicks the button.

    So for examplethere were users in the room, and if the person that waschatting clicked the button (before the timers tick event)  they would be updated with the latest messages, but only for that specific user.

    What i would like to do is that when a single user clicks the button, it updates the whole panel itself, so all the users can see ethe updated messages, and dont have to click a button just to get the latest messages.

    Does anyone know how i could do this?

    Thanks

  • Re: How to update whole panel on each users button click

    05-31-2009, 10:26 AM
    Answer
    • Contributor
      2,453 point Contributor
    • Rick Matthys
    • Member since 01-20-2009, 3:57 PM
    • Oregon
    • Posts 353

    Hello Richard,

    If you want to create the chap using asp.net webpages, then you're going to be stuck with the underlying client/server model.  What your asking to do is an event based model, where chatters recieve events from a server managing chat rooms.  You can do this with techonologies like .net remoting, but I think your out of luck trying to implement it with an asp.net website.

    ~Rick

    Please mark the post as ANSWER if it helps you

    Disclaimer: Just my opinion. Not my employer or anyone else....
  • Re: How to update whole panel on each users button click

    05-31-2009, 5:06 PM
    • Member
      52 point Member
    • richard112
    • Member since 11-30-2008, 4:23 AM
    • Posts 346

    If not a way to do this, there must atleast be an alternative to achive this?

Page 1 of 1 (3 items)