Free client side calendar control

Posted on 2006-06-07
Last Modified: 2012-05-05
Hello experts, up until now I have created a popup calendar using a little bit of javascript to call a window passing the textfield to an calendar control.  It works fine, but eats up server resources and I have problems with users minimizing the window, containing the calendar, and forgetting about it.  When they click the image to bring up the calendar it doesnt work, because the window is already open. I want to implement a client side calendar control that can interact with my textfields.  Does anyone know of a free control, or something I can implement strictly client side?

Here is what I am currently doing to simulate a popup calendar
'Page that calls calpopup.aspx page.
<script language="javascript">

//-----------Popup windows functions for calendars and cellnames
function start()

function enddate()
<a onclick="start()"><img  id="imgstart" src="images\smallcalendar.gif" /></a>

'Popup calendar page codebehind
 Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Put user code to initialize the page here
        control.Value = Request.QueryString("textbox").ToString()
    End Sub

    Protected Sub Change_Date(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Dim strScript As String = "<script>window.opener.document.forms(0)." + control.Value + ".value = '"
        ' strScript += calDate.SelectedDate.ToString("yyyy/MM/dd")
        strScript += calDate.SelectedDate
        strScript += "';self.close()"
        strScript += "</" + "script>"
        RegisterClientScriptBlock("anything", strScript)
    End Sub
Question by:tentavarious
    LVL 27

    Expert Comment

    check out tigar calendar, its 100% javascript client control

    Author Comment

    Its pretty good, but its very similiar to what I have.  It loads a new window containing the calender.  I was thinking of a calendar more like on travelocity and orbitz where the calendar is within the same page.
    LVL 27

    Accepted Solution

    check this one out then
    it looks better and you can use it as a popup or flat
    look in the right hand side of this link and you will see it in action

    Author Comment

    That calender looks really cool, but it looks like its only free at a minimal service.  But thats the type of popup I am looking for.

    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now