How to define a GridView column as read-only

You can define an individual GridView column as read-only, as opposed to the entire GridView. To do this:

  1. In the Form Designer, click the pencil icon next to the GridView field in the column you want to make read-only. (Clicking the pencil icon next to the GridView itself will open settings for the entire GridView.)

  2. From the Select an attribute… drop-down list, select enabled under ASP.NET Properties, then click + to add the attribute.

  3. In the Value field, change true to false, then click the check mark to save and exit.