Wednesday, May 13, 2009

Why my Infragistics Grid was not firing the paging event and not binding properly.

I use a base class for all the infragistics grids in my project so that if anything changes tomorrow, I can change it from one place. The problem was happening because I was doing the following within initialize data source of my code, which is really conditional, and should not be turned on for grids which do not need this functionality:

            base.Browser = Infragistics.WebUI.UltraWebGrid.BrowserLevel.Xml;
            base.DisplayLayout.LoadOnDemand = Infragistics.WebUI.UltraWebGrid.LoadOnDemand.Xml;
            base.DisplayLayout.ViewType = Infragistics.WebUI.UltraWebGrid.ViewType.Flat;

No comments:

Post a Comment