HyperLinkColumn

  • Thread starter Thread starter barranr
  • Start date Start date
B

barranr

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

thanks
 
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.
 
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
 
Hmmm, that's a tough one. I've never done this in code before, only with
the visual property builder dialog.
 
Back
Top