Hey guys!
I need som help getting a hyperlinkcolumn to link to an item in a datagrid.
What I want to do is to use the itemcreated event to set the link in my hyperlink column to the path of the item in the same row.
Hyperlinkcol|col1|col2|col3
-------------------------------------------
LinkToItem |Data|Data|Data
How do I get the ID from the item and use it to set the NavigationUrl property.
The event I use:
void grid_ItemCreated(object sender, DataGridItemEventArgs e)
{
//Set NavigationUrl prop.
}
So, if you can help me along the way to a solution I would be greatful!
I need som help getting a hyperlinkcolumn to link to an item in a datagrid.
What I want to do is to use the itemcreated event to set the link in my hyperlink column to the path of the item in the same row.
Hyperlinkcol|col1|col2|col3
-------------------------------------------
LinkToItem |Data|Data|Data
How do I get the ID from the item and use it to set the NavigationUrl property.
The event I use:
void grid_ItemCreated(object sender, DataGridItemEventArgs e)
{
//Set NavigationUrl prop.
}
So, if you can help me along the way to a solution I would be greatful!