CallbackDataBind in C1ComboBox don’t works properly

Originally Posted 1 August 2008, 3:46 am EST

  • Originally Posted 1 August 2008, 3:46 am EST


    We are testing the wijmo combobox to use it in a project in .asp 4.5 and wijmo 4.
    We need to connect the combobox with a database and we would like search the database using the autocomplete, autofilter and obtain on demand the data.
    When I wrote in the text area, the CallbackDataBind event don't trigger and cannot retrieve the data.

    The source that we are using is:


    <wijmo:C1ComboBox ID="cboDesplegable" runat="server" EnableCallBackMode="True" DataTextField="Descripcion" DataValueField="Codigo" MinLength="2" CallbackDataPopulate="DataBind">


        Protected Sub cboDesplegable_CallbackDataBind(sender As Object, args As C1.Web.Wijmo.Controls.C1ComboBox.C1ComboBoxCallbackEventArgs) Handles cboDesplegable.CallbackDataBind
    Dim DS As Data.DataSet = D.LeerTabla(m_Consulta)
    args.DataSource = DS
    MsgBox("Enter") ' Line to test if the event works.
    args.PageSize = 12
    'cboDesplegable.DataBind() ¿?
    End Sub

  • Reply


    I request you to please refer to the following link of our online demo demonstrating how to use CallbackDataBind event of C1ComboBox.

    I checked the same at my end using the latest build and the event is raised and items get populated correctly.
    Please check the same at your and the event is still not raised, I request you to kindly use the latest build of C1ComboBox. You can download the same from the following link:

    Let me know if the issue still persists.
  • Reply

    Hi, thanks for your answer.

    How can I install these prerelease? Need I to put the dll's in the installation folder, in the project folder or in both?

    We are using the keyboard to interactuing the combobox and when we write, don't appear any text.

    The function that I am using, is a dataset filled from a sql database.

    This is the function:

        Public Function LeerTabla(ByVal sSql As String) As DataSet
    Dim DB As SqlConnection = New SqlConnection(CadenaConexion)
    Dim DA As SqlDataAdapter = New SqlDataAdapter(sSql, DB)
    Dim DS As DataSet
    If sSql = "" Then
    Return Nothing
    Exit Function
    End If
    DS = New DataSet
    Return DS
    End Function

  • Reply


    We installed the prerelease versión of wijmo components but the problem persist.
    The c1callbackdatabind event don't trigger any time.

    It is a bug?

    Can any sendme and example in vb with an autocomplete combo linked with a database by a dataset?

  • Reply


    Can anybody sendme an simple to connect a combobox with autocomplete to a database?

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels