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. Textbox viewstate - Javascript date picker

Textbox viewstate - Javascript date picker

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminhelpquestion
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
    Harry Kris
    wrote on last edited by
    #1

    Hi, In my web application, I have a series of text boxes for date entry. Next to those boxes, i have a line that invokes and javascript calendar. Now, the calendar shows up just fine - the date that I select is populated in the textbox - Problem is that, If I create a postback by clicking on any server control, the dates that were populated using the javascript date picker disappears. For the same textboxes, if i type the date manually and create a postback, the value appears after the round-trip. I am not sure what causes this behaviour. Do you have a clue ? Thanks! Harry :-)

    A 1 Reply Last reply
    0
    • H Harry Kris

      Hi, In my web application, I have a series of text boxes for date entry. Next to those boxes, i have a line that invokes and javascript calendar. Now, the calendar shows up just fine - the date that I select is populated in the textbox - Problem is that, If I create a postback by clicking on any server control, the dates that were populated using the javascript date picker disappears. For the same textboxes, if i type the date manually and create a postback, the value appears after the round-trip. I am not sure what causes this behaviour. Do you have a clue ? Thanks! Harry :-)

      A Offline
      A Offline
      Andy Brummer
      wrote on last edited by
      #2

      I do something similar with a couple of searches, and set the value with javascript. Everything works fine on the post back. Scan the data posted back to the page and make sure the corrent data is being sent on the post. I may be working, but I'm not working for you. - Superchunk

      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