Multiplerecord editing in Datagrid
I have this big datagrid with m X n rows.
It uses the hotmail model and has a set of data.
The user wants to be update and edit at the same time and they do not want to have edit/add buttons on each row.So I created a big grid with checkboxes for selection and based on whether a guid is retrieved or not I update or insert the value.I do this from the Save Button Event Handler.
Is there some way to achieve the following:
1.Handling Insert Rows - I am able to add rows but I want to save what the user has typed in.I try to create a Save State and save the datagrid contents into the db and then recreate the datagrid and then add the new rows.For some reason this is not working?
I create the Datagrid in the page load event and I do not check the postback as that does not seem to be necessary hre.
2.I have two button columns - Copy Line and Copy an Item.When the user clicks on a Line I need to copy the line to the next empty row.
Again How do I save the state so the changes are not lost.If I save the grid after every textchanged event performance gets hit?
Saving it into the session did not work?
Thanks,
|