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

lineStyle throws exception

2 Answers 41 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
George C.
Top achievements
Rank 2
Iron
Veteran
George C. asked on 07 Feb 2020, 01:43 PM

Greetings,

 

The below code throws an exception :  'Unable to cast object of type 'System.EventArgs' to type 'Telerik.WinControls.UI.Data.PositionChangedEventArgs'

RadTreeView1.LineStyle = TreeLineStyle.Dot

 

Any solution ?

Thanks for your attention.

 

 

 

2 Answers, 1 is accepted

Sort by
0
George C.
Top achievements
Rank 2
Iron
Veteran
answered on 09 Feb 2020, 11:29 AM

self-solved.

Refreshing the RadTreeView after changing the line style does the trick

0
Nadya | Tech Support Engineer
Telerik team
answered on 11 Feb 2020, 03:02 PM

Hello George,

I am glad that you managed to resolve the problem that you were facing. Do not hesitate to contact us if you have other questions.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Treeview
Asked by
George C.
Top achievements
Rank 2
Iron
Veteran
Answers by
George C.
Top achievements
Rank 2
Iron
Veteran
Nadya | Tech Support Engineer
Telerik team
Share this question
or