Not able to set value for SourceUrl property

2 posts, 1 answers
  1. zalak m
    zalak m avatar
    11 posts
    Member since:
    Nov 2009

    Posted 13 Jan 2010 Link to this post


    I have two projects in one application.One of my project contains bunch of html files and I wanted to access these files in another project in same application.
    So how can i set the value of SourceUrl property of RadHtmlPlaceholder from the code behind?

    I did the following, but it does not return me correct path:
    this.RadHtmlPlaceholder1.SourceUrl= new Uri("/AssemblyName;component/fileName.htm",UriKind.Relative);

  2. Answer
    Valentin.Stoychev avatar
    2198 posts

    Posted 14 Jan 2010 Link to this post

    Hello zalak m,

    You should use a url that the browser can render. URL from the dll is not allowed. Just copy your files in specific directory of your server and set the url to link to them.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top