Hey I am having a problem with a rad grid. i am adding columns programmatically and setting a datasource in the
it is embedded in a user control like below
NeedDataSource event. The problem is that i can't seem to "unlock" the checkbox column so that the user can check/uncheck the field. what am i missing? i can't find anything in docs describing how to do this. i have made grid item edtible on pre render - to no effect; i have made readonly property false - also to no effect. please help.
it is embedded in a user control like below
<% @ Control Language="C#" AutoEventWireup="true" CodeFile="ActiveFileTable.ascx.cs" Inherits="ActiveFileTable" %>
<asp:Panel ID="Panel1" runat="server" Height="531px" Width="865px">
<telerik:RadGrid ID="RadGrid1" runat="server">
</telerik:RadGrid>
</asp:Panel>
c#
dataLayerDataContext dataLayer = new dataLayerDataContext();
RadGrid1.AutoGenerateColumns = false;
GridCheckBoxColumn boundColumn4 = new GridCheckBoxColumn();
boundColumn4.UniqueName = "Is Active";
boundColumn4.DataField = "isactive";
boundColumn4.HeaderText = "Active";
boundColumn4.Visible = true;
boundColumn4.ReadOnly = false;
RadGrid1.MasterTableView.Columns.Add(boundColumn4);
RadGrid1.DataSource = dataLayer.getActiveInvFilePT();