By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,187 Members | 1,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,187 IT Pros & Developers. It's quick & easy.

Datatridview with linklabel

P: n/a
Hi all,

I know there is a possibility to add a DataGridViewLinkColumn as a
type of column to a DataGridView. Is this type of column having a
LinkLabel inside? Why do I ask: I have linklabels (partly containing
text, partly containing links --as is possible with the LinkArea
property of a LinkLabel) that I would like to add to a DataGridView or
ListView. Is this possible with the DataGridViewLinkColumn or do I
need a different approach?

Kind regards / Met vriendelijke groeten / Bien vous,
Frederik Aerts
Jan 18 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Frederik,

From what I can tell, the DataGridViewLinkCell doesn't template the
control like the DataGridViewTextBox cell, or other controls. Meaning, it
doesn't create a LinkLabel and then host that in the cell. You can create
your own cell/column classes that do this, if you want, though.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Frederik" <fr********@gmail.comwrote in message
news:d1**********************************@v4g2000h sf.googlegroups.com...
Hi all,

I know there is a possibility to add a DataGridViewLinkColumn as a
type of column to a DataGridView. Is this type of column having a
LinkLabel inside? Why do I ask: I have linklabels (partly containing
text, partly containing links --as is possible with the LinkArea
property of a LinkLabel) that I would like to add to a DataGridView or
ListView. Is this possible with the DataGridViewLinkColumn or do I
need a different approach?

Kind regards / Met vriendelijke groeten / Bien vous,
Frederik Aerts
Jan 18 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.