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
1035
LoadOnDemand with rows created in code
posted

 Is there a way to use LoadOnDemand with a grid where I want to show 300 rows (with around 10 columns) with no sub-rows?   I am adding each row in the server code.  I tried marking some rows as Hidden, but I just realized that those rows still are sent to the Client.

Here is the method I use to add rows:

                UltraGridRow newRow = new UltraGridRow(true);

                newRow.Cells.Add(new UltraGridCell());
                newRow.Cells[PROJECT_NAME_COLUMN].Text = iGCProject.Name;
                newRow.Cells[PROJECT_NAME_COLUMN].Title = "";
                newRow.Cells[PROJECT_NAME_COLUMN].Tag = objPhaseInfo;

  ...

                uwgProjectList.Rows.Add(newRow);

Also, I need to have ViewState turned on for my grid, so I can tell what cell the user clicks on.

For me it is taking 10 seconds for this grid to load.  HELP!