Hi,
i have a problem with the MultiColumnDropDownCombo.
- Select one Entry From the combobox
- click on a button
- in the click event from the button the selectedindex is wrong. every time it is reduced by 1
Browser:
Firefox 4.0.1
Syncfusion Version 9.2.0.137
Example:
Public Class _Default
Inherits System.Web.UI.Page
Private index As Integer = Nothing
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dstDataset As New DataSet
Dim tblData As New DataTable
tblData.Columns.Add("ConnectionName")
tblData.Rows.Add("0")
tblData.Rows.Add("1")
tblData.Rows.Add("2")
tblData.Rows.Add("3")
tblData.Rows.Add("4")
tblData.Rows.Add("5")
tblData.Rows.Add("6")
tblData.Rows.Add("7")
tblData.Rows.Add("8")
tblData.Rows.Add("9")
dstDataset.Tables.Add(tblData)
cboDatabase.DataSource = dstDataset
cboDatabase.DataMember = dstDataset.Tables(0).TableName
cboDatabase.DataTextFormatField = "{ConnectionName}"
cboDatabase.DataKeyField = "ConnectionName"
cboDatabase.DataBind()
End Sub
Protected Sub btnLogin_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnLogin.Click
index = cboDatabase.SelectedIndex
End Sub
End Class
<%@ Page Title="Startseite" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
CodeBehind="Default.aspx.vb" Inherits="syncfusion_combobox._Default" %>
<%@ Register Assembly="Syncfusion.Shared.Web, Version=9.204.0.137, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"
Namespace="Syncfusion.Web.UI.WebControls.Shared" TagPrefix="syncfusion" %>
AutoGenerateColumns="False" ShowHeader="False" AutoFormat="false" PopupWidth="200px"
ButtonCssClass="SFDropDownButton" ButtonHoverCssClass="SFDropDownButton" ContainerHoverCSSClass="SFDropDownContainer"
ContainerTableCssClass="SFDropDownContainer" ControlRootCSSClass="SFDropDownDefault"
PopupCssClass="SFDropDownPopup" TextBoxCssClass="SFDropDownTextBox" TextBoxHoverCssClass="SFDropDownTextBox">