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. Calendar Popup in javascript?

Calendar Popup in javascript?

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-nethelptutorial
7 Posts 3 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.
  • C Offline
    C Offline
    Care Career
    wrote on last edited by
    #1

    Hi I want to create calander in javascript.Plz help me how to create? My requirement is in my asp.net page one textbox is there & one image button . Calander must be opened on textbox's onfocus event & it must be open on image click. Plz tell me how to open calander popup on textbox'onfocus event . thnx Carecareer

    C T 2 Replies Last reply
    0
    • C Care Career

      Hi I want to create calander in javascript.Plz help me how to create? My requirement is in my asp.net page one textbox is there & one image button . Calander must be opened on textbox's onfocus event & it must be open on image click. Plz tell me how to open calander popup on textbox'onfocus event . thnx Carecareer

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Once you have chosen a calender control, you can write whatever code you like to call it when the onfocus event occurs. There are lots of these controls on the web.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      C 1 Reply Last reply
      0
      • C Christian Graus

        Once you have chosen a calender control, you can write whatever code you like to call it when the onfocus event occurs. There are lots of these controls on the web.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        C Offline
        C Offline
        Care Career
        wrote on last edited by
        #3

        HElp How to call js funtion on textbox 's on focus event

        C 1 Reply Last reply
        0
        • C Care Career

          HElp How to call js funtion on textbox 's on focus event

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          onfocus="javascript:myMethod()" I suspect the javascript: is superfluous. If you put attributes in a .NET control which are not recognised as server tags, they get passed to the client control verbatim.

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          C 1 Reply Last reply
          0
          • C Care Career

            Hi I want to create calander in javascript.Plz help me how to create? My requirement is in my asp.net page one textbox is there & one image button . Calander must be opened on textbox's onfocus event & it must be open on image click. Plz tell me how to open calander popup on textbox'onfocus event . thnx Carecareer

            T Offline
            T Offline
            teddddddddddd
            wrote on last edited by
            #5

            1. WebForm1.aspx 2. Koledar.aspx HTML code A onclick="window.open('Koledar.aspx?textbox=TextBox1','cal','width=220,height=205,left=270,top=180' )" href="javascript:void(0)"> asp:ImageButton id="ImageButton1" style="Z-INDEX: 102; LEFT: 288px; POSITION: absolute; TOP: 24px" runat="server">"; RegisterClientScriptBlock("Calendar_ChangeDate", strScript); } }

            C 1 Reply Last reply
            0
            • C Christian Graus

              onfocus="javascript:myMethod()" I suspect the javascript: is superfluous. If you put attributes in a .NET control which are not recognised as server tags, they get passed to the client control verbatim.

              Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

              C Offline
              C Offline
              Care Career
              wrote on last edited by
              #6

              plz relll me how to wite calander in javascript give egood ling for tht

              1 Reply Last reply
              0
              • T teddddddddddd

                1. WebForm1.aspx 2. Koledar.aspx HTML code A onclick="window.open('Koledar.aspx?textbox=TextBox1','cal','width=220,height=205,left=270,top=180' )" href="javascript:void(0)"> asp:ImageButton id="ImageButton1" style="Z-INDEX: 102; LEFT: 288px; POSITION: absolute; TOP: 24px" runat="server">"; RegisterClientScriptBlock("Calendar_ChangeDate", strScript); } }

                C Offline
                C Offline
                Care Career
                wrote on last edited by
                #7

                thnx for this but i m not using calandar control. i want to mekae in javascript only So plz help

                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