Telerik - RadListView Example

This short piece of code will show how to populate a RadListView control

Related Articles

... and you 'll find more on the Telerik ASPNET Menu

                       
Private Sub Admin_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Try
        Me.RadListView1.Columns.Add("itemnmbr", "Item Number")
 
        Dim oDT As DataTable
        oDT = dyndata.SPs.FP_IV00101_SEL("NGB01").getTable
 
        Me.RadListView1.DataSource = oDT
        Me.RadListView1.ValueMember = "ITEMNMBR"
        Me.RadListView1.DisplayMember = "ITEMNMBR"
 
    Catch ex As Exception
        ErrorHandler.globalErrorHandler(ex, True)
 
    End Try
 
End Sub

Iterate through the selected items

For Each oItem As ListViewDataItem In Me.lstEmailSites.SelectedItems
    intSite = oItem.Value
Next

 

 


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences