1
Vote

Description field error on 2010

description

The web part is great and works well but it seems to have a problem using the description field from a normal Events list as the tooltip. When I set it I get this error:
 
System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPFieldMap.GetColumnNumber(String strFieldName, Boolean bThrow) at Microsoft.SharePoint.SPListItemCollection.GetColumnNumber(String groupName, Boolean bThrowException) at Microsoft.SharePoint.SPListItemCollection.GetRawValue(String fieldname, Int32 iIndex, Boolean bThrow) at Microsoft.SharePoint.SPListItem.GetValue(SPField fld, Int32 columnNumber, Boolean bRaw, Boolean bThrowException) at Microsoft.SharePoint.SPListItem.get_Item(Guid fieldId) at CalendarWebpart.CalendarWebpart.cal_DayRender(Object sender, DayRenderEventArgs e)
 
Using the title works fine.
 
Thanks!

comments

nsergiu wrote Aug 6, 2012 at 12:55 PM

You should modify your selected list view to include the description field.

wrote Feb 14, 2013 at 8:14 PM