473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

calendar event sequence

I'm trying to customize calendar days using data in a table. Some days may
have corresponding rows in the table giving counts for that day. I'm not
clear on when I should get the data from the table so it is available for
DayRender event.

In some cases the SelectedChanged event causes the calendar to refresh, in
others it would be a FormView ItemInserted event.

Which event is best to use so the data is present in the DayRender event?
Obviously I don't want to create the dataset in this event as it would
trigger 30~ times per postback.

Thanks for any insight.

I need to load a dataset to respond to Calendar DayRender event. I need this
data set to be present also for SelectionChanged event and events on a
FormView ItemInserted etc.

Wh
Jul 17 '06 #1
1 1664

You can check this out for some ideas:
http://www.codeproject.com/aspnet/MellDataCalendar.asp
The dataset should be created once in the pageload.

The url above, he uses the dataset filter property to find matches with the
day.
...


"Dabbler" <Da*****@discussions.microsoft.comwrote in message
news:C7**********************************@microsof t.com...
I'm trying to customize calendar days using data in a table. Some days may
have corresponding rows in the table giving counts for that day. I'm not
clear on when I should get the data from the table so it is available for
DayRender event.

In some cases the SelectedChanged event causes the calendar to refresh, in
others it would be a FormView ItemInserted event.

Which event is best to use so the data is present in the DayRender event?
Obviously I don't want to create the dataset in this event as it would
trigger 30~ times per postback.

Thanks for any insight.

I need to load a dataset to respond to Calendar DayRender event. I need
this
data set to be present also for SelectionChanged event and events on a
FormView ItemInserted etc.

Wh

Jul 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Charles | last post by:
Hello, I would like for my users to have a calendar control only when needed. IE button click for the control to appear and then once the date is selected. Populate a text box and the calendar...
6
by: Jeff S | last post by:
I would like recommendations for implementing a calendar in an ASP.NET web site. My plan is to store date and event information (e.g,, "Spring Sale") in a database, and when the page is requested,...
4
by: VB Programmer | last post by:
I have a bunch of events and appointments in a sql server db. What is the best way to fill a calendar with this data? As I switch months I want it to repopulate with the "current" months data. ...
5
by: Peter | last post by:
Is it possible to span / display a graphic in the web calendar control that spans more than one cell / day? Does anyone have an example of this? Thanks Peter
4
by: Jason Chan | last post by:
How can I get the month and year a calendar control current displaying? My problem is I want to load a list of event to a calendar so that it display difference style if there a event for a day....
2
by: Mariano Padilla | last post by:
The calendar control only has the event of SelectionChanged to detect if the user clicks on the calendar. I have 2 calendars on a form, one for arrival date one for departure date. Every time a...
3
by: thorpk | last post by:
I posted this problem earlier in the month and some one decided it was better to change the subject and ask a completely different question. I am therefore reposting. I am hoping some one can...
1
by: abhishekbrave | last post by:
The code below is opening a calendar on mouse over in the same window. I need the calendar to be opened in new window. Have to fulfill this requirement urgentely so posting the whole code here. I...
1
by: swethak | last post by:
Hi, I am desiging the calendar application for that purpose i used the below code. But it is for only displys calendar. And also i want to add the events to calendar. In that code displys the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.