I am Ultrawebgrid control which is associated with a SQL datasource for displaying while i create the grid i have added 5 rows and my project only needs one row . I need to delete other rows in the grid. Could some help me on this to delete the rows.
I am here with attaching the screenshot for the rows and need to delte the highlighted rows.
Hi, shiv_dsnair.
It has been some time since your post but in case that you still need assistance I will be happy to help.
Please note that the UltraWebGrid is outdated. I suggest that you use the WebDataGrid control.
The grid displays the data supplied in the data source itself so you should set the relevant select parameters for your SqlDataSource in order to display just one row in the grid.
As for the deletion of rows, you have to enable the “Row Deleting” and "Selection" behaviors. You can find related samples at the following links: http://samples.infragistics.com/aspnet/Samples/WebDataGrid/Editing-and-Selection/Delete-Rows-Server-Events/Default.aspx?cn=data-grid&sid=dfe1833a-5c56-4f57-a7fd-35bcac1af95f
http://samples.infragistics.com/aspnet/Samples/WebDataGrid/Editing-and-Selection/Delete-Rows-Basic-Features/Default.aspx?cn=data-grid&sid=8ad22332-bd3a-4fdf-ba35-e3f4d8c49b9b
Please let me know if this helps.