I am using a Url to initially set a Telerik RadHtmlPlaceholder control. I then perform some stuff which will return a new Uri which I will want to display on the same Telerik RadHtmlPlaceholder control. The new Url is not displayed. I am binding the SourceUri to just a typical CLR property.
<telerik:RadHtmlPlaceholder x:Name="_htmlReport" SourceUrl="{Binding Path=SourceUri, Mode=TwoWay}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" />
public Uri _sourceUri = new Uri("http://www.google.com/");
public Uri SourceUri {
get {
return _sourceUri;
}
set {
_sourceUri =
value;
}
Should I elevate this to a DependencyProperty? Seems as if it would work if the initial Url is displayed but why not the updated Url?