This question is locked. New answers and comments are not allowed.
Hi. I need to store two values in each of the items of the radlistbox. I'm trying this:
But the listbox is always empty.
Can you help me?
Thanks
| Class MyItem |
| Inherits Telerik.WinControls.RadItem |
| Public MyShowText As String |
| Public MyStrng As String |
| Sub New(ByVal ShowText As String, ByVal Strng As String) |
| MyBase.New() |
| MyShowText = ShowText |
| MyStrng = Strng |
| Me.Text = MyShowText |
| End Sub |
| End Class |
| ListBox1.Items.Add(New MyItem(Path.GetFileName(file_name), file_name)) |
Can you help me?
Thanks