Click here to Skip to main content
15,903,362 members
Everything / CalendarExtender

CalendarExtender

CalendarExtender

Great Reads

by Lars Pehrsson
Highligting and marking indvidual dates in a WPF Calendar
by ASP.NET Community
The AJAX Control Toolkit has a CalenderExtender extender control that pops up a calendar whenever the user clicks on the target control, or a popup
by NightWizzard
Explained step by step

Latest Articles

by NightWizzard
Explained step by step
by ASP.NET Community
The AJAX Control Toolkit has a CalenderExtender extender control that pops up a calendar whenever the user clicks on the target control, or a popup
by Lars Pehrsson
Highligting and marking indvidual dates in a WPF Calendar

All Articles

Sort by Score

CalendarExtender 

20 Feb 2013 by Lars Pehrsson
Highligting and marking indvidual dates in a WPF Calendar
1 Jul 2012 by Sergey Alexandrovich Kryukov
If you asked for the references to some code to help you in your work, you could do it by yourself. At the same time, you would have a chance that some CodeProject members pointed out some open-source works to help you.However, your requirement is to do this job "without using" something....
1 Nov 2013 by contracting1994
First here is my code, I have 2 CalendarExtender
20 Feb 2014 by Sergey Alexandrovich Kryukov
Please see my comment to the question.You just need to learn System.DateTime and methods of parsing of string into date data. Please see all the methods named Parse, ParseExact, TryParse and TryParseExact (and avoid using Convert, in most cases; after all, this is parsing, not...
11 Jun 2013 by Ahmed Bensaid
ASP.NET DatePicker User Control (Hijri / Gregorian) shows month and year as dropdowns[^]
1 Nov 2013 by Sampath Lokuge
Here is the Good link which explains same issue where you're having.Check this.How to use compare validator with dd/MM/yyyy format of dateAnother Link : SOFI hope this will help to you.
19 Nov 2013 by Rahul_Pandit
var Selected_Date=document.getElementById('').value;orvar calendarDate='';follow this linkhttp://forums.asp.net/t/1837759.aspx[^]
13 Feb 2015 by Abhinav S
Datepicker - http://www.aspsnippets.com/Articles/Implement-jQuery-DatePicker-Plugin-with-ASPNet-TextBox-Control.aspx[^]http://www.aspsnippets.com/Articles/jQuery-UI-DatePicker-Calendar-Example-in-ASPNet.aspx[^]CalenderExtender -How to use ASP.NET AJAX Calender Extender[^]ASP.NET AJAX...
14 Jan 2012 by MohammadIqbal
I have a DataGrid which have on DateTime column. but i am unable to change the style of the calender.please help me somebody. the code is here ...
31 Jan 2012 by cutexxbaby
i have this ajax calendar control, but i click on the btnDate3 it will add another row of the textbox which allow me to select date from the calendar control again, so if i click submit, it will retrieve each textbox date from each row after you Addso basically a user can click on the Add...
18 Apr 2012 by P.Salini
refer thishttp://asp-net-example.blogspot.in/2009/11/ajax-calendarextender-how-to-use.html[^]http://www.dotnetcurry.com/ShowArticle.aspx?ID=149[^]
18 Apr 2012 by Pravin Patil, Mumbai
You have not specified what error you are getting. Just to get going check -1. AJAX Calender - ASP.Net[^]2. AJAX Calender Example Usage[^]3. Sample Code for AJAX Calender[^]Hope this helps.All the best.
18 Apr 2012 by parul77
please refer:ASP.NET - Date Picker Server Control[^]http://www.c-sharpcorner.com/uploadfile/puranindia/calendar-control-in-Asp-Net/[^]http://www.codedigest.com/Articles/ASPNET/247_DatePicker_Control_in_ASPNet.aspx[^]
18 Apr 2012 by sravani.v
Refer these:http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx[^]Ajax Calendar Control[^]
26 May 2012 by bakinam Ahmed
i have an asp.net projectin this project i have a TextBox with a textchanged event and AutoPostBack = trueand a calender extender and the target control of it the previous textboxi sometimes need to change the selected date of the calender extender in code behindbut this make a...
26 May 2012 by Ranjith Reddy CSE
Just add Update Panel....your problem will be solved.
27 May 2012 by Sandeep Mewara
Keeping small things aside, in short, you need to put your Grid in an Udpate Panel to enable partial rendering:. Here you go:UpdatePanel Control Overview[^]UpdatePanel control[^]UpdatePanel Class[^]All you need to know with sample code is present and explained.Nutshell: You need to...
19 Aug 2012 by NothingToLoose
Rewrite your tag for calender extender in following way its solved your problem...
30 Aug 2012 by snamyna
I have posted this question before but still there is no solution.I have no issue when using calendar extender with page without master page.But when it comes to textbox inside contentplaceholder, calendar extender just didnt display.Here is my code:
12 Sep 2012 by AshishSarang
In my application i used ajax calender extender. when i run my application it display calender, but the problem is that it shows only 5 days on drop down panel, instead of seven. So please tell me how to remove such problem.Thanks.
12 Sep 2012 by Yatin chauhan
I have Also Same Problem. I find many but i cant get any solution. At Last once its corrupted of Ajax toolkit. just download an toolkit again and give the reference of that again ..its solve your problem...Its Will Help You...!!!!
31 Oct 2012 by Mr.Literal
I've been searching for hours on how to fix my calendar. It only displays Sunday-friday, Saturday is completely cut off. The reason its doing this is because my calendar extender is inside a table which has its own style. I've tried editing the margins, padding, z-index. I've copied the css for...
23 Nov 2012 by Hiral21
Hi all,May be my previous question is not so specific so that I didn't get any answer.I have made a gridview in my aspx page which shows result of students.I have put calender extender in all columns in edit item template so that the user can change the date.In the item template...
23 Nov 2012 by Krunal Rohit
Hey try to do this thing using Hover Menu Extender[^]
4 Dec 2012 by Teenustar
We have a DayPilot control implemented in our ASP.net MVC web application.We have a Print/export option, that comes with the control. But when we use it we dont get the colors implemented in the control ( or say doesnt pickup the stylesheet)I tried a few options with JQuery/Javascript to...
5 Dec 2012 by ythisbug
hiin my project am using calender control and six labelswhen i selcet date between sunday to saturday tat week dates should display in lable from monday to saturday..like in lable i set id for lblMonday....etcand is it possible to display date in label like this..??can any one...
5 Dec 2012 by RahulRana723
Label1.Text="";Label1.Text+=Calander1.SelectedDates.ToString();
21 Dec 2012 by JawadHafiz
How to hide weekends (Sat, Sun) in ajax calender?
21 Dec 2012 by Surendra0x2
protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { if (e.Day.IsWeekend) e.Cell.Controls.Clear(); }and may b this is exact u looking...
22 Dec 2012 by Krunal Rohit
Disabling the days, take a look @ http://vincexu.blogspot.in/2008/11/how-to-disable-dates-which-are-less.html[^]
14 Jan 2013 by Suvabrata Roy
Try This : Customizing the ASP.NET Calendar Control[^]
4 Feb 2013 by Developers Code
Error :This page is missing a HtmlHead control which is required for the CSS stylesheet link that is being added. Please add .i have added the runat="server" to the head in the master page - still the same message.when i am trying to add calendar extender in usercontrol then only i...
9 Feb 2013 by Software Engineer 892
How to restrict user not to select previous years using Textbox calendar extender.---------------------------------------------------------------------------------Hi FRNDS,my project is based on Asp.net c#.In this Project, We will create new users to access the Project.In this...
10 Feb 2013 by Pallavi Waikar
go trough following links Tip.6..AJAX Calender Extender[^] Calendar Extender function checkDate(sender,args){var selDate= sender._selectedDate;var today = new Date(); if (selDate.getFullYear() > today.getFullYear()){alert("You cannot select a day earlier than...
29 May 2013 by pk_geray
This may help uaspx function openPage(url) { window.open(url); } in Csprotected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { Image image = new Image(); ...
16 Jul 2013 by techchallenger
Hey see this http://nlakkakula.wordpress.com/2008/06/13/aspnet-ajax-control-toolkit-common-problems/[^]
30 Jul 2013 by Imran Hussain Mozumder
I have a calendar within the app itself. I want to add some appointment details on that calendar.So can anyone help me out, how to do this. I am using WPControl Package to show the calendar.My app is supporting Windows Phone 8 only.
30 Jul 2013 by Code-Hunt
Check the link..hope it will helphttp://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207038%28v=vs.105%29.aspx[^]
12 Aug 2013 by Imran Hussain Mozumder
I am developing an app, in which I created a calendar view using WPControl. Now I want to add some events to this calendar, I tried with SaveAppointmentTasks. But unfortunately it adds the events to the main calendar of the Phone. So how can I do this tasks, if anyone knows about that please...
1 Oct 2013 by woopsydoozy
I've got a CalendarExtender attached to my Textbox in a TemplateField of a GridView. Things are mostly working, but I want the user to be able to bypass the CalendarExtender and manually enter a date in the Textbox (and more importantly, to clear the date, as it is a nullable DB field). I've...
10 Oct 2013 by Sriram Ramachandran
GoogleLike.aspx.csusing System;using System.Collections;using System.Data;using System.Data.SqlClient;using DayPilot.Web.Ui.Enums;using DayPilot.Web.Ui.Events;using DayPilot.Web.Ui.Events.Bubble;using DayPilot.Web.Ui.Events.Calendar;using System.Configuration;using...
19 Aug 2012 by _Amy
Hi, Try setting the property CultureInvariantValues="true" in your CompareValidator .--Amit
11 Oct 2013 by ASP.NET Community
The AJAX Control Toolkit has a CalenderExtender extender control that pops up a calendar whenever the user clicks on the target control, or a popup
18 Oct 2013 by Sriram Ramachandran
I am using ajax calendar extendar. In...
20 Nov 2013 by Gitanjali Singh
Customizing the ASP.NET Calendar Control[^]Hope this will help
29 Nov 2013 by Member 10411550
i am new to android and i am using this in my app but i do not know how to show event in this on specific date please help me outhttps://github.com/tyczj/ExtendedCalendarView[^]
21 Jan 2014 by Member 10488678
protected void btnsub_Click(object sender, EventArgs e) { schedule ob= new schedule(); ob.u_id = Convert.ToInt32(txt_id.Text); bool isSubjectDuplicate = obj.schedule.Any(schedule => schedule.u_id == ob.u_id); if (isSubjectDuplicate == true) {...
21 Jan 2014 by Ron Beyer
One of two things is probably happening here...If test.date is a DateTime:You are comparing it to a string. DateTime.Today.ToString() is probably not returning the value you think it is (it probably includes a time). Debug and set a breakpoint at var res = and see what the value of res1...
26 Jan 2014 by rahulDer
i am using Ajax calendar extender in my asp.net site,I want a calender in which user should select either of two dates like 1).CurentDAte or 2)one Previous date before current date ..in following code ..i am able to select only current date ,but cant select one previos date before current...
26 Jan 2014 by hypermellow
You could always set the Start and End dates of the calendar when you create the page.csCalendar.StartDate = DateTime.Now.AddDays(-1);csCalendar.EndDate = DateTime.Now;This will restrict the calendar to only allow selection of the current date and the previous date.
20 Feb 2014 by Bernhard Hiller
That happens because IIS is running with a different locale which uses a different DateTime format.You must tell the parser which format to use. E.g.System.Globalization.DateTimeFormatInfo dtf = new System.Globalization.DateTimeFormatInfo();dtf.ShortDatePattern = "dd/MM/yyyy";string...
26 Feb 2014 by Muhamad Faizan Khan
i am using text box as calender (and that text box text mode is calender ).i want to save that text box date time into my db table (data type of column datetime) but this thing not workingobjClass.StartDateTime= Convert.ToDateTime(txtcalender.Text);here it is showing me error...
26 Feb 2014 by Dnyaneshwar@Pune
Use this codeDateTime dateValue;CultureInfo culture = CultureInfo.CurrentCulture;DateTimeStyles styles = DateTimeStyles.None;DateTime.TryParse(datetimestring,culture, styles, out dateValue);
26 Feb 2014 by Ramug10
Try this link Easy String to DateTime, DateTime to String and Formatting
13 Mar 2014 by Krunal Rohit
It is not the exact solution, but still you can get the idea how you can deal with the problem.http://stackoverflow.com/questions/11081198/ajax-calendar-extender-end-date[^]http://www.aspsnippets.com/Articles/AJAX-CalendarExtender-Disable-Future-Date-Selection.aspx[^]-KR
5 Feb 2015 by srikanth_ic
Hi,PlZz Help me any one.Here my problem is I want two date filed as “From” and “To”. “From” must me with is 7 days before today (if today is 6th feb 2015 it accepts only 31st jan 2015 to 6th feb 2015) and “To” date must be today or yesterday (5th feb 2015 or 6th feb 2015). If I select...
15 Feb 2015 by srikanth_ic
I found answer to this.http://forums.asp.net/t/2033949.aspx?asp+net+Validating+two+date+fields+when+1st+must+be+within+7days+before+today+2nd+is+today+or+yesterday
6 Mar 2015 by AnoopkumarS
objLoanApp.birthdate = DateTime.ParseExact(txtbirthdate.Text,"dd/MM/yyyy",null)
31 Mar 2015 by Parazival
function checkDate(sender,args){ if (sender._selectedDate
1 Apr 2015 by Parazival
just keep alert message in comment that's it k k
11 Oct 2015 by coolnavjot31
Hi,I am working in asp.net web application. I am using ajax calendar extender on textbox in my web application. My requirement is that i want to disable 29, 30 and 31 day of every month in ajax calendar extender. please give any idea or any link so that i can do this.
11 Oct 2015 by Krunal Rohit
Not the exact solution, but you can get some idea how to workaround for your problem.How to Restrict the Calendar Dates on Microsoft AJAX Calendar Extender[^]-KR
1 Jun 2017 by iiiii
hello friends, I used ajax toolkit 3.5 for calendar extender and i placed restrictions for a specific period on the calendar. I put this restriction on master page as a different period is selected by different login user. So according to login user period is restricted in whole application. ...
8 Dec 2018 by RickZeeland
I think this will not work with Windows Forms as it is an ASP.NET control, see explanation here: How to use ASP.NET AJAX Calender Extender[^] For Windows forms you can use the MonthCalendar, see explanation here: https://www.dotnetperls.com/monthcalendar[^] Here are some CodeProject customizable...
21 Nov 2020 by Member 12357524
CalendarExtender Does not shown when focus Full code
21 Nov 2020 by Sandeep Mewara
I think you need to register ajaxtoolkit in web.config instead of the page. Looking at the sample website here: AjaxControlToolkit/Web.config at master · DevExpress/AjaxControlToolkit · GitHub[^] Remove from your page and add to web.config...
19 Nov 2013 by Somasundharam Arjunan
var selected_Date=document.getElementById("calDOB").value;this is my code, i want to get selected date from asp.net calendar caontrol using javascript only
13 Mar 2014 by ravikhoda
Hi , i am using ajax Calendar extender control in my project to search by date. what is my need is i want to disable all the dates in the Calendar control. only first day and last day of any month should be enable for select. user must select date first of any month and last date of month ....
19 Nov 2013 by Arnaldo P. Castaño
Hi, I suggest you quit using any control from ASP. NET and start using Twitter BootStrap which is a powerful tool for developing flexible web applications. It includes a calendar control, much more beautiful and elegant that the one included in Telerik or any other web tool I´ve ever seen.
18 Oct 2013 by Tom Marvolo Riddle
Nothing wrong with your property.Before updating check it using IF conditionif(txtBxDay.text !=""){//your update query with date}else{//your update query without date}
20 Feb 2014 by ravikhoda
HI all,i am using textbox with calander extender and regular expression validation.i have set calender date format to dd/MM/yyyy. now when i get this date on c# side and convert that to datetime i am getting error string is not valid as datetime.here is my code.
29 May 2013 by Bhaumik Lathia
Dear, Thank u Can anybody has idea how to create custom calendar control in Windows application and web application using .NET
11 Jun 2013 by naveeen
hi to all, i want Hijri Calendar web-form source code please any body help me... urgent please ....
18 Apr 2012 by hilary.ahanthem.ht
13 Feb 2015 by Member 11240896
Hi How to use Date picker or CalenderExtender in asp.net C#How to add CalenderExtender in to my webpage How to use ScriptManager1 Ajax Please show me an easy way for using how to tag date form datePicker
11 Nov 2012 by christlin
store previous date values in to a string using a separator "&" and append all new string values to the old string.split the string with the character "&" and store it into an array of string.Get the count of array and create dynamic textbox controls with...
14 Jan 2013 by KuntalBose
http://weblogs.sqlteam.com/jhe...
3 Aug 2013 by Sai Janani
Hi,I have a column with date datatype in my DB. from a website, i am using a calendar control (using ajax) and i need to bind the value of the selected calendar to a variable of type date and then store it in db.I am using the following code in html and in my .vb page but getting...
6 Oct 2013 by Sunil Dhanerwal1
Dear Experts,Is it possible to put text in a calender in place of its date. Actually i have a project in which i want to show actual date and target date. what i want to do, i want to display target date and actual in different color and when user hover on date , it should display as target...
6 Oct 2013 by Thanks7872
I think you are looking for some thing like thisCreating an Event Calendar[^]Event Calendar [ ASP.NET 2.0 / C# ][^]
4 Dec 2018 by Member 14056689
i am not a code writer!! is there a simple explanation on how to use the calendar in a window form? What I have tried: dragging the calendar to the form and running it.