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. How to show a Calendar control during runtime ?

How to show a Calendar control during runtime ?

Scheduled Pinned Locked Moved ASP.NET
questionhelptutorial
4 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.
  • S Offline
    S Offline
    SekharOne
    wrote on last edited by
    #1

    I have a Web Form in which, a date field is there. A small picture is there, and i want when the user clicks on the picture, a calender control should popup on the contents of the page bellow the picture clicked. I used the div and inside it i put the calender control and set the visibility to hidden of the div. How can i show the calender control when the picture is clicked. Any Advice will greatly help. Thanks in advance.

    Sekhar :)

    J 1 Reply Last reply
    0
    • S SekharOne

      I have a Web Form in which, a date field is there. A small picture is there, and i want when the user clicks on the picture, a calender control should popup on the contents of the page bellow the picture clicked. I used the div and inside it i put the calender control and set the visibility to hidden of the div. How can i show the calender control when the picture is clicked. Any Advice will greatly help. Thanks in advance.

      Sekhar :)

      J Offline
      J Offline
      jaysaran
      wrote on last edited by
      #2

      i) In imagebutton click event you can show the div ii) In calender control, after selecting the date you can close the div. iii) Otherwise keep another image button for closing the div

      Warm Regards

      S 1 Reply Last reply
      0
      • J jaysaran

        i) In imagebutton click event you can show the div ii) In calender control, after selecting the date you can close the div. iii) Otherwise keep another image button for closing the div

        Warm Regards

        S Offline
        S Offline
        SekharOne
        wrote on last edited by
        #3

        Thanks Jaysaran for your reply. Can you tell me how can i refer to the div in the code window. Can u write few lines for this. Thanks in advance.

        Sekhar :)

        J 1 Reply Last reply
        0
        • S SekharOne

          Thanks Jaysaran for your reply. Can you tell me how can i refer to the div in the code window. Can u write few lines for this. Thanks in advance.

          Sekhar :)

          J Offline
          J Offline
          jaysaran
          wrote on last edited by
          #4

          you can set display property to "none" for hide the div & "block" for show the div. (Don't use Visiblity.)

          Best Regards

          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