I have a gridview , with the following columns:
I’ve transformed the column cell into a dropdownlist via the edit template and added 2 items : Yes and No
NAME|AGE|Birthday|Code
Joh 21 12.12.2 Yes/No
there are 2 columns set = false; on page load.
I want to check on the row editing event from the gridview if the dropdownlist value == Yes then the 2 columns.visible = true;
I don’t know how to do do the check thing..:(
Thank you
After discussing it, we seem to have come up with this answer, using an OnSelectedIndexChanging event from the Yes/No DropDownList, instead of the Row Editing Event:
GridData is the ID of the GridView itself.