Right now I have the below code:
I need to show Images in my grid row that performs the above functions (Edit, Delete, Notify) and some others that I took off to keep it short. What is the best way to do this?
Some of my buttons call JavaScript to open a radWindow. Some of them call a server method to delete or change the record somehow. To load a Radmenu on all of these records seem crazy.. Any ideas?
| <telerik:GridTemplateColumn UniqueName="DetailArrow" ItemStyle-Width="250"> |
| <ItemTemplate> |
| <telerik:RadMenu ID="menuTools" runat="server" Flow="Horizontal" OnInit="menuTools_Init" OnItemClick="menuTools_Click" EnableEmbeddedSkins="true" EnableAjaxSkinRendering="true" CssClass="menuZ"> |
| <Items> |
| <telerik:RadMenuItem Value="Edit" ImageUrl="/images/Edit.png" ToolTip="Edit this criteria" /> |
| <telerik:RadMenuItem Value="Delete" ImageUrl="/images/trash.png" ToolTip="Remove this criteria" /> |
| <telerik:RadMenuItem Value="Notify" ImageUrl="/images/NotifyOff.png" ToolTip="Turn the notify on" OnLoad="NotifyMenuItem_Init" /> |
| </Items> |
| </telerik:RadMenu> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
I need to show Images in my grid row that performs the above functions (Edit, Delete, Notify) and some others that I took off to keep it short. What is the best way to do this?
Some of my buttons call JavaScript to open a radWindow. Some of them call a server method to delete or change the record somehow. To load a Radmenu on all of these records seem crazy.. Any ideas?