7 Answers, 1 is accepted
0
Hello Tanser,
Thank you for writing.
I am not sure which is the version you observed automatically setting the newly added MDI windows as active, but I have tested with the last couple versions and was not able to observe such behavior. Still, to activate MDI windows when added, you can use the DockWindowAdded event and set the newly added HostWindow as ActiveWindow for RadDock:
I hope this helps.
Regards,
Stefan
Telerik
Thank you for writing.
I am not sure which is the version you observed automatically setting the newly added MDI windows as active, but I have tested with the last couple versions and was not able to observe such behavior. Still, to activate MDI windows when added, you can use the DockWindowAdded event and set the newly added HostWindow as ActiveWindow for RadDock:
void
radDock1_DockWindowAdded(
object
sender, Telerik.WinControls.UI.Docking.DockWindowEventArgs e)
{
if
(e.DockWindow
is
HostWindow)
{
radDock1.ActiveWindow = e.DockWindow;
}
}
I hope this helps.
Regards,
Stefan
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Tanser
Top achievements
Rank 1
answered on 05 May 2014, 12:27 PM
Thanks your answer.
I'm using latest version of Telerik and i created simple project for show this problem. You can access the link that below.
https://drive.google.com/file/d/0B3o1p85K5xQTOHd1ZXRyMkh3RWs/edit?usp=sharing
Best regard.
I'm using latest version of Telerik and i created simple project for show this problem. You can access the link that below.
https://drive.google.com/file/d/0B3o1p85K5xQTOHd1ZXRyMkh3RWs/edit?usp=sharing
Best regard.
0
Hi,
I am observing the same behavior on my end, but I was not able to find a version where this behavior differs. Please let me know which is the version with the different behavior and I will check the case.
Is addition have you tried that code I offered and does it work for you?
Regards,
Stefan
Telerik
I am observing the same behavior on my end, but I was not able to find a version where this behavior differs. Please let me know which is the version with the different behavior and I will check the case.
Is addition have you tried that code I offered and does it work for you?
Regards,
Stefan
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Tanser
Top achievements
Rank 1
answered on 05 May 2014, 01:40 PM
My WinForm Telerik version is 2014.1.402.40 i guess this is lastest version of Telerik. On the other hand yes the code you sent me is worked. But this is already worked on previous version and i need not this code.
Our customers are using our project for six months. And i just upgrade my telerik component and rebuild the project and send to our customers. After that they feedback to this problem. I guess you changed working mechanism of DockControl on new version.
Our customers are using our project for six months. And i just upgrade my telerik component and rebuild the project and send to our customers. After that they feedback to this problem. I guess you changed working mechanism of DockControl on new version.
0
I understand that. I just need to know which is the previous version your project used, where this behavior was working correctly?
Regards,
Stefan
Telerik
Regards,
Stefan
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Tanser
Top achievements
Rank 1
answered on 05 May 2014, 02:30 PM
Telerik 2014 Q1 SP1 - i am using at the moment
Telerik 2014 Q1 - previous version. (Dock working correctly)
Telerik 2014 Q1 - previous version. (Dock working correctly)
0
Hi,
I am sorry, but I cannot see any difference in the behavior between the two versions you mentioned. I have tested with both yours and my application. Furthermore, I cannot see any change regarding such behavior in the latest version as well. See attached video.
Regards,
Stefan
Telerik
I am sorry, but I cannot see any difference in the behavior between the two versions you mentioned. I have tested with both yours and my application. Furthermore, I cannot see any change regarding such behavior in the latest version as well. See attached video.
Regards,
Stefan
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.