This is a migrated thread and some comments may be shown as answers.

SSL and HTMLPlaceHolder

8 Answers 98 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 18 Feb 2011, 02:44 AM
Is it possible to get the HTMLPlaceHolder to work with ssl site that is at https?

8 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 18 Feb 2011, 05:52 PM
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
0
Jonathan
Top achievements
Rank 1
answered on 18 Feb 2011, 07:08 PM
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]
0
Kiril Stanoev
Telerik team
answered on 23 Feb 2011, 09:55 PM
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!
0
Jonathan
Top achievements
Rank 1
answered on 23 Feb 2011, 09:58 PM
Thanks, 

By "certain" ssl sites, is there something we could do to configure our SSL differently to make it work?
0
Kiril Stanoev
Telerik team
answered on 01 Mar 2011, 01:35 PM
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!
0
Yogendra
Top achievements
Rank 1
answered on 06 Jan 2014, 10:30 AM
Hello Petar 

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

0
Yogendra
Top achievements
Rank 1
answered on 06 Jan 2014, 10:30 AM
Hello  Kiril,

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

0
Pavel R. Pavlov
Telerik team
answered on 08 Jan 2014, 08:59 AM
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 >>
Tags
HTMLPlaceHolder
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Jonathan
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Yogendra
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or