Hello All,
I've a question about getting data from a database with a listbox.
I have a listbox with 5 items and a submit button. When I select one item and submit it returns the correct value.
When I select two items and submit it only returns the values of the first item.
Could you please tell me how to change this or where I find more information about this.
Thanks!
Paul
I've a question about getting data from a database with a listbox.
I have a listbox with 5 items and a submit button. When I select one item and submit it returns the correct value.
When I select two items and submit it only returns the values of the first item.
Could you please tell me how to change this or where I find more information about this.
Thanks!
Paul
4 Answers, 1 is accepted
0
Hi paul,
You need to use the SelectedItems property of the RadListbox which returns a list of the selected items.
Greetings,
Veselin Vasilev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You need to use the SelectedItems property of the RadListbox which returns a list of the selected items.
Greetings,
Veselin Vasilev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
paul
Top achievements
Rank 1
answered on 04 Sep 2009, 09:47 AM
Hi,
Is there a quide how to use this? I used http://www.telerik.com/help/winforms/ui_radlistboxprogramming.html but it didnt make things clear to me.
I get these 3 errors:
Error 22 'Default2.RadListBox1' is a 'field' but is used like a 'type'
Error 22 The type or namespace name 'RadListBox1' could not be found (are you missing a using directive or an assembly reference?)
Error 23 The type or namespace name 'RadListBoxItem' could not be found (are you missing a using directive or an assembly reference?)
I have one listbox named RadListBox1 with two items and one Radgrid named RadGrid1
Thanks
Is there a quide how to use this? I used http://www.telerik.com/help/winforms/ui_radlistboxprogramming.html but it didnt make things clear to me.
I get these 3 errors:
Error 22 'Default2.RadListBox1' is a 'field' but is used like a 'type'
Error 22 The type or namespace name 'RadListBox1' could not be found (are you missing a using directive or an assembly reference?)
Error 23 The type or namespace name 'RadListBoxItem' could not be found (are you missing a using directive or an assembly reference?)
I have one listbox named RadListBox1 with two items and one Radgrid named RadGrid1
Thanks
0
Hello paul,
This is a forum about RadListBox for ASP.NET Ajax. Do you use that control or the one for WinForms?
All the best,
Veselin Vasilev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
This is a forum about RadListBox for ASP.NET Ajax. Do you use that control or the one for WinForms?
All the best,
Veselin Vasilev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
paul
Top achievements
Rank 1
answered on 04 Sep 2009, 01:04 PM
Your're right, wrong link...
But is there more information about de selecteditems event? I can't get it to work.
Thanks, Paul
But is there more information about de selecteditems event? I can't get it to work.
Thanks, Paul