Hi,
Here is a code snipped from my MasterTableView in my RadGrid. When I clik on the edit hylperlink, I'd like to hide the txtLastName field and its label, so that noone knows it's there and no editing can happen to that field. How can I do this in the code behind?
Thanks,
Greg
Here is a code snipped from my MasterTableView in my RadGrid. When I clik on the edit hylperlink, I'd like to hide the txtLastName field and its label, so that noone knows it's there and no editing can happen to that field. How can I do this in the code behind?
<Columns> |
<telerik:GridEditCommandColumn UniqueName="editCommand"></telerik:GridEditCommandColumn> |
<telerik:GridBoundColumn DataField="numPersonnelID" DataType="System.Int32" |
HeaderText="Personnel ID" ReadOnly="True" SortExpression="numPersonnelID" |
UniqueName="numPersonnelID" Visible="False"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="txtLastName" HeaderText="Last Name" |
SortExpression="txtLastName" UniqueName="txtLastName" MaxLength="50" Visible="false"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="txtFirstName" HeaderText="First Name" |
SortExpression="txtFirstName" UniqueName="txtFirstName" MaxLength="50"> |
</telerik:GridBoundColumn> |
</Columns> |
Thanks,
Greg