Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
WebDropDown Client Side Jscript Error Infragistics
posted

Hi Guys

See below error on the WebDropDown Control which is housed in a Custom Control, any ideas where I'm going wrong or is this a bug?

Regards

Kevin

Code Behind :

 Protected Sub lblDelete_Click(sender As Object, e As EventArgs) Handles lblDelete.Click
        If MyViews.SelectedItemIndex <> -1 Then
            _SaveView1.DeleteView(MyViews)
            DropDownListViews()
        End If
    End Sub
    Public Sub DropDownListViews()

        Dim list As New List(Of SqlClient.SqlParameter)

        MyViews.Items.Clear()
        MyViews.Items.Add(New Infragistics.Web.UI.ListControls.DropDownItem(""))
        myDataServer.MaintainParameterList(list, Session("USERID"), DbType.Int32, "@UserID", True)
        Dim _dt As New DataTable

        _dt = myDataServer.GetDataTable("usp_List_Views", list)

        Dim dr As DataRow
        For Each dr In _dt.Rows
            MyViews.Items.Add(New Infragistics.Web.UI.ListControls.DropDownItem(dr.Item(1).ToString))
        Next


    End Sub

 

Screen Shot :