G
Guest
Thanks to those who have tried helping me on this but there is still no
resolution.
I am trying to do something seemingly straightforward, but I just cant do
it. I have a datagrid with some template columns defined. When a user goes to
edit a row I want one particualr cell in the row only to be editable based on
the value in another cell. So I want the edititemtemplate control i.e. a
textbox only to become visible based on the value in another cell.
I can capture the value in the other cell easy enough but how can I make the
edititemcontrol "invisible" and leave the normal itemtemplate control there
when the datagrid is in edit mode.
I am trying to do this all via the ItemDataBound event of the datagrid.
Maybe there is a way of editing the HTML so the edititemtemplate control only
comes into play for a row based on another cells value.
Help please!
resolution.
I am trying to do something seemingly straightforward, but I just cant do
it. I have a datagrid with some template columns defined. When a user goes to
edit a row I want one particualr cell in the row only to be editable based on
the value in another cell. So I want the edititemtemplate control i.e. a
textbox only to become visible based on the value in another cell.
I can capture the value in the other cell easy enough but how can I make the
edititemcontrol "invisible" and leave the normal itemtemplate control there
when the datagrid is in edit mode.
I am trying to do this all via the ItemDataBound event of the datagrid.
Maybe there is a way of editing the HTML so the edititemtemplate control only
comes into play for a row based on another cells value.
Help please!