I want to combine add/edit in a datagrid. So i am having 10 empty rows in the datagrid which can be updated to any value so as to simulate insert. I display textboxes in the itemtemplate. What i need to do is :
1.Display labels if the column is not empty with a button to click to go in to edit mode and display the text box.
2. If the column is empty,display the textbox and values can be entered without having to click on the edit button.
Is this possible? Any suggestions?
1.Display labels if the column is not empty with a button to click to go in to edit mode and display the text box.
2. If the column is empty,display the textbox and values can be entered without having to click on the edit button.
Is this possible? Any suggestions?