473,487 Members | 2,622 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

HyperLinkColumn and column width

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?LineIt emId={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.
Nov 18 '05 #1
0 1073

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3368
by: SStory | last post by:
I have a style sheet for my site. It has various classes in it. It has <A: styles defined for all anchor tags. I have a datagrid in ASP.NET with a stylesheet linked to the page. It defines...
3
1203
by: Morten | last post by:
Hi. After a while I finaly discovered how to use HyperLinkColumns. What I can't find is how to send mote than one "value" like page.aspx?id1&id2!!! <asp:HyperLinkColumn...
1
1959
by: Dave | last post by:
I have a hyperlink column in a datagrid as follows <asp:HyperLinkColumn DataNavigateUrlField="OrderId" DataNavigateUrlFormatString="OrderDetails.aspx?Id={0}" DataTextField="Order"...
1
1406
by: Rob Meade | last post by:
Hi all, I have just added a hyperlink column to my datagrid - however I am having some troubles getting it to behave as I would like... My objective is to have a hyperlink that I can click on...
10
1734
by: tshad | last post by:
I have a Datagrid with a column: <asp:HyperLinkColumn DataTextField="JobTitle" DataNavigateUrlField="PositionID" DataNavigateUrlFormatString="AddNewPositions.aspx?PositionID={0}"...
2
2045
by: aparnasinha26 | last post by:
Hi All, I have to pass variable in a query string. The query string is in the hyperlink coloumn of a datgrid. The code appears like this <asp:HyperLinkColumn DataNavigateUrlField="ProductID"...
1
1768
by: Sean Aitken | last post by:
Does anyone know the easiest way to trim the whitespace from a CHAR(...) bound value coming from a database and used with a HyperLinkColumn? In this case, the column is setup using: .......
1
2810
by: Roy | last post by:
I'm assuming this is amazingly simple and I'm just missing the boat. On the html side of an asp.net page I have a datagrid, a "search" button, and 8 text boxes for search criteria. A user enters...
4
2243
by: rcoco | last post by:
Hi all, I have this big problem with hyperlinks I would appriciate any help please. My web site has two datagrids on the same page. And one has a list of names of the users which are in a...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7349
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
267
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.