[Mono-devel-list] DataGrid HyperLinkColumn - Missing attribute
Garthfield Carter
garth at webconexion.net
Sat Sep 4 10:51:47 EDT 2004
I've created a DataGrid with a HyperLink Column. I'm creating a link to addtobasket.aspx and pass along the package_id, everything works perfectly however instead of the link text displays the product id instead of "Add to Basket", has the Text attribute been implemented into HyperLinkColumn ?
Here's the columns section of the DataGrid tag:
<columns>
<asp:BoundColumn HeaderText="Product Name" DataField="name"/>
<asp:BoundColumn HeaderText="Price" DataField="price"/>
<asp:HyperLinkColumn
DataNavigateUrlField="product_id"
DataNavigateUrlFormatString="addtobasket.aspx?product_id={0}"
DataTextField="product_id"
Text="Add to Basket"/>
</columns>
Does anyone know of a work around?
Garthfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040904/aa9a9484/attachment.html
More information about the Mono-devel-list
mailing list