Hello,
I have a following problem in coding a particular requirment:
There is a single gridview to which I need to bind different tables at runtime. Moreover, the gridview should have update, edit, delete operations possible.
However, The conditions are:
1. The editing of row should happen on Double Clicking the particular row (this also means, there should not be any link for Edit) in gridview.
2. The Delete Link Should be there in Gridview, but the on clicking that, the value in rows should not get deleted from database/ from gridview. However, It should just turn that particular row Red in color and as well as disabled. (There should not be any change in database like creating a status column or so to store the status of record in a row.)
3. The Update link is not there, so we need to have seperate button at the bootom of gridview to update the record depending on selected table.
4. The Cancel Editing Function should be achieved by using the Single Click of mouse anywhere in gridview.
Note: I want that the deleted item to be "shown" in red color only. However, no new field should be created in database to store the status or so. So, it is possible using javascript/ Client side scripting but on postback i.e. after page load it again gives problem. Now, I want such thing which will store row ID or record in any datatype/storage type from where I can derive the present values avoiding the postback problem.
Please Help.
Thank You.