Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Custom Control Design -- Need Help


Message #1 by jaseiffert@p... on Wed, 18 Sep 2002 17:12:25
I am making a custom control of a Week View calendar. I want to make it 
work like the calendar control. The problem I have run in to is that in 
the calendar control on the aspx page you specify the function to run when 
the OnDayRender event occures. So you can add data to the calendar days. I 
want to do the same thing in my control, but I am not sure how to go about 
it. My control is to the point that it will display all the days of the 
week. I just need to some how setup an event, get the function that the 
user specifies in the OnDayRender="dayRender". and run the function. I 
know i need to send the cell object and the date of the cell to the 
function as eventArgs. Please help me with the steps needed to do this.

Please let me know if I have not clearly stated what I am trying to do.

Thanks,

JefferyS

  Return to Index