This question is locked. New answers and comments are not allowed.
Hello everybody,
I have a problem with the RadHTMLPlaceHolder and I hope that somebody can help me.
Scenario:
When a new source is assigned to it via (see the code below in XAML.cs):
...
after the source is assigned to the RadHTMLPlaceHolder the RadHTMLPlaceHolder
steals the Focus of my GridView, but I want the Focus to remain on the GridView-Control.
I've tried out following Events to control the Focus, but they didn't help:
private void GridView_LostFocus(object sender, RoutedEventArgs e)
{
this.GridView.Focus();
}
private void RadHtmlPlaceHolder_UrlLoaded(object sender, EventArgs e)
{
this.GridView.Focus();
}
Is there a property or an event or a command or a codesnippet with which I can
force the Focus to remain on my GridView when a Source is assigned to a RadHTMLPlaceHolder?
Please help me out!
Regards,
Asking Developer
I have a problem with the RadHTMLPlaceHolder and I hope that somebody can help me.
Scenario:
When a new source is assigned to it via (see the code below in XAML.cs):
this.RadHTMLPlaceHolder.HtmlPresenter.Children[0].SetProperty("src", htmlString);after the source is assigned to the RadHTMLPlaceHolder the RadHTMLPlaceHolder
steals the Focus of my GridView, but I want the Focus to remain on the GridView-Control.
I've tried out following Events to control the Focus, but they didn't help:
private void GridView_LostFocus(object sender, RoutedEventArgs e)
{
this.GridView.Focus();
}
private void RadHtmlPlaceHolder_UrlLoaded(object sender, EventArgs e)
{
this.GridView.Focus();
}
Is there a property or an event or a command or a codesnippet with which I can
force the Focus to remain on my GridView when a Source is assigned to a RadHTMLPlaceHolder?
Please help me out!
Regards,
Asking Developer
