I just downloaded the event calendar control from My Club Site web site and was looking for some direction on how to implement this control.I'm
assuming the control needs to be compiled and then added to the tool bar. Does anyone know of any write up or how to papers that I can possibly follow to implement this control on a different site?Let
me know if anyone can help get me started.
Put the .dll file in your bin folder.( if the bin folder does not exist add it by right clicking on the root in solution explorer and select Add ASP.net folder | bin)
You can add to your toolbar by right clicking and selecting Choose Items, then browse for the dll and add it.
Then add a namespace at the top of the page using the control.
"There was an error rendering the control. is neither a DataColumn nor a DataRelation for table"
What am I doing wrong?
Can someone post a sample of the code on the ASPX page please?
u get the error because u have to set the following property
DayField
=
"EventDate"
and this field "EventDate" should come a database field.
ie look at the database which comes with clubstarter. in that database u vl have a table called as "events" and u vill have field "starttime" which is date field
in my case i have a table called "events" and have a field as "eventdate" which is mapped to sqldatasource and mapped to eventscalender control
further u need copy the css of events calendar to ur site to properly render the control.
i had been struggling with this for a long time and finally got it today,
Jai Ganesh. J, IDC, India
Please Mark As Answer If my reply helped you.
mnj1mxd
0 Points
2 Posts
Event Calendar Control
Oct 13, 2007 12:45 AM|LINK
MaineOne
Contributor
2087 Points
469 Posts
Re: Event Calendar Control
Oct 19, 2007 11:58 PM|LINK
Put the .dll file in your bin folder.( if the bin folder does not exist add it by right clicking on the root in solution explorer and select Add ASP.net folder | bin)
You can add to your toolbar by right clicking and selecting Choose Items, then browse for the dll and add it.
Then add a namespace at the top of the page using the control.
<%@ Register TagPrefix="ec" Namespace="ControlSample" Assembly="EventCalendar" %>
Then you should be able to add it on the page.
jesibl
Member
43 Points
104 Posts
Re: Event Calendar Control
Jun 01, 2008 11:20 PM|LINK
I did all that but now there is the error:
"There was an error rendering the control. is neither a DataColumn nor a DataRelation for table"
What am I doing wrong?
Can someone post a sample of the code on the ASPX page please?
Ganesh@Nilgr...
Contributor
6074 Points
2354 Posts
Re: Event Calendar Control
Aug 29, 2008 11:42 AM|LINK
u get the error because u have to set the following property
DayField
= "EventDate"and this field "EventDate" should come a database field.
ie look at the database which comes with clubstarter. in that database u vl have a table called as "events" and u vill have field "starttime" which is date field
in my case i have a table called "events" and have a field as "eventdate" which is mapped to sqldatasource and mapped to eventscalender control
further u need copy the css of events calendar to ur site to properly render the control.
i had been struggling with this for a long time and finally got it today,
Please Mark As Answer If my reply helped you.
sridgway
Member
2 Points
1 Post
Re: Event Calendar Control
Jun 11, 2009 12:05 PM|LINK
I'm still struggling with this:
"There was an error rendering the control. starttime is neither a DataColumn nor a DataRelation for table"
not sure how to fix and don't understand solution above - please help!!!!
It does work locally - although in the design view in VWD 2008 express it does show the same error message
gunjansa
Member
192 Points
109 Posts
Re: Event Calendar Control
Jun 13, 2009 11:46 AM|LINK
Here you may use this:
http://graymattersoft.com/NETProducts/GMDatePicker/Demo/tabid/71/Default.aspx
<input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>Ganesh@Nilgr...
Contributor
6074 Points
2354 Posts
Re: Event Calendar Control
Jun 16, 2009 10:53 AM|LINK
u get this error becuse it expects a field of "DataTime" from table , datatable or any source
once u set the "EventDate" u should be able to get the design view in the aspx page
Please Mark As Answer If my reply helped you.
Ganesh@Nilgr...
Contributor
6074 Points
2354 Posts
Re: Event Calendar Control
Jun 16, 2009 10:53 AM|LINK
u get this error becuse it expects a field of "DataTime" from table , datatable or any source
once u set the "EventDate" u should be able to get the design view in the aspx page
Please Mark As Answer If my reply helped you.
Ganesh@Nilgr...
Contributor
6074 Points
2354 Posts
Re: Event Calendar Control
Jun 16, 2009 10:53 AM|LINK
u get this error becuse it expects a field of "DataTime" from table , datatable or any source
once u set the "EventDate" u should be able to get the design view in the aspx page
Please Mark As Answer If my reply helped you.
kapshasija
Member
137 Points
130 Posts
Re: Event Calendar Control
Jul 06, 2011 06:00 AM|LINK
use this link
may it will help you
http://www.c-sharpcorner.com/UploadFile/sd_patel/ASPNetCalendarControl11222005054337AM/ASPNetCalendarControl.aspx
choice is yours
www.logiccafe.in
calander