I have a page "ChangeEvent.aspx" that (using JavaScript) pops up a window. On the popup I have a "Cancel" Imagebutton. I am trying to get that button-click to close the popup and refresh the parent ("ChangeEvent.aspx").
The following code does accomplish closing the popup, but it's not...
What you get it exactly what I'm looking for. But in addition to what you get, my calendar is preceeded with the entire last week of April! I've recopied your code into mine and still get that.
How frustrating!
E.
On my calendar, the first week is Sunday, April 24th - Saturday, April 30th. That week shouldn't appear at all.
The last week is Sunday, May 29th - Saturday, June 4th. That one is ok.
Are we showing the same page?
E.
Umm, nope...
I would like that first week in May not to appear. I agree with you on the last week in May, though - it (appropriately doesn't appear). Secondly, for June 2005, it still shows 6 full weeks...
Hmmm...
E.
Full disclosure: I have this: Private Sub DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles cldPHOEvents.DayRender
RemoveExtraWeek(e)
...
And then this: Private Sub RemoveExtraWeek(ByRef e As System.Web.UI.WebControls.DayRenderEventArgs)...
Ca8msm,
I tried your code - at least I think I tried your code... This is verbatim what I tried: Dim blnRemoveFirstRow As Boolean = False
Dim blnRemoveLastRow As Boolean = False
Select Case e.Cell.ID
Case 1
If e.Day.IsOtherMonth = True And e.Day.Date.AddDays(7).Day = 1 Then...
rTomes - thanks very much! That will allow me to make clickable calendar "events". But aside from the items on the calendar being clickable with the LiteralControl, is it possible to detect when the day (cell) itself is being clicked?
Thanks,
E.
Geoff,
OK, the formula I got (as you can see) - but I have to manually fill the formula in for all cells. The dynamic named range looks complicated - isn't there an easy way to do that VBA?
E.
rTomes, thanks very much.
Ca8msm, thanks for catching that before I even read it :-) What your saying would be easier - but I do want those days on the calendar - just not the entirely extra week. Any (more) ideas?
Thanks!
E.
As soon as I set or even concatenate the text property of e.cell of the Calendar control, the dates of the calendar disappear. Those dates are the hyperlinks that fire the SelectionChanged event.
How can I change the text of each day (in DayRender) but still be able to detect SelectionChanged...
=IF((B88<>""), (A87+7),"")
I have a worksheet with two columns - A and B. Beginning in row #2, I would like a macro that would do the following two things:
- when a value is entered in column B, the macro should set the value of the same row's column A to 7 more than the previous column A's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.