Hi,
I'm working with the telerik:RadGrid. I need a column working as a GridHyperLinkColumn but with an image.
I try with asp:ImageButton but I don't know how indicate the parameters.
In example :
Using HyperLinkColumn with parameter ORDN40 in the DataNavigateUrlFormatString :
Using ImageButton I don' know how to pass the parameter ORDN40.
Thanks A lot!
I'm working with the telerik:RadGrid. I need a column working as a GridHyperLinkColumn but with an image.
I try with asp:ImageButton but I don't know how indicate the parameters.
In example :
Using HyperLinkColumn with parameter ORDN40 in the DataNavigateUrlFormatString :
<
telerik:GridHyperLinkColumn DataTextFormatString="Detalle" DataNavigateUrlFields="ORDN40"
UniqueName="detalleP" DataNavigateUrlFormatString="pedidos_detalle.aspx?p={0}"
DataTextField="ORDN40" AllowFiltering="False" Groupable="False">
<HeaderStyle Height="40px" />
</telerik:GridHyperLinkColumn>
Using ImageButton I don' know how to pass the parameter ORDN40.
<
telerik:GridTemplateColumn UniqueName="ExternalLink" AllowFiltering="False" Groupable="False">
<ItemTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" PostBackUrl="pedidos_detalle.aspx?p={0}"
ImageUrl="img/info.jpg" />
</ItemTemplate>
<HeaderStyle Height="40px" />
</telerik:GridTemplateColumn>
Thanks A lot!