I am trying to do something that should be pretty simple, but alas, I am confused.
I am creating a list of absolute links
Based on the parameter LinkName which is passed into the control I need to bind the appropriate link to the RadHtmlPlaceholder
What code would you add to the code behind, how would you setup the xaml to bind the SourceURL to the matching url.
Eventually I will grab this information from a table, but for now, I am going to use the static list to test the RadHtmlPlaceholder and to provide designtime data.
I am creating a list of absolute links
List<Link> links =
new
List<Link>();
links.Add(
new
Link(
"Axis"
,
"http://www.axis.com/solutions/index.htm"
));
links.Add(
new
Link(
"CiscoProduct"
,
"http://www.live.ciscodmr.webcollage.net/server/ashlincomputercorporation/ciscodmr-showcase/standalone?enable-reporting=true"
));
links.Add(
new
Link(
"CiscoSolution"
,
"http://cisco.sharedvue.net/sharedvue/iframe/?sviresizer=www.ashlin.ca&svnoresize=1"
));
public
class
Link
{
public
string
name;
public
string
url;
public
Link(
string
name,
string
url)
{
this
.name = name;
this
.url = url;
}
}
Based on the parameter LinkName which is passed into the control I need to bind the appropriate link to the RadHtmlPlaceholder
What code would you add to the code behind, how would you setup the xaml to bind the SourceURL to the matching url.
Eventually I will grab this information from a table, but for now, I am going to use the static list to test the RadHtmlPlaceholder and to provide designtime data.