5 Answers, 1 is accepted
0
Hello Romell,
I prepared and attached a sample project for you showing how to change the ItemsSource of the ListBox control at runtime, the same approach can be used to modify/edit the existing ItemsSource items.
Hope this is helpful.
Regards,
Vladi
the Telerik team
I prepared and attached a sample project for you showing how to change the ItemsSource of the ListBox control at runtime, the same approach can be used to modify/edit the existing ItemsSource items.
Hope this is helpful.
Regards,
Vladi
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Daniel
Top achievements
Rank 1
answered on 12 Nov 2012, 02:53 PM
Hi,
this is not answer to the question. The question was how to make items editable , just like RadTreeView.IsEditable does.
Correct answer is that RadListBox does not support inline editing of items.
However, I would expect this feature from RadListBox. If RadTreeView can do it, RadListBox should as well.
Daniel
0
Hi Daniel,
There are many different scenarios and solutions on editing the items of RadListBox at runtime, the example in my previous post shows one of them.
Inline editing is not supported out of the box in the control but it is possible to be implemented by creating a custom RadListBoxItemTemplate and writing the corresponding logic for changing the item in the ItemsSource of the ListBox control.
All the best,
Vladi
the Telerik team
There are many different scenarios and solutions on editing the items of RadListBox at runtime, the example in my previous post shows one of them.
Inline editing is not supported out of the box in the control but it is possible to be implemented by creating a custom RadListBoxItemTemplate and writing the corresponding logic for changing the item in the ItemsSource of the ListBox control.
All the best,
Vladi
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Martin
Top achievements
Rank 1
answered on 10 Jun 2014, 11:23 AM
Any chance you could supply us with a custom RadListBoxItemTemplate for editing or would we be better off switching to RadTreeView, which supports inline editing?
0
Hello,
The RadListBox control as any other selector control is not designed to support built-in inline editing of the items. The mentioned inline editing is not available in the default ListBox control which is why it has not been consider to be implemented as a built-in feature in the RadListBox control.
Currently we do not have an example that we can share with you that shows how the described scenario could be achieved. You can take a look at this post which describes a possible approach of achieving the desired behavior:
http://stackoverflow.com/questions/2088909/inline-editing-textblock-in-a-listbox-with-data-template-wpf
Regards,
Vladi
Telerik
The RadListBox control as any other selector control is not designed to support built-in inline editing of the items. The mentioned inline editing is not available in the default ListBox control which is why it has not been consider to be implemented as a built-in feature in the RadListBox control.
Currently we do not have an example that we can share with you that shows how the described scenario could be achieved. You can take a look at this post which describes a possible approach of achieving the desired behavior:
http://stackoverflow.com/questions/2088909/inline-editing-textblock-in-a-listbox-with-data-template-wpf
Regards,
Vladi
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.