|
-
May 5th, 2003, 05:47 AM
#1
creating hyperlink in a datagrid cell
hai,
i want to create a hyperlink to one cell in a windows forms datagrid. I have not found support for this in windows forms. But i think, there is lot of support for this control in web forms. Can any one suggest me, if possible through example, how to create a hyperlink to a cell in datagrid.
bye
-
May 6th, 2003, 01:11 AM
#2
Re: creating hyperlink in a datagrid cell
Originally posted by raghavkotha
hai,
i want to create a hyperlink to one cell in a windows forms datagrid. I have not found support for this in windows forms. But i think, there is lot of support for this control in web forms. Can any one suggest me, if possible through example, how to create a hyperlink to a cell in datagrid.
bye
Hi Raghav,
I do not know c# but I got some URLs on net.
I will be glad if the links are useful in any way to you.
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp
http://www.dotnetfun.com/Articles/AS...ntsCSharp.aspx
http://www.appserver-zone.com/codemag/Article/11489
Hope they may help...
Try other links in the above mentioned URLs if you think they are useful..
Best wishes for your Sharp programming in c#
cheers
mahanare
Thanks n Regards
Harinath Reddy
Learn Hello World Program
A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. - Freeman Dyson
-
May 6th, 2003, 01:30 AM
#3
for your info..
I searched in google with the key word
"windows forms datagrid in c#"
it seems lot of help is available.
Thanks n Regards
Harinath Reddy
Learn Hello World Program
A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. - Freeman Dyson
-
May 7th, 2003, 01:03 PM
#4
creating hyperlink in datagrid cell
hai,
yes, we can create hyperlink in datagrid cell only when the user clicks in a cell. If user clicks at a point, then by using hittest method, we will get cell position. Then we can paint a linklabel at that cell position with the actual content of the cell. Thus we can create hyperlink.
But it is not the required solution. But i to not get creating hyperlink directly or even through mousehover event.
bye
-
May 7th, 2003, 01:55 PM
#5
Just a suggestion, but is there a way you could throw a link label object in that datagrid cell?
-
May 7th, 2003, 09:24 PM
#6
reply
Just a suggestion, but is there a way you could throw a link label object in that datagrid cell?
........................................................................................................
hi,
yes, we can do that. But we cannot place linklabel directly there. We can paint it there. It is same as ordinary placing of linklabel at some position in the form. But we should take care of repaining the datagrid cell, if it is not needed. If that is done properly, then i think, it is no problem.
But any way, the above suggestion is not correct answer to the original problem of creating hyperlink in windows forms datagrid.
bye
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|