Hey Guys,
I have a Details View and I ahve enable editing in it. But on clicking the edit button all the fields are editable. I want only one field to be editable.
Please suggest

If you are using FormView you must have defined templates for ItemTemplate and EdititemTemplate

To make only one field editable in the EditItemTemplate make only the field you want editable as Editable and for rest others make it non editable , this means they should be displayed in label instead of textbox and for the one that should be editable make it TextBox

A Software Development Company.

In the <EditItemTemplate>, use textboxes only for those field that you want to edit. Use Label for non-editable fields.

This article has been dead for over six months. Start a new discussion instead.