Hi,
I testing the performance of the UltraWebGrid in my test project using a profiler.I'm using Infragistics2.WebUI.UltraWebGrid.v7.2, Version=7.2.20072.61
I'm working without viewstate and I'm binding my grid on every postback, I found that every postback the LoadPostBack method of the grid is called (even if I don't touch the grid on the client side).It deserializes an encoded xml from the Request.From (in case that I didn't touch the grid you still have an xml there which contains an empty element).
Actually the thing that takes most of the time is serializer.GetXmlReader and not the deserialization itself.I tried to remove the grids key from the Request.From (in case that it's an empty xml) and saw that performance increases. But it's a hack that can work only if the grid is not touched on the client side.
Is this a known issue? or I'm doing something wrong?It there a way to overcome this perfformance issue?
Hello SimonYoffe ,
Have you set EnableViewState = False of the UltraWebGrid
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1?page=WebGrid_ViewState.html
Anyway I do not recommend switching ViewState off completely, because after postback the grid will not be able to "remember" its state if ViewState is disabled. This is due to the stateless nature of HTTP, the ViewState is simply a "hack" around it to deal with these types of situations.
http://forums.infragistics.com/forums/p/11335/42915.aspx#42915
Please let us know if you need further assistance regarding this.