Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > HTMLPlaceHolder > Problem while loading an absolute uri with json object in uri

Not answered Problem while loading an absolute uri with json object in uri

Feed from this thread
  • Pascal avatar

    Posted on Nov 9, 2011 (permalink)

    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.
    "http://localhost:6361/test.htm/?context=%7Btitle%3A%22Testtitel%22%2Ctext%3A%22Lorem%20Ipsum%2C%20%5C%22sdfsdfsdf%5C%22%20asdf%22%7D

    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.
    /test.htm/?context={title:

    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
    Regards,
    Tobias

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Nov 14, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > HTMLPlaceHolder > Problem while loading an absolute uri with json object in uri
Related resources for "Problem while loading an absolute uri with json object in uri"

Silverlight HtmlPlaceHolder Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]