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.
i have two text boxs for 'start date' and 'end date'. I am using the CalenderExtender to display the calender to pick the date. how can i make sure the end date is some day that is after the start date? need some way to validate the end date...i have the html code
I have a Formview in INSERT Mode that is binded to a datatable. One of the colums in my Database called "AppointmentDate" is of type DateTime. On aspx, i have a ajax calender extender control. What I want to do is allow the User to Select the date from the Calender and also enter a time. Basically so they can make an appointment. What is the best way to do this in C Sharp and do i need a time column as well
When I run my page and select a month with the small arrows, I get the year view instead. It looks like the width of the year is too wide and overlapping the arrows as the year is still highlighted when I hover over the arrows.It may be that theres some css styling thats overriding somewhere but how can I set the width of the year section.
i m using calenderExtender control, here i want to restrict the user not able to select future date its also working fine , now i want to restrict the user cant select future date than current day+7 (next day)
if today is 10 march then he can select next 7 days means till 17 march bt he cant select 18 march
suppose I have appointments and events on certain dates.I want to show this on a calendar that shows all 30 days by having the date bold.Further more, I want the user to be able to hover over that bolded date, and have a popout that will display the appointment/event name and details.
A run time problem occured in my website. While i was using ajax calenderextender and asp.net2.0 dropdownlist in different rows. Now, when user clicked on popupbutton a popupcalender will open but it was override(overwritten) by dropdownlist which was looking very much odd as a user
I'm using the AJAX Control Toolkit with VS2008 Professional and I'm experiencing a weird problem with the date format.I have two textboxes on a webpage for inputting dates. The date format I wish to use for both textboxes is MM/dd/yyyy. One textbox has a calendar extender attached to it and the other doesn't. When I first load the page, I set the first textbox (the one with the calendar extender) to today's date and then I call a function inside the code-behind for the page that calculates the value of the second textbox's date and displays it.
t the date format of the first textbox is M/d/yyyy as long as I have the calendar extender on the page. If I remove the extender, everything is okay.Here is what the page HTML looks like: [Code]....
Here's the vb code from the page code-behind: [Code].... [Code]....
I would like to set a default date, not the current date ( say 31/11/2011) for the calender control. What date format should I be using for the datetime variable so the calender control accepts the date. I have tried using the following date format but I keep getting the error: String was not recognized as a valid DateTime.
Or is there another way to set a date for the calender control.