System.Web.UI.WebControls.DataGrid data is lost if more than 3 rows are submitted
Posted on 2013-01-25
I have a data grid with a number of columns for the user to fill in. If they fill in up to three rows of the grid, the data comes over to the server and everything is fine.
If more than three rows are entered, although it appears that the data is present in the Request object, the DataGrid itself reports no rows.
What might be the cause of this and how can I fix it so there isn't this 3 row limitation?
Just to be clear, I logged Request.Form.ToString()) and I can see the grid data in the log, but if I check grid.Item there is no data, grid.Item.Count returns 0.