473,473 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How force DayRender event of Calendar to run?

How can I force the DayRender event of my Calendar to run/refresh?

The calendar displays data from a database and I am allowing the user to
filter out what data they see on the calendar. When they click "Update
Calendar" I want to force the DayRender events to reprocess. I don't want
to simply do a response.redirect to the page.

Thanks.
Nov 18 '05 #1
2 4556
Never mind. I just put another control on the page that forced a postback
and it redrew the calendar.

Is there a better way? ;)

"VB Programmer" <Do*****************@jEmail.com> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
How can I force the DayRender event of my Calendar to run/refresh?

The calendar displays data from a database and I am allowing the user to
filter out what data they see on the calendar. When they click "Update
Calendar" I want to force the DayRender events to reprocess. I don't want
to simply do a response.redirect to the page.

Thanks.

Nov 18 '05 #2
You mean is there a way to execute DayRender without a return trip to
the server? No, there is not. You might be able to come up with (or
find) a client side calendar control with javascript to do this.

--
Scott
http://www.OdeToCode.com

On Mon, 13 Sep 2004 13:38:45 -0400, "VB Programmer"
<Do*****************@jEmail.com> wrote:
Never mind. I just put another control on the page that forced a postback
and it redrew the calendar.

Is there a better way? ;)

"VB Programmer" <Do*****************@jEmail.com> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
How can I force the DayRender event of my Calendar to run/refresh?

The calendar displays data from a database and I am allowing the user to
filter out what data they see on the calendar. When they click "Update
Calendar" I want to force the DayRender events to reprocess. I don't want
to simply do a response.redirect to the page.

Thanks.


Nov 18 '05 #3

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

Similar topics

0
by: Superman and the Seven Dwarfs | last post by:
when the page is loaded, the dayrender event is triggered, which displays content, such as holidays, on the asp:calendar control. how do i programmatically re- dayrender a calendar so that when i...
0
by: CodeRazor | last post by:
Hi, I have been using the DayRender event of the calendar control to format the appearance of my calendar control, and it works ok. However, because of the way the DayRender event works, it...
2
by: Bruce W..1 | last post by:
I want to change the display style of certain days in my Calendar control. This is done with the DayRender event. So I put this in the codebehind: private void Calendar1_DayRender (object...
1
by: VB Programmer | last post by:
In the DayRender event of my calendar I'm inserting various db info (into each Day "cell".) The problem is that I want the "Days" to be valigned to the top and left justified. Is the only way...
0
by: VB Programmer | last post by:
How do I force a Calendar to "re-process" without having to do a response.redirect to the page. Specifically I want to run the DayRender event of the Calendar.
1
by: Peter | last post by:
I tried to initialize a date in Calendar control with DayRender event handler as the following code: protected void Calendar1_DayRender(object sender, DayRenderEventArgs e){ e.Cell.ForeColor =...
1
by: RAB | last post by:
I want to highlight my calendar control based on the following code: Public Datelist as new System.Collections.Hashtable() 'DateList is filled with important dates from history Sub...
0
by: champagne.supernova1974 | last post by:
Hi Can anyone help with a quick question? I am adding a textbox into each "day" cell of a calendar control, by using the following code in the DayRender event: Protected Sub...
2
by: Tigers07 | last post by:
I've been banging my head on a problem all day and am looking for some advice. I'm fairly new to asp.net/vb.net so I appologize if this seems a bit elementary. Anyway, what I'm doing is displaying 12...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.