Hey Stuart,
You need to substitue a TemplateColumn and put an imagebutton into it like
this:
<asp:TemplateColumn>
<ItemTemplate>
<asp:ImageButton id="ImageButton1" runat="server"
ImageUrl="http://weatheroffice.ec.gc.ca/weathericons/00.gif"></asp:ImageButton>
</ItemTemplate>
<EditItemTemplate>
<asp:Button id="Button3" runat="server" CommandName="Update"
Text="Update"></asp:Button>
<asp:Button id="Button2" runat="server" CausesValidation="false"
CommandName="Cancel" Text="Cancel"></asp:Button>
</EditItemTemplate>
</asp:TemplateColumn>
"stuart" <> wrote in message
news:73BE14E0-A3EE-4A06-A4EA-...
> Hi again,
>
> Hope you can help...
>
> Is there a way to assign an image on the buttons of the buttoncolumn in a
> datagrid?
>
> Cheers
|