473,499 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HyperLinkColumn

Hi, is it possible to have 2 hyperlinks in a single HyperLinkColumn,
one to edit and one to run a filter

thanks

Nov 19 '05 #1
3 1524
Yes. First create the hyperlink column and then convert that column to a
template column. You can then right click your datagrid and edit that
column. You would then be able to put another link into the column.
"barranr" <ro********@cox.net> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Hi, is it possible to have 2 hyperlinks in a single HyperLinkColumn,
one to edit and one to run a filter

thanks

Nov 19 '05 #2

Thanks for the reply, i'm building the datagrid in codebehind so there
is no interface to set properties
How do i add an ItemTemplate to a template col and then insert the
hyperlinks

what i did for just one hyperlink was

HyperLinkColumn EditLinkColumn = new HyperLinkColumn();
EditLinkColumn = JMBuildHyperLink("LIST_ACTION", strActionForRow,
editLink + "pKey={0}", "UNN_ROWID");

UnionGrid.Columns.AddAt(0, EditLinkColumn);

Would be simple if i could just drop a grid on the page and convert it
to a template col, but can't do that :(

Rod

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3
Hmmm, that's a tough one. I've never done this in code before, only with
the visual property builder dialog.
"rod barrand" <ro********@cox.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...

Thanks for the reply, i'm building the datagrid in codebehind so there
is no interface to set properties
How do i add an ItemTemplate to a template col and then insert the
hyperlinks

what i did for just one hyperlink was

HyperLinkColumn EditLinkColumn = new HyperLinkColumn();
EditLinkColumn = JMBuildHyperLink("LIST_ACTION", strActionForRow,
editLink + "pKey={0}", "UNN_ROWID");

UnionGrid.Columns.AddAt(0, EditLinkColumn);

Would be simple if i could just drop a grid on the page and convert it
to a template col, but can't do that :(

Rod

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 19 '05 #4

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

Similar topics

0
4826
by: Jongmin | last post by:
Hi! I am making HyperLinkColumn in datagrid. It is simple to make the hyerlinkcolumn with one datafield. <asp:HyperLinkColumn Text="NAME" DataNavigateUrlField="NAME"...
1
1438
by: Dmitri Manushin | last post by:
Hi all, i have HyperLinkColumn in DataGrid <asp:HyperLinkColumn DataNavigateUrlField="PostID" DataNavigateUrlFormatString="http://localhost/forum/posts.aspx?id={0}" DataTextField="Subject"...
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...
0
1074
by: Atif Jalal | last post by:
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...
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
7006
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
7169
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
7215
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
6892
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
5467
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4917
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4597
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
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.