Adding blank row to Webgrid

1 reply. Last post: October 16, 2009 12:15 AM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

HI,

 

We're having problems adding a blank row to a webgrid with a filter defined. We have a webgrid that is bound to an objectdatasource and when the user executes a filter on client side, if there is no matching records, we want the webgrid to display at least one blank record row.

Is there any way to achieve this? We have tried adding logic to the GetData method of the datasource to check if no rows are returned to add a new blank row, but this does not show up on the grid.

Thanks

Bunmi

All times are GMT -5. The time now is 11:34 PM.
Previous Next