Web Forms :: Calendar Control - Show Hours In Day?
Aug 18, 2010Is there a way to show hour in the calendar control?
View 1 RepliesIs there a way to show hour in the calendar control?
View 1 RepliesI'm trying to create a calendar control that is linked to a SQL database.
The meaning is to create an event calendar were the user can put in his info at a reservation page.
After filling everything in, the info is stored in a table on the database, the users must give in a start date of there reservation and an end date.
Now, I got everything to work so far, the calendar reads everything from the database, show it on the calendar and stuff... But only the first day.
I now what code to use for showing the first date, but I have no idea how to show the end date and all the days between.
Also the meaning is that when a person puts in a reservation, the background of the cell turns orange for "pending status", when the owner of the building agrees the color turns red for "reserved - not available"
This is the code I use for showing the dates:
[Code]....
how to show date and time in text box using calendar control
View 5 RepliesI have a Calendar Control which is getting certain dates from SQL database and shows them in gray colour using following SQL statements:
[Code]....
[Code]....
Everything works fine but I want to Show Location and Date also under the calendar control usnig Label control so when user clicks highlighted date it shows Date and Location (only the ones which are coming from SQL database and are highlighted) using Label control.
I have a AJAX calendar control it shows selection for specific date.
However I have an input control to key in just month. Can we modify the behavior of Calendar control to show only month/year selection but not the dates ?
I am trying to add ajax calendar control on page, and i don't know where I made mistake. When page shows up, and when I click on calendar image control does not show up.
Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="FrmAssignTaskPlaceOfDamage.aspx.vb" Inherits="FrmAssignTaskPlaceOfDamage" %>
i have 30 data. i want show 24 hours at 24 hours only a data.
View 11 RepliesI have a databound calendar control that loads the date from the database.The problem I have is that it defaults to todays date when the form is loaded, although when you scroll to the loaded date you see that the correct date is in fact selected. How can I force it to show the loaded date from the database from the start?
View 2 Repliesdefine OnClientShown client event for calendar, and you can set the mode to "year only" in this event,
[Code]....
I have an asp:Calendar (not ajax). When I set the selectedDate from codebehind to a date in another month, I'd want the new selected date to show (that is, show the calendar "page" with the new month. How do I do this?
calFromDate.SelectedDate = myDate 'works fine
calFromDate.ShowSelectedDate's Month 'pseudocode
The calendar resides in an updatepanel for speed purposes, but I don't think that has anything to do with anything...
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 Repliesi want to click on atextbox and show a calendar But i down want to use the calendar extender(Ajax toolkit)
View 2 RepliesI have a grid view which contains Hours as one of the columns.. now, i need to have a total hours in the footer (sum of hours for all rows).
View 2 RepliesI am having a textbox with calender extender to it. On button click i want to set focus to my textbox and i want to make the calender visible at that time.so i wrote on button click :
myTextbox.Focus();
But it is not showing the calender associated to it.
I want to be able to show dates on calendar on SelectedIndex event of dropdown list.. i.e. once a user picks a value from dropdown list according to that dates (from DB) will be selected on calendar..
This is the code i am using, but i am using it in a DayRendar event. (How can i link them) how can i make it work??
[Code]....
I want to bring values from Database and show in Calendar. Similar to Event Calendar.
It's like Just a normal calendar but with custom data should display on each day cell from Database with dropdownmenu of months and year.
have a problem...i have to show a calendar using datalists.....the format is like this:-
http://sualumni.org/event_calendar.aspi have to show upcoming events datewise...but that is seperate issue...but the point here is...how to program a datalist to show this form of calendar according to day name(sun, mon...etc.), month, number of days in a month
I need to develop a custom calendar/scheduler view in ASP.NET that show all days of the year, with the days in row header, and the months in a column header. Is this achievable in a gridview? If so, can anyone help me provide the basic logic to do this? If possible at all? I've looked at all of the calendar/scheduler controls out there, but none of them have a good full year overview, so I'm trying to develop a custom one and thought about the gridview. JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC 1 blabla1 blabla2 2 3 4 5 6 7 8 9 ...
View 2 RepliesI have a Calendar Control that I added text that show scheduled meetings on certain dates and it works okay.
The problem is that when I click on a date I need to http to another web page or sometimes goto a web page in the same web site. The problem is when the code that creates the hyperlink runs it replaces the text displaying "meetings" scheduled for that date instead appending the link to the date and retaining the "meetings" text that was already there.
Below is how I set that up with the code that adds the meetings followed by the url code that replaces the meetings text:
[code]...
or any other kind of link in my Calendar Control without clobbering whatever was in there? If it is not possible is there another way to link to another page after a date in the Calendar Control is clicked?
I have a calendar control in which i am loading data from db using the below method.
[code]...
What i want to achieve is in the selection changed event of the calendar.I would like to access the calendar selected cell value.I tried to look for a event in the selection changed method but unable to come up with any.Let me know if anyone came across this and able to access the value in the selected cell control value.
I have a calendar control where a user selects a date and then inputs info into a FormView control. Underneath the FormView is a GridView that shows all data from the SelectedDate on the calendar control. However, when the date is selected, all the information from the table ( from all dates ) is displayed.
[Code]....
And the code behind:
[Code]....
I'm trying to do something that should be very simple, but getting completely stumped on why it's not working.
I have a page that has a few calendar controls, and when the user clicks a date, I want it to toggle the value (in this case it's the "availability" of the date).
I don't want it to post back with every calendar click, so what I'm doing is:
1. During the dayrender event, a Hidden Field gets added to the day. (As it is created, the Hidden Field is added to an array so that it can be retrieved later.)
2. When the user clicks, the value of the Hidden Field is toggled using JavaScript.
3. Once the user is done marking unavailable days, they click a Save button, which gets the values, and saves them to the database.
The Hidden Fields are getting added, and toggling is working just fine. The problem is that when the user clicks the Save button, all the Hidden Fields and their values get cleared, so at the time of the save, it thinks the length of the Hidden Field array is 0.
I think it has something to do with the order in whcih the page is rendered, and the "Save" code executed, but I'm not sure how to fix it. I'm doing something almost identical on another page that works fine - the only difference is that on that page there are no calendar controls, so instead of being added at dayrender, the dynamic controls are added on page load.
If I wanted to add a Hidden Field for each day in a calendar, whose value I can change with Javascript, how do I go about it in a way that I can access the values when clicking a Save button?
I wanna use calender extender, but with 2 modifications.
1.) The calender itself must contain the 2 dropdown lists (one for year and other for month) and below these 2 lists there are dates (1 through 31) on selecting that the calender disappeares.
2.) Is it possible to have calender show only few years for example if I use calender for Age purpose then I want users to select only 1920 through 2000 so calender shows only those no of years.
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 RepliesI want to bring values from Database and show in Calendar. Similar to Event Calendar.
It's like Just a normal Ajax calendar but with custom data from Database on each date .