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 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
Kavitha,
Let me know if I may be of further assistance with this matter.
As an alternative to using a TemplateField, you can use a BoundDataField and set the FormatFieldMethod for the column and render html that consists of an image or html link that will open a new page where you pass the row that the button was clicked for as a parameter in the url. I have attached an example that shows this using an html input type button.
Note that in the attached sample I have removed the ig_res directory to make the attachment small enough to post here and you will need to add this back for styling.
I am doing new developement,The requrement is Grid with 4 levels of data and also in the
parent band i want some button,when clicking on that button it should navigate to anothe page.(How to do?)
I have dataset which has four (tables) level of data and relationships.
I tried with webhericaldatagrid ,When i am specyfing initialbandwidth="4" then it is working fine,
It is getting all columns,I want some of columns hide.So, i tried to bind using
rowislandpoplating,i am able to bind one level only,when i am clicking on child level
it is not going to rowislandpopulating.
Please assist me
My questions is
1)In this sceniro which grid is best suiltable?
2)If webhericalgrid is suitable one,then some sample code how to place imagebuttons?
3)I am sending my code,how to bind data in webhericaldatagrid with datset?
Thanks&Regards,
how to do?
You can follow the walk through in the help and replace the Button that is used for the CellTemplate with an ImageButton. Have you already done this?
As an alternative, if you are doing new development you may also want to consider looking at the WebDataGrid which has the capability to template columns and is newer grid control built on the ASP.NET AJAX Framework. There is an example of a template column in the WebDataGrid here.
If you have challenges with adding an ImageButton to the template of either grid control, let me know specifically what the challenges are and I will assist you.
I want sample on Ultrawebgrid which has template cloumn,the link which you sent i already used,but it is not that much useful.
Please send me sample which has some imagebuttons button in the templatecoumn of ultrwebgrid.
Thanks in advance
kavitha