Hi all,
I am converting some code from winforms to radwinforms but i have a problem with some code using AfterSelect from winforms treeview.
I can't find AfterSelect in the radtreeview so how can i get my code working when my old code is using AfterSelect?
Have you guys renamed that property to something else?
Gr,
B
I am converting some code from winforms to radwinforms but i have a problem with some code using AfterSelect from winforms treeview.
I can't find AfterSelect in the radtreeview so how can i get my code working when my old code is using AfterSelect?
Have you guys renamed that property to something else?
Gr,
B
9 Answers, 1 is accepted
0
Sensi
Top achievements
Rank 1
answered on 26 Sep 2014, 12:36 PM
Nevermind i found it
0
Hi Sensi,
Thank you for writing.
My best guess is that you have used the SelectedNodeChanged event which is suitable for this case. In addition other useful nodes events are listed here: Events.
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Telerik
Thank you for writing.
My best guess is that you have used the SelectedNodeChanged event which is suitable for this case. In addition other useful nodes events are listed here: Events.
Do not hesitate to contact us if you have other questions.
Dimitar
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
harshal
Top achievements
Rank 1
answered on 06 Jan 2017, 10:09 AM
Hi,
What is workaround for OnAfterSelect evet for RadTreeView? Even I am facing the same issue in upgrading to Telerik from other provder.
Please suggest
Thanks,
Harshal
0
Hi Harshal,
You can use the SelectedNodeChanged event instead.
I hope this information is useful. Let me know if you need further assistance.
Regards,
Dimitar
Telerik by Progress
You can use the SelectedNodeChanged event instead.
I hope this information is useful. Let me know if you need further assistance.
Regards,
Dimitar
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
harshal
Top achievements
Rank 1
answered on 06 Jan 2017, 11:03 AM
How can i override that function in multilevel
0
harshal
Top achievements
Rank 1
answered on 06 Jan 2017, 11:05 AM
i have binded radtreeview with my data. but I am not able to see the current selection? Any suggestion what is going wrong?
0
Hello Harshal,
If you are using the MultiSelect mode you can use the following code to retrieve the selected nodes:
Please note that I am not sure how you are binding the tree view and what you expect to get. Could please specify your exact requirement?
I hope this will be useful. I am looking forward to your reply.
Regards,
Dimitar
Telerik by Progress
If you are using the MultiSelect mode you can use the following code to retrieve the selected nodes:
public
RadForm1()
{
InitializeComponent();
radTreeView1.MultiSelect =
true
;
radTreeView1.SelectedNodesChanged += RadTreeView1_SelectedNodesChanged;
}
private
void
RadTreeView1_SelectedNodesChanged(
object
sender, Telerik.WinControls.UI.RadTreeViewEventArgs e)
{
foreach
(var item
in
radTreeView1.SelectedNodes)
{
Console.WriteLine(item.Text);
}
}
Please note that I am not sure how you are binding the tree view and what you expect to get. Could please specify your exact requirement?
I hope this will be useful. I am looking forward to your reply.
Regards,
Dimitar
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
harshal
Top achievements
Rank 1
answered on 09 Jan 2017, 04:59 AM
I have started a new thread.. please go through it to understand more about my code..
http://www.telerik.com/forums/radtreeview---bind-custom-nodes
0
Hello Harshal,
Ok, someone will review the other thread and we will discuss this there.
Regards,
Dimitar
Telerik by Progress
Ok, someone will review the other thread and we will discuss this there.
Regards,
Dimitar
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.