Hi
I am trying to remove selected rows from Ultragrid on button click event. Pls find below code.
if (this.ultragrid1.Selected.Rows.Count > 0)
{
this.ultragrid1.Selected.Rows.AddRange((UltraGridRow[]) this.ultragrid1.Rows.All);
this.ultragrid1.DeleteSelectedRows(false);
}
but i m getting vshost.exe error while running it. What is the reason for this error and how can i achieve removing selected rows from UltraGrid. If what i m doing is wrong, please provide alternate solution.
What's the error? Can you post the call stack?