I have a grid that if it is empty I want to open up an insert form on page load and fill in some default values.
Most of the code works except for this.
Now this works if there is already a record in the grid, but if the grid is empty then it doesn't work.
after this is supposed to fire I am wanting to use the grd.MasterTableView.GetInsertItem() to grab controls and set default values.
Any ideas?
Thanks,
Dustin
Most of the code works except for this.
rgvAgmtUsers.Items[0].FireCommandEvent(
"InitInsert"
,
string
.Empty);
Now this works if there is already a record in the grid, but if the grid is empty then it doesn't work.
after this is supposed to fire I am wanting to use the grd.MasterTableView.GetInsertItem() to grab controls and set default values.
Any ideas?
Thanks,
Dustin