AJAX :: Calendar Extender - Make Some Dates Be Unable To Select?

Jul 17, 2010

ma using ajax toolkit calender extender and I wonder how I can make some dates unable to select. Lets say, today is 17.07.10 and I want before 15.07.10 dates to be unselctable. how could I do that?

View 1 Replies


Similar Messages:

AJAX :: Calendar Extender - Show Only Dates Of Current Month Not Previous Dates When User Clicks On Button

Sep 22, 2010

i want to use a ajax calender extender in which when user clixcks on button caleder show only dates of current month not previous dates.i dont want to disable dates. i should not apper on current month calender. means it should start from 1 and end to 30 or 31

View 3 Replies

AJAX :: Calendar Extender Not Saving Dates?

Apr 13, 2010

I am quite new to the toolkit and have run into a problem where I have an ASPX page with 3 textboxes linked to calendar extenders. I have a ImageButton to populate the textboxes with the date, but the 2 problems occur:1. The date appears correct in the textboxes, but I am getting an error saying a sting to date conversion error occured.2. When saving my data using the UATDate_CalendarExtension.SelectedDate value, the date in the text box is not saved, it keeps the previously saved date.

View 3 Replies

Control Dates In AJAX Calendar Extender?

Jun 12, 2010

i was working on calendar but i noticed both of the calendat are different Ajax and Windows,my problem is here i want to control my dates in AJAX Calendar Extendar

Calendar 1 Functionality should be-

Dates <Today(12/June/2010) then it should Disable(including previous Date month ,year )

Calendar 2 Functionality Should be-

should display only the dates which is being selected in calendar 1 i.e

if 13-june-2010 is selected in calendar 1 then

calendar 2 should display dates from 13-june-2010 onwards and rest of the previous dates should be disable

My HTML Markup for Calendar 1[Code]....

Calendar 2
[Code]....

View 2 Replies

AJAX :: AJAX Calendar Extender - Make Calendar Disappear When Another Calendar Opens?

Nov 17, 2010

I am using Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.I am using 2 Ajax Calendar Extender in my page. I am using a text box and html image control and setting the TargetControlID to the test box id and the PopupButtonID to the image control name. When i click the first image the calendar pops up and without choosing a date if i click the second image the second calendar control opens on top of the first calendar control. Is there any way i can make the previous one disappear without choosing a date leaving the calendar control associated with the last image clicked.

View 2 Replies

AJAX :: Calculate Date Difference Between Two Dates When Using Calendar Extender?

May 7, 2015

I want to calculate the total number of days from two "asp:Textbox" with datepicker. The result should be placed in the third "asp:TextBox"

the format of the calendar date is: dd/mm/yyyy. for example: 18/01/2015 and 21/01/2015

How to implement this in C#?

<asp:TextBox ID="txtDate1" runat="server" ></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate1" PopupButtonID="imgPopup1" Format="dd/MM/yyyy" />
<asp:TextBox ID="txtDate2" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDate2" PopupButtonID="imgPopup2" Format="dd/MM/yyyy" />
<asp:TextBox ID="txtTotalDays" runat="server" ReadOnly = "true"></asp:TextBox>

View 1 Replies

AJAX :: Disable Past Dates In Ajax Calendar Extender?

Jan 31, 2011

I am using ajax calendar extender to select the dates.I want to disable all the dates less than today. Means the user can't select those previous days ie the dates should be shown in grey color and users can't select it.

View 6 Replies

AJAX :: Best Way To Select Time In The Calendar Extender?

Jan 7, 2010

Probably the solution is very simple but can't find a solution in the web about this... Is there a way to select time in the Calendar extender? Need to specify also the time when a user select the date.

View 1 Replies

AJAX Calendar Extender Select Month And Year?

Mar 9, 2010

Is it real and how can I think about it.To make so the user will select only the month and year, not date, because he need a period on full month, not some date. here is simple control ...

<asp:TextBox ID="TextBox3" runat="server" />
<asp:CalendarExtender ID="TextBox3_CalendarExtender" runat="server"
Enabled="True" TargetControlID="TextBox3" />

but Calendar selects the day ... I need select the month.

View 2 Replies

Web Forms :: Select Dates From DB And Show On Calendar?

Jan 4, 2011

What i want is:: once the user select an item in a (dropdownlist) >> then SELECT dates from database and show them into the Calendar (in a specific color) .. How can i do that ?? Using C#, asp.net 3.5 , sql DB

View 7 Replies

AJAX :: Calendar Popup / Calender Extender Control To Select Date And Showing That Date In A Text Box?

Dec 9, 2010

am developing an application using asp.net+ajax.i used calender extender control to select date and showing that date in a text box.my requirement is when select date from the previous year (i.e 2009) from the calender extender control...then a message should show like"you should not select the previous year date" and immediately current day date should fill in textbox.

View 4 Replies

AJAX :: Using AJAX Calendar Extender Instead Of Calendar Control Possible On ASPX Page?

Jul 15, 2010

Currently, I am using Calendar control on ASPX page. Instead, I want to use AJAX Calendar Extender control because of the animation effect and the way it moves between years making if much more impressive than Calendar control.Is it possible to display Calendar extender on page permanently, just like Calendar control?

View 2 Replies

Modal Pop Up Calendar Control - Unable To Select A Particular Date

Feb 14, 2011

I am using a Calendar extender in a modalpopup when i click the image button the calendar extender should be displayed and when i click a particular date that date should be displayed in the textbox its working but what my problem is when i click the image button for the first time the calendar extender is displayed in the back side of the modal pop hence i am unable to select a particular date. but when i click the same image button for the second time the calendar extender will be displayed correctly.

View 2 Replies

AJAX :: "Year" Select Year Only From Calendar Extender?

Apr 13, 2010

i dont kn hw to do it, i'v a textBox "txtYear" and calndr ex "exYear"i want to select ' only year' when click on Year - it should not open months of that year i m shwng DefaultView="Years", bt need code to select year

View 4 Replies

AJAX :: Calculate The Duration Of Dates Between Two Calendar?

Dec 28, 2010

I am writing page to calculate the duration of dates between two ajax calender it is work outside the form view but when i but it inside form view

and if the format for the days is dd/MM/yyyy it is not work in correct way every time

this is the code

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

View 3 Replies

Web Forms :: Way To Get All The Dates That User Click Onthe Calendar ( Note The Dates Doesn't Get)

Nov 4, 2010

I need some pointers to start on this.We are building a time off application where three instances of a calendar control will be displayed ( prev - current and next month) now users can click on various dates accross all three instances and then a count of number of days should be diaplyed in the parent textbox.

To begin with this, i started with adding the dates clicked by the user in Calendar2_SelectionChanged method into a list<> so that i can get the all dates user clicked and then add it to calander's selected dates collection. But this throws an e" object reference not set" error.

Is there anyother way to get all the dates that user click onthe calendar( note the dates doesn't get highlighed so seleteddates doesnt work)does anyone has a good example for this.

View 2 Replies

AJAX :: Restrict The Calender Extender Between Two Dates?

Mar 28, 2011

I have two dates start date and End date. Iwant to restrict the Ajax calender control in beetween this dates.

View 2 Replies

AJAX :: Can 2 Calendar Extendar Populate 2 Textboxes With Different Dates

Jan 30, 2011

I'm using the calendar extendar to populate the "StartDay" textbox. However when i choose that "StartDay", i do not want that date to be valid when i choose another date to populate the "EndDay" textbox. Can it be done? i've tried any methods but it didn't seem to work.All i've manage to do was to check if the date was in the past.

[Code]....

View 4 Replies

Forms Data Controls :: Calendar In Detailsview / Unable To Select The Date?

Oct 14, 2010

why I cannot select the date into the box.

[Code]....

View 4 Replies

AJAX :: Highlight Multiple Dates In Calender Extender

Oct 19, 2010

I want to highlight the dates corresponding to an event (eg Jan 5-Jan 10) when the user clicks on the calendar extender.

ALso is it possible to restrict the the dates that can be selected from the calendar extender?

View 2 Replies

AJAX :: Highlight Specific Dates (holidays) In Calendar Control

May 7, 2015

I haveto use a calendar control to block the schedules of a trainer and have to mark the days in red color if it is confirmed otherwise yellow..So i was wondering which calendar control would be the best for this.. Should i go for Jquery calendar control or asp.net calendar control.

View 1 Replies

AJAX :: Disable Dates In One Calendar Based On Date Selected

May 7, 2015

I want to block Year From Calender .I have 2 text box in first text box i select Start Financial Year And in second Text End Financial Year.When i Select 2009 year in first text box then in second texbox all dates privious from 2009 will be block.

View 1 Replies

AJAX :: Disable Dates Of One Calendar Based On Date Selected In Another Using CalendarExtender

Apr 1, 2013

I have two text boxes (from date and to date). Based on your demo i have disabled the future date but my requirement is 

1). First i have select the from date. eg: 21-02-2013

2). Now i am selecting TO DATE. eg:21-01-2013 

Now my requirement is i need to disable dates until 21-02-2013 to current date. Then user not able to select ToDate as 21-01-2013 i need to provide only option to select from 22-02-2013 to current date.

<asp:Label ID="lbl_sel_date" runat="server" Text="Select Date: "></asp:Label>
<asp:TextBox ID="txtDate_from" runat="server" CssClass="disable_future_dates"></asp:TextBox>
<asp:ImageButton runat="server" ID="imgPopup" ImageUrl="~/Calendar.png" />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate_from"
PopupButtonID="imgPopup" />

[code]...

View 1 Replies

AJAX :: Calender Extender Customization - Disable Dates And Show Only Four Months

Jan 8, 2010

Is it possible to customize Ajax Calender Extender control ?. I want it to disable some dates and show only four month (Jan,Feb,Nov,Dec) while it load.

View 1 Replies

Web Forms :: Calendar Is Removing The Programmed Selected Dates Upon Selecting A New Date On The Calendar

Jan 14, 2011

When a user selects an item from dropdownlist ,, certain dates (from DB) gets selected on Calendar automatically with the color pink >> This is working FINE The problem happens after that, when i want to select any other date >> the dates which were selected automatically before (that came from DB) get deselected !! I want them to stay selected, so i know which are the dates that already saved in DB ! So, the calendar is removing the programmed selected dates upon selecting a new date on the calendar object.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved