SSL and HTMLPlaceHolder

9 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    57 posts
    Member since:
    Jun 2012

    Posted 17 Feb 2011 Link to this post

    Is it possible to get the HTMLPlaceHolder to work with ssl site that is at https?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 18 Feb 2011 Link to this post

    Hello Jonathan Marbutt,

    There are no known issues when using https site in the Source of the RadHTMLPlaceHolder:
    <telerik:RadHtmlPlaceholder SourceUrl="https://encrypted.google.com/"/>
    The above example works fine.
    Feel free to ask if you need further assistance.

    Greetings,
    Petar Mladenov
    the Telerik team
  3. DevCraft banner
  4. Jonathan
    Jonathan avatar
    57 posts
    Member since:
    Jun 2012

    Posted 18 Feb 2011 Link to this post

    Ok it works in browser, but can we make it work out of browser? It works for http but not https on out of browser.

    I get:

    Set property 'Telerik.Windows.Controls.RadHtmlPlaceholder.SourceUrl' threw an exception. [Line: 8 Position: 47]
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 23 Feb 2011 Link to this post

    Hi Jonathan,

    In out-of-browser scenarios, RadHtmlPlaceholder uses the Silverlight's WebBrowser control internally to render HTML content. I've tried for example the following:

    <Grid x:Name="LayoutRoot" Background="White">
        <WebBrowser Source="https://shipit.ubuntu.com/" />
    </Grid>

    ...and received the following error:

    Failed to assign to property 'System.Windows.Controls.WebBrowser.Source'.

    Since the WebBrowser control does not support certain HTTPS sites, I don't think we can do much about that. However, we will continue our research on the topic since there is not much information available. I'll let you know if we stumble on something helpful.

    Kind regards,
    Kiril Stanoev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Jonathan
    Jonathan avatar
    57 posts
    Member since:
    Jun 2012

    Posted 23 Feb 2011 Link to this post

    Thanks, 

    By "certain" ssl sites, is there something we could do to configure our SSL differently to make it work?
  7. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 01 Mar 2011 Link to this post

    Hi Jonathan,

    Sorry it was my mistake. I was left with the impression that some HTTPS websites can be opened with the WebBrowser control. However, I tried like 15 random sites and all of them returned the Failed to assign to property 'System.Windows.Controls.WebBrowser.Source' exception. In my opinion, I don't believe there is a way to configure the WebBrowser so that it displays HTTPS sites.

    Greetings,
    Kiril Stanoev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  8. Yogendra
    Yogendra avatar
    17 posts
    Member since:
    Aug 2013

    Posted 06 Jan 2014 Link to this post

    Hello Petar 

    Can you please confirm me whether we can open HTTPS website in RadHtmlPlaceHolder control?

  9. Yogendra
    Yogendra avatar
    17 posts
    Member since:
    Aug 2013

    Posted 06 Jan 2014 Link to this post

    Hello  Kiril,

    Can you please confirm me whether we can open HTTPS website in RadHtmlPlaceHolder control?

  10. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 08 Jan 2014 Link to this post

    Hi Yogendra,

    As Kiril stated back in 2011, the requested behavior cannot be achieved because of the limitation of the native Web browser control. Since the RadHtmlPlaceholder uses it, our control is not capable of visualizing HTTPS sites.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner