views:

319

answers:

2

I have a repeating table, and I want one of the fields to be a hyperlink. There doesn't seem to be any way to set the address of the hyperlink based on a formula, though. I want to be able to make the address equal to some base URL concatenated with one of the other fields in the table. Is there any way to do this?

A: 

I have used the xpath function concat(my:field2,my:field3) with the hyperlink field. you will have to type in the xpath expression yourself as the designer for some reason will not allow it.

Nathan Fisher
A: 
private string ChangeXmlContent(Uri url, XmlDocument xdoc, string description)

{

XmlNode group91 = xdoc.SelectSingleNode("//my:group91", NamespaceManager);

group91.SelectSingleNode("//my:Url1", NamespaceManager).InnerText = url.ToString();

} fast & easy

Jeidk