Home Unanswered Active Tags New Question

Loading Resources ViewTypeResources Error

Hi,

I'm getting this error: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'ViewTypeResources' When i try to load appointments into a resources table.

I can get rid of the the error by adding ViewTypeResources into my dataTable but the records don't show on the calendar.

What value should this be set at? And what relevance does it have to DataColumnField ="ViewTypeResources"

Thanks for any suggestions

Asked by Anonymous 4 years ago.
Replies
DataColumnField it the data source field that will be used to match the events with the resources. You should use the same field when creating the Columns collection (for Value property).

In other words, when rendering the Columns, DayPilot selects only those events that have ColumnId (coming from DataColumnField) equal to Column.Value.
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java