Hi guys,
I am having trouble enabling in-place edit for a grid which has a dataset as a datasource. The dataset is bound to the grid in the Page_Load event, and I'm not sure what's going wrong.
Here's the code-behind:
And the ASP.NET code:
The grid loads normally and gets populated, but I am not able to do an in-place edit when I click on the rows. My goal is to provide custom event handlers for when the user performs an in-place edit of a data row.
Any help would be greatly appreciated.
Edit:
The in-place edit doesn't even appear. The grid just looks like an HTML table with some styles on it(You can't click on rows to get the in-place edit to appear).
I am having trouble enabling in-place edit for a grid which has a dataset as a datasource. The dataset is bound to the grid in the Page_Load event, and I'm not sure what's going wrong.
Here's the code-behind:
| DataSet _fields = GetListFieldInfo(tableName, MinumumOrdinalField); |
| rgFields.DataSource = _fields; |
| rgFields.DataBind(); |
And the ASP.NET code:
| <telerik:RadGrid ID="rgFields" runat="server" |
| GridLines="None" Width="563px" AutoGenerateColumns="False"> |
| <MasterTableView EditMode="InPlace" > |
| <RowIndicatorColumn Visible="true"> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn Visible="False" Resizable="False"> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridBoundColumn HeaderText="Field" DataField="Field" DataType="System.String"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="Type" DataField="Type" DataType="System.String"></telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="Length" DataField="Length" DataType="System.String"></telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
The grid loads normally and gets populated, but I am not able to do an in-place edit when I click on the rows. My goal is to provide custom event handlers for when the user performs an in-place edit of a data row.
Any help would be greatly appreciated.
Edit:
The in-place edit doesn't even appear. The grid just looks like an HTML table with some styles on it(You can't click on rows to get the in-place edit to appear).