N
Nilesh
Hello,
I am trying to extend the Calendar Control to add a event for a Day
Click.
Currently we have a "SelectionChanged" event.
I would like an event to be fired on "DayClick"
I extended the calendar control and added the following
//
public event EventHandler DayClick;
protected void OnDayClick(object sender, System.EventArgs e)
{
if(DayClick != null)
DayClick(sender, e);
}
//
I added the extended calendar control to a user control and added the
following code there
//
this.ncalVis.DayClick += new
System.EventHandler(this.ncalVis_DayClick);
protected void ncalVis_DayClick(object sender, System.EventArgs e)
{
//Event Fired
}
//
Surely I dont understand the event stuff good enough.
How do I join the clicking on a day link in a calendar to the event
that I have declared???
Thanks for the help.
I am trying to extend the Calendar Control to add a event for a Day
Click.
Currently we have a "SelectionChanged" event.
I would like an event to be fired on "DayClick"
I extended the calendar control and added the following
//
public event EventHandler DayClick;
protected void OnDayClick(object sender, System.EventArgs e)
{
if(DayClick != null)
DayClick(sender, e);
}
//
I added the extended calendar control to a user control and added the
following code there
//
this.ncalVis.DayClick += new
System.EventHandler(this.ncalVis_DayClick);
protected void ncalVis_DayClick(object sender, System.EventArgs e)
{
//Event Fired
}
//
Surely I dont understand the event stuff good enough.
How do I join the clicking on a day link in a calendar to the event
that I have declared???
Thanks for the help.