Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Filter column name contain any space display error in SPgridview

$
0
0

ERROR: SPGridView_FilterCallbackErrorHandler() was called - result=DataBinding: 'Microsoft.SharePoint.WebControls.SPDataSourceViewResultItem' does not contain a property with the name 'Author Name' 

Me.gridView.FilterDataFields =Author Name,EmailID"

Me.gridView.FilteredDataSourcePropertyName = "SelectCommand"

Me.gridView.FilteredDataSourcePropertyFormat ="<View><Query><Where><Eq><FieldRef Name='{1}'/><Value Type='Text'>{0}</Value></Eq></Where></Query></View>"

Please advice on this issue.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>