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

Changing SourceUrl in code doesn't load a new website

1 Answer 51 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Saeed
Top achievements
Rank 1
Saeed asked on 25 Nov 2010, 06:52 AM
Hello,

I have a RadHtmlPlaceholder control, and I am setting the SourceUrl property in code based on a user action.

I am able to get the RadHtmlPlaceholder to display a website by setting its SourceUrl property in the xaml.  However, if I change the SourceUrl from code by setting it to a new Uri, nothing visible happens.  The control does fire its UrlLoaded event and its SourceUrl property contains the new value, but it doesn't display the new page.

Is there a step I am missing to get the RadHtmlPlaceholder control to load a new website?

Thanks
-Saeed

1 Answer, 1 is accepted

Sort by
0
Saeed
Top achievements
Rank 1
answered on 25 Nov 2010, 07:06 AM
Please disregard this message.

It turns out that the step I'm missing is to set the SourceUrl on the correct RadHtmlPlaceholder control.
Tags
HTMLPlaceHolder
Asked by
Saeed
Top achievements
Rank 1
Answers by
Saeed
Top achievements
Rank 1
Share this question
or