I have a grid where one column contains a link button. Clicking on this button takes user to a new page.
The grid also has an edit column and an edit form template.
The edit does not fire when clicked.
What do I do to get the edit form to work?
This is the column definition
These are the client settings
The grid also has an edit column and an edit form template.
The edit does not fire when clicked.
What do I do to get the edit form to work?
This is the column definition
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
=
"Unit_code"
AllowMultiColumnSorting
=
"True"
EditMode
=
"PopUp"
InsertItemPageIndexAction
=
"ShowItemOnCurrentPage"
HierarchyDefaultExpanded
=
"False"
>
<
Columns
>
<
telerik:GridEditCommandColumn
HeaderText
=
"Edit"
HeaderStyle-Width
=
"50px"
ItemStyle-Width
=
"50px"
HeaderStyle-HorizontalAlign
=
"Left"
ButtonType
=
"LinkButton"
UniqueName
=
"unit_edit"
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridButtonColumn
UniqueName
=
"ColumnLinkCode"
DataTextField
=
"Unit_code"
HeaderText
=
"Unit code"
ButtonType
=
"LinkButton"
>
</
telerik:GridButtonColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Name"
HeaderButtonType
=
"TextButton"
DataField
=
"Unit_name"
UniqueName
=
"Unit_name"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Description"
HeaderButtonType
=
"TextButton"
DataField
=
"unit_description"
UniqueName
=
"unit_description"
>
</
telerik:GridBoundColumn
>
<
telerik:GridNumericColumn
HeaderText
=
"Credits"
DecimalDigits
=
"0"
DataField
=
"num_credits"
UniqueName
=
"num_credits"
>
</
telerik:GridNumericColumn
>
</
Columns
>
These are the client settings
<
ClientSettings
EnablePostBackOnRowClick
=
"false"
EnableRowHoverStyle
=
"false"
>
<
Selecting
AllowRowSelect
=
"True"
CellSelectionMode
=
"SingleCell"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"true"
>
</
Scrolling
>
</
ClientSettings
>