Hi, I'm having a problem with the R.a.d grid control from Telerik (trial version). The grid is supposed to accept a DataTable as datasource, but when I use GetMultiAsDataTable I get the following error :
"Index was outside the bounds of the array."
GetMultiAsDataTable works well with a basic System.Web.UI.WebControls.DataGrid, so I presume the problem reside with the R.a.d. grid control... Anyone has ever encountered that problem ?
Here's my code :
Private Sub RadGrid1_NeedDataSource(ByVal [source] As Object, ByVal e As Telerik.WebControls.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
Dim parts As New TdmPartsCollection
RadGrid1.DataSource = parts.GetMultiAsDataTable(Nothing, 0, Nothing)
End Sub