Problem while loading an absolute uri with json object in uri

2 posts, 0 answers
  1. Pascal
    Pascal avatar
    3 posts
    Member since:
    Nov 2010

    Posted 09 Nov 2011 Link to this post

    Hallo Telerik Team,

    I try to load a simple Html Page with an url parameter "context" which contains a simple json object

    var url = @"http://localhost:6361/test.htm/?context={title%3A%22Testtitel%22%2Ctext%3A%22Lorem%20Ipsum%2C%20\%22sdfsdfsdf\%22%20asdf%22}";

    var testurl = new Uri(url, UriKind.Absolute);

    HtmlPlaceHolder.SourceUrl = testurl;

    The AbsoluteUri Field in the URI object is correct escaped.

    When i track the call in fiddler to the test.htm site, i can see that the radhtmlplaceholder tries to open the url without escape of {}" etc.

    which leads to an error, because the json object is lost.

    What is the problem in my case, how can I tell to the control to load uri escaped
  2. Petar Mladenov
    Petar Mladenov avatar
    3127 posts

    Posted 14 Nov 2011 Link to this post

    Hello Pascal,

     We haven't encounter similar reported issue so it may be a limitation or issue in the RadHtmlPlaceholder. Is it possible for you to send us a runnable sample reproducing this unexpected behavior? This way we would be much better able to advice you. Thank you in advance for your coopration.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top