New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

ReadOnly Mode for Individual Cells

Setting individual cells in read-only mode is not achievable in the current version of Telerik RadGrid.A possibleworkaround, however, is to disable the respective cell server-side to prevent the user from editing its content. This can be done by subscribing to the ItemCreated event of the grid:

ASP.NET
<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" DataSourceID="SqlDataSource1" AllowSorting="True"
  runat="server" GridLines="None" Width="95%" AllowMultiRowEdit="True" HorizontalAlign="NotSet">
  <MasterTableView Width="100%" DataSourceID="SqlDataSource1" EditMode="InPlace"
    DataKeyNames="CustomerID">
    <Columns>
      <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" />
    </Columns>
  </MasterTableView>
</telerik:RadGrid>
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
    SelectCommand="SELECT * FROM [Customers]">
</asp:SqlDataSource>
Not finding the help you need?
Contact Support