Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. simple chat page

simple chat page

Scheduled Pinned Locked Moved ASP.NET
questionlounge
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tanzeel85
    wrote on last edited by
    #1

    i am making simple chat room in web. the page is refresh after 5sec. so when page is refresh the textbox is cleared. i dont want to clear the textbox. what i do?? or some other suggestions for chat page. thx in advance

    B S N 3 Replies Last reply
    0
    • T tanzeel85

      i am making simple chat room in web. the page is refresh after 5sec. so when page is refresh the textbox is cleared. i dont want to clear the textbox. what i do?? or some other suggestions for chat page. thx in advance

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      Save values in cache or in viewstate and then retrieve it. Check this.[^]


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.cacttus.com

      1 Reply Last reply
      0
      • T tanzeel85

        i am making simple chat room in web. the page is refresh after 5sec. so when page is refresh the textbox is cleared. i dont want to clear the textbox. what i do?? or some other suggestions for chat page. thx in advance

        S Offline
        S Offline
        Steven Pinto2000
        wrote on last edited by
        #3

        the best way is to use a update pannel the advantage is that the user will not even come to know that the page is posted back as it uses AJAX and the text box will not go empty as well

        T 1 Reply Last reply
        0
        • S Steven Pinto2000

          the best way is to use a update pannel the advantage is that the user will not even come to know that the page is posted back as it uses AJAX and the text box will not go empty as well

          T Offline
          T Offline
          tanzeel85
          wrote on last edited by
          #4

          can u give me example plz

          S 1 Reply Last reply
          0
          • T tanzeel85

            i am making simple chat room in web. the page is refresh after 5sec. so when page is refresh the textbox is cleared. i dont want to clear the textbox. what i do?? or some other suggestions for chat page. thx in advance

            N Offline
            N Offline
            Nickos_me
            wrote on last edited by
            #5

            If it interesting too you, I can give you example of simple comet chat(don't need page refresh).

            T 1 Reply Last reply
            0
            • N Nickos_me

              If it interesting too you, I can give you example of simple comet chat(don't need page refresh).

              T Offline
              T Offline
              tanzeel85
              wrote on last edited by
              #6

              i will be very thank full to you if help me

              1 Reply Last reply
              0
              • T tanzeel85

                can u give me example plz

                S Offline
                S Offline
                Steven Pinto2000
                wrote on last edited by
                #7

                download the attachment file Click Here

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups