Free client side calendar control asp.net

Posted on 2006-06-07
Medium Priority
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 asp.net 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 asp.net 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
  • 2
  • 2
LVL 27

Expert Comment

ID: 16855059
check out tigar calendar, its 100% javascript client control


Author Comment

ID: 16855374
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

Sammy earned 750 total points
ID: 16856885
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

ID: 16860693
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month13 days, 12 hours left to enroll

755 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