CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 8/6/2003 2:08:20 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
westmich
Asp.Net User
Can't set calendar properties8/6/2003 2:08:20 AM

0/0

In case I haven't said it, thanks again for the help I've got around here. I'm still quite the newby at ASP.NET. At any rate...

I am trying to programmatically add a calendar to a datalist. When I attempt to set the OnDayRender I get the following error -

Compiler Error Message: BC30390: 'System.Web.UI.WebControls.Calendar.Protected Overridable Overloads Sub OnDayRender(cell As System.Web.UI.WebControls.TableCell, day As System.Web.UI.WebControls.CalendarDay)' is not accessible in this context because it is 'Protected'.


Is there anyway around this?


Sub dlSchedules_OnItemDataBound(sender as Object, e as DataListItemEventArgs)
Dim i as Integer = 0
If e.Item.ItemType <> ListItemType.Header AND e.Item.ItemType <> ListItemType.Footer Then
iEmployeeID = MonthTimeScheduleDS.Tables(0).Rows(i).Item(1)
Dim calSchedule as New Calendar
calSchedule.VisibleDate = Now.ToString()
calSchedule.CellPadding = 2
calSchedule.CellSpacing = 0
calSchedule.DayNameFormat = "Short"
calSchedule.FirstDayOfWeek = "Sunday"
calSchedule.Height = Unit.Pixel(150)
calSchedule.NextPrevFormat = "ShortMonth"
calSchedule.SelectionMode = "Day"
calSchedule.TitleFormat = "MonthYear"
calSchedule.Width = Unit.Pixel(263)
'calSchedule.OnVisibleMonthChanged = "EmployeeCalendar_OnVisibleMonthChanged"
calSchedule.OnDayRender="SetCalendarClass_OnDayRender"

e.Item.Controls.Add(calSchedule)
End If
End Sub


I've thought of placing the calendar control in the datalist itself, but figured it would be an issue with needing a unique ID.
Andy Smith
Asp.Net User
Re: Can't set calendar properties8/6/2003 8:05:47 AM

0/0

the OnEventName syntax is for the tag.
with vb, progmatic attachment of eventhandlers looks (something) like this:
AddHandler calSchedule.DayRender, calSchedule_DayRender
westmich
Asp.Net User
Re: Can't set calendar properties8/6/2003 10:29:14 AM

0/0

Thanks, that seemed to take a step forward, but gave me an error I've never encountered before when adding event handlers -

Compiler Error Message: BC30455: Argument not specified for parameter 'e' of 'Public Sub SetCalendarClass_OnDayRender(sender As Object, e As System.Web.UI.WebControls.DayRenderEventArgs)'.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
VB & VBA in a Nutshell: The Language Authors: Lomax, Pages: 650, Published: 1998
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006
Outlook 2007 All-in-One Desk Reference For Dummies Authors: Jennifer Fulton, Karen S. Fredricks, Pages: 816, Published: 2007
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Using Microsoft Outlook 2000 Authors: Gordon Padwick, Helen Feddema, Pages: 1488, Published: 1999

Web:
Can't set calendar properties - ASP.NET Forums Re: Can't set calendar properties. 08-06-2003, 4:05 AM. Contact ... Re: Can't set calendar properties. 08-06-2003, 6:29 AM. Contact ...
Can't set calendar properties - ASP.NET Forums Can't set calendar properties. Last post 08-06-2003 7:46 AM by westmich. 2 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Calendar:GDATA Provider - MozillaWiki 4.5.5 Why can't I create tasks on a Google Calendar? 4.6 Attendees .... If you open the calendar properties dialog by right clicking in your calendar list, ...
Specifying exceptions to recurring calendar events « Jon Udell Aug 28, 2008 ... The Mozilla calendar in general claims to have supported edits to individual occurances since 0.3. I can’t work out if iCal supports it or ...
User can't change anything in his own calendar in Outlook 2003 ... User can't change anything in his own calendar in Outlook 2003. ... 5, Permissions tab is missing in Calendar properties in Outlook 2003 · Outlook Groupware ...
Bazillyo's Spiffy DHTML Popup Calendar v 2.0 (beta release ... displayLeft - boolean - you can set this property to true for a ctlSpiffyCalendarBox if you want the Calendar part of the control to popup to the left side ...
Automating the Calendar You can set the .ReminderMinutesBeforeStart property all you like, but if you don't set the .ReminderSet property to True, you won't get a reminder. ...
Outlook Calendar Training Scheduled events don’t appear as a block of time on your calendar. ... Once the name appears on this Permissions properties page, you can set permissions. ...
earthli Software > Javascript Calendar The calendar looks a bit nicer without it, but isn't as easy to use if you need to scan ... You can set these properties globally, so that all instances are ...
API Reference Guide - Google Calendar APIs and Tools - Google Code Note: The max-results query parameter for Calendar is set to 25 by default ..... To indicate that the specified users can edit the calendar but can't change ...

Videos:
Operation 20k my sponsor dosen't help me WARNING!!! Cerron Pritchett 708-880-0844 [email protected] http://www.theoperation20k.com http://www.myspace.com/cerronpritchett Operation 20k has begun a...
Structuring Personal Information When Everything Can Be Saved and Searched... Google TechTalks May 17, 2006 William Jones William Jones is an Research Associate Professor in The Information School at the University of Washingt...
Cash Gifting Prince Shows $26,000 Payday!! http://www.simplecashcrusade.com/ http://www.myspace.com/dalecampbell77 Cash Gifting Is The Only Way! I love cash gifting and ca...
Cash Gifting Scam Illegal Pyramid http://www.neverendingsuccess.com/?id=rodvandam Contact Details: Rod Olguin Skype Name: rodvandam Phone: 514.961.6681 Email: [email protected]...
Cash gifting Mentor Mike Hobbs Is Changing Lives in Utah with (cashgifting) http://www.DoorStepATM.com Google me now (Mike Hobbs) http://www.doorstepatm.com cash gifting mentor and leader in the cash gifting field shares...
The 11th Hour Narrated by Leonardo DiCaprio, this captivating documentary explores the perilous state of our planet, and the means by which we can change our cours...
www.moldytoaster.com erbum sat_. I would have you be careful to _sort_ your pleasantries. Your soup jokes (never hazard that one about Marshal _Turenne_, it is really _t...
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming environmen...
EarningsCast - Google Q2 2006 Earnings Call in Full. EarningsCast creates Podcasts of Company Earnings Calls. You can see the full complement at http://www.earningscast.com. This is the Q2 2006 Google e...
Lec 29 | MIT 5.111 Principles of Chemical Science, Fall 2005 The Shapes of Molecules: VSEPR Theory (Prof. Catherine Drennan) View the complete course: http://ocw.mit.edu/5-111F05 License: Creative C...




Search This Site:










modules missing from 3.1.1

index 0 is not non-negative and below total rows count.

please help! how do i change variable names?

programmatically impersonating a domain user when necessary

add quantity ad frontpage,

quiz with vb/sql

calculate multiple columns amount

userdata comes empty when cookie is decrypted..

trying to override initialize method in custom membership provider...

error on login in dnn 3.0.7

invalid authentication element

cost of visual web developer 2005

do you think mcad is important?

multiple iis sites sharing ddl and controls

progress on c#nuke?

a really weird problem with requiredfieldvalidator

accessing application state objects in .cs files???

how can you create user list report - since the info is blobified?

what is a portal?

replication database

dataset creation error

custom module with custom pages?

ca not view .aspx files in the server

help me install dnn on jodohost.

loginview - controls shown to all roles?

does it change the html code?

dnn2 container removal?

how to change a string to a control ??????

componentart menu provider?

composite control on ascx

 
All Times Are GMT