Hi All,
I am using the eventscalendar.dll in solation in my own website. I can get it to display and display data, however, when I click the next or prev link buttons I get a null refference exception. Points to note, I am binding it to a datatable that I generated from my middle tier buisness objects.
The exception is:
Object reference not set to an instance of an object.
at ControlSample.EventCalendar.cacheDataInViewstate(DataView dv) at ControlSample.EventCalendar.SetupRealData(IEnumerable data) at ControlSample.EventCalendar.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at ControlSample.EventCalendar.onVisibleMonthChanged(DateTime oldDate, DateTime newDate) at ControlSample.EventCalendar.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any ideas?