I create few template column and bound column in datagrid. One of the template column contain the StudentMark. I want to know how to change that column to (Read only) or "Not" (Read only) when click the edit button. It is based on a dropdownlist to determine to read only or not. I think i must use the template column, since i need to do the validation to the StudentMark. (For example, If select value '1' in dropdownlist, the "StudentMark" is become 'Read only' and select '2' become vice versa. I was success to bind the datagrid and "StudentMark" become a textbox if I select '2'.
Anyone know how to do if i select '1' become a label and '2' become textbox
Thank you for any help and comments
Calvin
Anyone know how to do if i select '1' become a label and '2' become textbox
Thank you for any help and comments
Calvin