search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Loading Resources ViewTypeResources Error

Asked by Anonymous
17 years ago.

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

Comment posted by Dan Letecky
17 years ago.
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.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.