This pertains to version 2012.2.912.40 of the controls. Sorry I cannot update them.
I converted the edit and delete links in my grids to image buttons and now I get the following error when I click one of the buttons.
Multiple controls with the same ID 'EditButton' were found. FindControl requires that controls have unique IDs.
I have multiple grids in page views but they are all pretty much set up like this one just with different columns.
and the skin code but it's pretty simple
How do I get around this or is there a different way to implement images?
I converted the edit and delete links in my grids to image buttons and now I get the following error when I click one of the buttons.
Multiple controls with the same ID 'EditButton' were found. FindControl requires that controls have unique IDs.
I have multiple grids in page views but they are all pretty much set up like this one just with different columns.
<
telerik:RadGrid
ID
=
"grdPhones"
runat
=
"server"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
GridLines
=
"None"
CssClass
=
"infoGrid"
SkinID
=
"TSSGridEditable"
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridBoundColumn
FilterControlAltText
=
"Filter Number column"
HeaderText
=
"Number"
UniqueName
=
"phoneNumber"
DataField
=
"phoneNumber"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
FilterControlAltText
=
"Filter Type column"
HeaderText
=
"Type"
UniqueName
=
"phoneType"
DataField
=
"phoneType"
>
</
telerik:GridBoundColumn
>
<
telerik:GridEditCommandColumn
UniqueName
=
"EditCommandColumn"
EditText
=
"Edit"
EditImageUrl
=
"~/Images/tb_edit.gif"
ButtonType
=
"ImageButton"
ItemStyle-HorizontalAlign
=
"Center"
ItemStyle-Width
=
"25px"
HeaderStyle-Width
=
"25px"
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridEditCommandColumn
UniqueName
=
"DeleteCommandColumn"
EditText
=
"Delete"
EditImageUrl
=
"~/Images/delete16.gif"
ButtonType
=
"ImageButton"
ItemStyle-HorizontalAlign
=
"Center"
ItemStyle-Width
=
"25px"
HeaderStyle-Width
=
"25px"
>
</
telerik:GridEditCommandColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
and the skin code but it's pretty simple
<
telerik:RadGrid
runat
=
"server"
SkinID
=
"TSSGridEditable"
>
<
MasterTableView
EditMode
=
"PopUp"
CommandItemDisplay
=
"Top"
>
</
MasterTableView
>
</
telerik:RadGrid
>
How do I get around this or is there a different way to implement images?