Popup calender using javascript in asp.net with C#

Last post 11-14-2008 3:37 AM by Lance Zhang - MSFT. 7 replies.

Sort Posts:

  • Popup calender using javascript in asp.net with C#

    11-11-2008, 1:44 AM
    • Member
      17 point Member
    • ervipingupta
    • Member since 11-10-2008, 7:28 AM
    • Posts 69

     Problem:   Popup Calander

    I want to use popup calander in my website that select the date from Calander & the selected date is display in textbox .i have use simply in asp.net but my page is refresh again & again when i select the date ............i want avoid the probem of refresh page.......

    so, i want popup calander that solve my problem of  refresh page

    so, Please if anyone having the code ..please send me & tell me how i use javascript code in asp.net step-by -step.

     

    Please reply me soon....................

     

     Thanx

  • Re: Popup calender using javascript in asp.net with C#

    11-11-2008, 6:27 AM
    • Participant
      1,832 point Participant
    • RicIshay
    • Member since 04-30-2008, 2:44 PM
    • India
    • Posts 329

     http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx

     

     

    Monika
    http://www.learnlinq.blogspot.com/
  • Re: Popup calender using javascript in asp.net with C#

    11-11-2008, 7:47 AM
    • Member
      17 point Member
    • ervipingupta
    • Member since 11-10-2008, 7:28 AM
    • Posts 69

    i want popup window ,this link is not useful for me.........

     i want that popup calander that open in new window(Like Internet explorer)..................& when i select the date from calander then that date is comes in textbox

     

    Thanx & Regards

    Vipin

  • Re: Popup calender using javascript in asp.net with C#

    11-11-2008, 8:10 AM
    • All-Star
      75,299 point All-Star
    • NC01
    • Member since 08-26-2005, 7:33 PM
    • Posts 14,007
    • TrustedFriends-MVPs

    ervipingupta:

    i want popup window ,this link is not useful for me.........

     i want that popup calander that open in new window(Like Internet explorer)..................& when i select the date from calander then that date is comes in textbox

     

    Thanx & Regards

    Vipin

    No one is going to do your work for you (unless you are paying for it). We can't write your app for you. We can only help you through problems. Here are some links to calendars that do what you describe to get you started.

    http://www.codeproject.com/vb/net/dwDatePickerArticle.asp
    http://www.codeproject.com/KB/user-controls/ASPNET_DateSelector.aspx
    http://www.mattkruse.com/javascript/calendarpopup/

    NC...

  • Re: Popup calender using javascript in asp.net with C#

    11-12-2008, 9:46 AM
    • Member
      17 point Member
    • ervipingupta
    • Member since 11-10-2008, 7:28 AM
    • Posts 69

     Please solve my problem.......................if anyone know about this.......

     

    Thanks & Regsrds

    Vipin

  • Re: Popup calender using javascript in asp.net with C#

    11-12-2008, 9:49 AM
    • Member
      17 point Member
    • ervipingupta
    • Member since 11-10-2008, 7:28 AM
    • Posts 69

     

    Crying

     Please solve my problem....................if anyone knows about this...............

     

    Thanx & Regards

    Vipin

  • Re: Popup calender using javascript in asp.net with C#

    11-12-2008, 10:00 AM
    • Member
      145 point Member
    • ash_forumsasp
    • Member since 04-27-2008, 11:20 AM
    • Posts 41

     Hi, Try this

    •  Register an onsubmit() event on the form

                   ex: <form onsubmit="myFunc()" > ..... </form>

                         and in this function, write the following code

                               function myFunc()

                               {

                                  if(event.srcElement.id == "<%= CalendarControlID.ClientID %>")

                                       return false;

                               }

  • Re: Popup calender using javascript in asp.net with C#

    11-14-2008, 3:37 AM
    Answer

    Hi ervipingupta 

    RJS PopCalendar is really a good one, and there is a tutorial about it:
     
    Picking Dates with a Free RJS PopCalendar, a Free ASP.NET Popup Calendar Control

    http://aspnet.4guysfromrolla.com/articles/060408-1.aspx

    And there also have many good pop up calendar controls:

    ASP.NET AJAX Control toolkit Calendar

    http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx

    Calendar Popup
    http://www.mattkruse.com/javascript/calendarpopup/ 

    Javascript: Popup Calendar Control
    https://engineering.purdue.edu/ECN/Support/KB/Docs/JavascriptCalendar

    Popup Calendar
    http://www.dynamicdrive.com/dynamicindex6/popcalendar.htm

    The DHTML / JavaScript Calendar
    http://www.dynarch.com/projects/calendar/

    Calendar Popup Javascript
    http://www.java-scripts.net/javascripts/Calendar-Popup.phtml

    If I’ve misunderstood your problem, please feel free to let me know.

    Thanks.

    Lance Zhang
Page 1 of 1 (8 items)