Hi,
I have a more substantial question now.
In the ItemTemplate of my GridView control, I have two of the columns set to textboxes so that users can make changes to several rows at once. However, there are some cases where these textboxes should be labels so that they cannot be edited. Is it possible to change the controls in these cases from textboxes to labels? If worse comes to worse I can just disable the textbox but I'd rather change the control. I know that you can create control templates dynamically but it seems to me that they can only be applied on a per column basis and not on a per cell basis?
Thx.
I have a more substantial question now.
In the ItemTemplate of my GridView control, I have two of the columns set to textboxes so that users can make changes to several rows at once. However, there are some cases where these textboxes should be labels so that they cannot be edited. Is it possible to change the controls in these cases from textboxes to labels? If worse comes to worse I can just disable the textbox but I'd rather change the control. I know that you can create control templates dynamically but it seems to me that they can only be applied on a per column basis and not on a per cell basis?
Thx.