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. General Programming
  3. ATL / WTL / STL
  4. listbox in C#

listbox in C#

Scheduled Pinned Locked Moved ATL / WTL / STL
csharpjavascriptdatabasesysadminhelp
2 Posts 2 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.
  • H Offline
    H Offline
    HowRU
    wrote on last edited by
    #1

    i m working in .net .. i took two listbox web server controls..ok In My Listbox1 there is some data which comes from database on client side & i added some elements from listbox1 to listbox2 i have done this by using javascript ok... Now on some event my page is going to refresh.. so what ever the data i have add on client side in listbox2 vanishes as page get refresh.. what i think as .Net provide a view state so how it get vanishes .... so can u tell me where i m wrong... the reason behind to think so, is that (if we add some data in text box through javascript or we just enter through our key board) and when it do the server trip it remains there ,then why not for list box.. so please help me and tell me where i m wrong... thanks in advance...

    M 1 Reply Last reply
    0
    • H HowRU

      i m working in .net .. i took two listbox web server controls..ok In My Listbox1 there is some data which comes from database on client side & i added some elements from listbox1 to listbox2 i have done this by using javascript ok... Now on some event my page is going to refresh.. so what ever the data i have add on client side in listbox2 vanishes as page get refresh.. what i think as .Net provide a view state so how it get vanishes .... so can u tell me where i m wrong... the reason behind to think so, is that (if we add some data in text box through javascript or we just enter through our key board) and when it do the server trip it remains there ,then why not for list box.. so please help me and tell me where i m wrong... thanks in advance...

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      You'll get a better answer in the C# forum[^] --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Actual sign at the laundromat I go to: "No tinting or dying."

      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