A
Atif Jalal
I am using a Datagrid control and one of its column is a
'HyperLinkColumn'. The link text for this HyperLinkColumn is sometimes
beyond 100 characters. I would like to display the link on multi-line
if the number of characters in the link exceed 100 characters. I tried
adding the <ItemStyle> to the HyperLinkColumn tag but it did not
work, the whole of the link is displayed on one line with the column
width getting extended.
<asp:HyperLinkColumn
DataNavigateUrlFormatString="'LineItem.aspx?LineItemId={0}&Process=1&'"
DataNavigateUrlField="ProcessLineItemId" DataTextField="Description"
HeaderText="Line Item - Description">
<ItemStyle Width="100px" Wrap=True></ItemStyle>
</asp:HyperLinkColumn>
Is it that <ItemStyle> does not work with <asp:HyperLinkColumn> ? Any
help appreciated.
'HyperLinkColumn'. The link text for this HyperLinkColumn is sometimes
beyond 100 characters. I would like to display the link on multi-line
if the number of characters in the link exceed 100 characters. I tried
adding the <ItemStyle> to the HyperLinkColumn tag but it did not
work, the whole of the link is displayed on one line with the column
width getting extended.
<asp:HyperLinkColumn
DataNavigateUrlFormatString="'LineItem.aspx?LineItemId={0}&Process=1&'"
DataNavigateUrlField="ProcessLineItemId" DataTextField="Description"
HeaderText="Line Item - Description">
<ItemStyle Width="100px" Wrap=True></ItemStyle>
</asp:HyperLinkColumn>
Is it that <ItemStyle> does not work with <asp:HyperLinkColumn> ? Any
help appreciated.