We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I make the cells as ReadOnly in GridDataBoundGrid?

GridDataBoundGrid allows you to make the cell read-only by setting the ReadOnly property in the Grid model, or using the QueryCellInfo event.

Using GridModel



Using QueryCellInfo



After applying the properties, the cell is displayed as follows,

Figure 1: Make the cells as read-only

Note: The changes of the cells are shown in different colors.

Sample Links

CS: Make the cells read-only

VB: Make the cells read-only

Article ID: Published Date: Last Revised Date: Platform: Control:
470 04/30/2011 02/12/2016 Windows Forms GridDataBoundGrid(Classic)
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.