Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
NullReferenceException while Sorting
posted

I'm using UltraWebGrid on my web page. I've implemented my grid using LoadOnDemand set to XML. Paging is working fine for me but whlie sorting I get the following error when I call DataBind from InitializeDataSource.

 [NullReferenceException: Object reference not set to an instance of an object.] Infragistics.WebUI.UltraWebGrid.RowsCollection.Sort(Boolean caseSensitive) +820 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.SortGroupRows(RowsCollection rows) +150 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.PerformGroupRows() +213 Infragistics.WebUI.UltraWebGrid.DBBinding.BindList(IEnumerable datasource) +1984 Infragistics.WebUI.UltraWebGrid.DBBinding.DataBind(Object dataSource, String dataMember) +1265 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.DataBind() +855

Any help even a link to some knowledgebase article will be much helpfull. Quick response will be much appreciated.