binding htmlplaceholder to a string

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    68 posts
    Member since:
    Jul 2010

    Posted 10 Oct 2010 Link to this post

    I am trying to do something that should be pretty simple, but alas, I am confused.

    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"));
    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.

  2. Andrew
    Andrew avatar
    68 posts
    Member since:
    Jul 2010

    Posted 10 Oct 2010 Link to this post

    forget about it, decided not to use htmlplaceholder, don't want to put silverlight in Windowless mode.
  3. DevCraft banner
Back to Top