Hi,
I am using infragistics.WebUI.UltraWebGrid.v3 ,
It is taking time to load when we have large amount of data,
So i am tring to use LoadOnDemand,but when i am setiing Browser="Xml" and
LoadOnDemand="Xml"
it is giving following error:
'Xml' is not a valid value for attribute 'Browser'. It must be of enum type 'Infragistics.WebUI.UltraWebGrid.BrowserLevel'.
and also code behind side DisplayLayout.XmlLoadOnDemandType is also giving following error:
'Infragistics.WebUI.UltraWebGrid.UltraGridLayout' does not contain a definition for 'XmlLoadOnDemandType'
Please suggest me how to improve performance of page.
Thanks,
ARMS
Hello,
The two properties you are setting are enumerations and can be set with the following code:
this.UltraWebGrid1.Browser = BrowserLevel.Xml;this.UltraWebGrid1.DisplayLayout.LoadOnDemand = LoadOnDemand.Xml;
Note you will also need to add a using (C#) or Imports (VB) statement for the Infragistics.WebUI.UltraWebGrid namespace.
You may also want to refer to the Using XML Load-On-Demand topic in the help.
Let me know if you have any questions with this matter.
Hi Alan,
I am using Loadondemand feature. Every thing works fine.We are using custom templatecolumn which contains Checkbox, linkbutton etc. Now i check few checkboxes and then scroll the grid.As you know when we scroll the grid according to loadondemand feature next chunk of rows gets initialised. template column is not again loaded.
ie, Same checkbox rows are displayed even after scrolling the grid.
If possible Please reply ASAP.
protected
e)
{
);
)
col.CellTemplate =
();
}
)col.CellItems[e.Row.Index]).Controls[0];
cb.Text =
+ e.Row.Index.ToString();
cb.Attributes.Add(
I placed
then it is giving following error
'Infragistics.WebUI.UltraWebGrid.BrowserLevel' does not contain a definition for 'Xml'.
One more question,Can you please send me the sample code of ultragrid which has template columns.
Kavitha