J
Jack Black
Hi, all!
I'm trying to build a hyperlink column in a DataGrid whose textField
is one column in the query, but whose URL needs to dynamically contain
the data from another.
For example, I want to display a book title (column = "Title"), but
the URL needs to be:
myPage.aspx?book=ISBN (where ISBN is a column name)
I'm building this with the designer, and not by manually writing out
the DataGrid and HyperLinkColumn tags. I've tried setting the URL
properties in the designer to a number of different things, but I only
get either the data column ALONE in place of the URL, or it isn't
processing the {0} portion of the URL (presumably this is an index
value, but since I can't find a single shred of documentation on this
convention, I'm guessing here)...
Tried a few different approaches, but can't get there... Suggestions?
Jack
I'm trying to build a hyperlink column in a DataGrid whose textField
is one column in the query, but whose URL needs to dynamically contain
the data from another.
For example, I want to display a book title (column = "Title"), but
the URL needs to be:
myPage.aspx?book=ISBN (where ISBN is a column name)
I'm building this with the designer, and not by manually writing out
the DataGrid and HyperLinkColumn tags. I've tried setting the URL
properties in the designer to a number of different things, but I only
get either the data column ALONE in place of the URL, or it isn't
processing the {0} portion of the URL (presumably this is an index
value, but since I can't find a single shred of documentation on this
convention, I'm guessing here)...
Tried a few different approaches, but can't get there... Suggestions?
Jack