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

Remote Problem

6 Answers 562 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ahmad
Top achievements
Rank 1
Ahmad asked on 11 Nov 2016, 11:42 AM

I use Remote Desktop Connection to connect another desktop
and run my program. in my program, I have a PanelBar.
I chose an item inside the PanelBarItem.
when I reconnect by RDC, suddenly selected item unselect.
I attached a project to show my problem:

https://www.mediafire.com/?2fg3d2240pe6dbt

Please help me.
Thanks.

6 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 16 Nov 2016, 09:45 AM
Hello Ahmad,

Thank you for the provided project. 

We have tested your project several times but we weren't able to reproduce this behavior on our side. You can send us the exact step which you are using which could help us to reproduce it. You can also send us more information like:
 - Which version of our controls are you using ?
- What is the OS on your machine and on the machine where you run the application ?
- You can send us Video which shows this behavior.

Regards,
Dinko
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
0
Ahmad
Top achievements
Rank 1
answered on 21 Nov 2016, 05:46 AM
Hi,
My OS is win10 (I also try this on win8) and I remote to
windows server 2012 R2.
I use Telerik Q1 2016 Binaries Wpf45 and also Q3 2013 Binaries Wpf45.
I capture a video to show how it happens:
https://www.mediafire.com/?lmpv7k65j0pi7k1
Thanks.
0
Dinko | Tech Support Engineer
Telerik team
answered on 23 Nov 2016, 02:24 PM
Hello Ahmad,

Thank you for the provided additional information but unfortunately, we weren't able to reproduce the described behavior on our side. We have tested it on Windows Server 2012 R2 with a different version of our controls but with no avail. We attached a video showing that it is working as expected on our side.

Also, this is shot in the dark, but can you use only RadListBox and then check again if the behavior is still reproducible. If yes, can you try it with the native ListBox control? You can also download and referenced the latest version of our controls to your project.

Regards,
Dinko
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
0
Ahmad
Top achievements
Rank 1
answered on 10 Dec 2016, 07:24 AM
Hi all,
Thanks for your responses;
I use only RadListBox and it works very well.
but I can generate this problem by another way:
this time I create 2 user accounts on my PC. I switch between them and the result is same as the remote connection.
the following video shows you how it happens:
(*I use WPF R3 2016 Trial DLLs)
http://www.mediafire.com/file/9xcq9m97r7k5sm5/LoginProblem.avi
there is a point you have to know:
after I login again, the Elements in ElementControl.xaml.cs set null and again set by old Items.
there are the stack trace and project:
http://www.mediafire.com/file/a3v13ojmmfue7xd/StackTrace-project.rar
0
Dinko | Tech Support Engineer
Telerik team
answered on 15 Dec 2016, 06:46 AM
Hi Ahmad,

Thank you for the provided information.

We need more time to check your scenario. We will contact you again as soon as we have more information about your case.

Regards,
Dinko
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Dinko | Tech Support Engineer
Telerik team
answered on 22 Dec 2016, 03:01 PM
Hi Ahmad,

Thank you for your patience.

We manage to isolate the issue without using any of UI for WPF Telerik controls. It seems that when you logout and login the application is rerendered and all DataTemplates are reapplied. When the DataTemplates have reapplied, all controls within the view are rearranged of which cause the focus to be lost. You can find attached to this reply the isolated project. Currently, we are not aware of any suitable workaround for this behavior.

Regards,
Dinko
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allows you to write beautiful native mobile apps using a single shared C# codebase.
Tags
PanelBar
Asked by
Ahmad
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Ahmad
Top achievements
Rank 1
Share this question
or