Remove ItemTemplate Item - Not EditItemTemplate
I'm trying to remove a label from the ItemTemplate of a DetailsView, but leave it for the EditItemTemplate. I can simply remove the label--easy enough--but it leaves the header. I want to remove this completely from theDetailsView. Is there a way to remove the header too from just one template?
(Reason why I want to remove this is it is a key to a different table. In the edititem, I place a dropdownlist that binds to a different datasource and selects the ID of the binded key--but I don't want a dropdown list in the itemtemplate and would rather just not show that field)
Thanks,
Rob
|