hi,
i have a task regarding to radgrid itemtemplate
i have normal rad grid showing data with ability to edit, update, cancel oporations inside formtemplated HTML table
I have 2 imageButtons btnEdit, btnView (wich i have problem with)
these 2 oporational buttons inside itemtemplated column
the problem is that both buttons open the html table formTemplate inside the grid wich has 2 image buttons for save and cancel
i have to hide update imageButton inside the table in case of preesing View image button and to show it again in case of pressing Edit
here is HTML code for templateColumn
please note y=that the event
changing the attribute CommandName="View" to CommandName="Edit" enable this action to fire
any Idea,
regards
i have a task regarding to radgrid itemtemplate
i have normal rad grid showing data with ability to edit, update, cancel oporations inside formtemplated HTML table
I have 2 imageButtons btnEdit, btnView (wich i have problem with)
these 2 oporational buttons inside itemtemplated column
the problem is that both buttons open the html table formTemplate inside the grid wich has 2 image buttons for save and cancel
i have to hide update imageButton inside the table in case of preesing View image button and to show it again in case of pressing Edit
here is HTML code for templateColumn
<
telerik:GridTemplateColumn AllowFiltering="False"
UniqueName="DeleteColum">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<table width="100%">
<tr align="center">
<td>
<asp:ImageButton ID="btnEdit" runat="server" CausesValidation="False"
CommandName="Edit" ImageUrl="~/RadControls/Grid/Skins/Default/Edit1.gif"
ToolTip="Edit" />
</td>
<td>
<asp:ImageButton ID="btnView" runat="server" CausesValidation="False" Visible="true"
CommandName="View" ImageUrl="~/RadControls/Grid/Skins/Default/view.gif"
ToolTip="View" />
</td>
</tr>
</table>
</ItemTemplate>
</telerik:GridTemplateColumn>
please note y=that the event
rgActions_ItemDataBound
doesnt fire when user press on btnViewchanging the attribute CommandName="View" to CommandName="Edit" enable this action to fire
any Idea,
regards