Hi if you open Visual Studio 2019 with Telerik ASP.NET v
Go in Extensions menĂ¹ > Telerik > Telerik UI for ASP.NET > Create New Telerik Project...
later choose "Telerik VB Web Form Site" and RESPONSIVE template.
This code in file "ListView.aspx" not run properly:
Protected Sub RadListViewImages_ItemDataBound(sender As Object, e As Telerik.Web.UI.RadListViewItemEventArgs)
Dim item As RadListViewDataItem = TryCast(e.Item, RadListViewDataItem)
Dim description As String = TryCast(item.DataItem, Image).Description
If description.Length > 100 Then
description = description.Substring(0, 97) + "..."
TryCast(item.FindControl("LabelShortDescription"), Literal).Text = description
End If
End Sub
I think it should be replaced with this:
Protected Sub RadListViewImages_ItemDataBound(sender As Object, e As Telerik.Web.UI.RadListViewItemEventArgs)
Dim item As RadListViewDataItem = TryCast(e.Item, RadListViewDataItem)
Dim description As String = TryCast(item.DataItem, Image).Description
If description.Length > 100 Then
description = description.Substring(0, 97) + "..."
End If
TryCast(item.FindControl("LabelShortDescription"), Literal).Text = description
End Sub
Thanks