This question is locked. New answers and comments are not allowed.
I have a RadHtmlPlaceHolder in RadDocking DocumentHost. The problem is that the URL supplied does not load in the RadHtmlPlaceHolder until I manually resize one of the surrounding panes via the RadSplitter. This did not happen until I recently updated to the newest version of the Telerik Silverlight controls.
Any ideas as to why this is happening, what I can do to fix it?
Thanks.
Any ideas as to why this is happening, what I can do to fix it?
Thanks.
4 Answers, 1 is accepted
0
Hello Andrew,
I tried to reproduce your issue and it seems that the code works as expected. Can you please provide us with more information about your scenario?
Also, can you take a look at the attached project and check if I am missing something. If I am, please change it accordingly so I can reproduce it.
Regards,
Pavel R. Pavlov
the Telerik team
I tried to reproduce your issue and it seems that the code works as expected. Can you please provide us with more information about your scenario?
Also, can you take a look at the attached project and check if I am missing something. If I am, please change it accordingly so I can reproduce it.
Regards,
Pavel R. Pavlov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Andrew
Top achievements
Rank 1
answered on 12 Nov 2012, 05:55 PM
If you run the program with the Web project as the startup project you will see a button called Navigate. If
you click this button the visible "mainPane" will hide and the hidden
"placeholder" pane will show. You will notice however that the
RadHtmlPlaceHolder "placeHolder1" will not show as it should.
Dragging the splitter between the left and right panes of the RadDocking
control will force it to load.
If you look at the NavButton_OnClick event handler in the View.cs class you will see the following:
If you comment out the
So the issue only seems to occur when you hide at least one pane in the RadDocking.DocumentHost and show another pane. Is there something I can do to produce the expected functionality or will this require some kind of fix on your side?
If you look at the NavButton_OnClick event handler in the View.cs class you will see the following:
private
void
NavButton_OnClick(
object
sender, RoutedEventArgs e)
{
this
.placeHolderPane.IsHidden =
false
;
//Commenting out the following line will cause the placeHolder1 to load its content correctly the first time.
this
.mainPane.IsHidden =
true
;
this
.placeHolder1.SourceUrl =
new
Uri(
this
.urlBox.Text);
}
If you comment out the
this
.mainPane.IsHidden =
true
;
line the RadHtmlPlaceHolder will load properly.So the issue only seems to occur when you hide at least one pane in the RadDocking.DocumentHost and show another pane. Is there something I can do to produce the expected functionality or will this require some kind of fix on your side?
0
Accepted
Hi Andrew,
Thank you for your report. This is a known issue and it is already logged in our PITS and you can follow and vote for it here. Meanwhile take a look at the attached project and let me know if the implemented workaround fits your needs.
Regards,
Pavel R. Pavlov
the Telerik team
Thank you for your report. This is a known issue and it is already logged in our PITS and you can follow and vote for it here. Meanwhile take a look at the attached project and let me know if the implemented workaround fits your needs.
Regards,
Pavel R. Pavlov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Andrew
Top achievements
Rank 1
answered on 15 Nov 2012, 05:25 PM
That workaround fixes the issue. Thank you.