We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MultiColumnDropDown how-to get special cell-value

Thread ID:

Created:

Updated:

Platform:

Replies:

77870 Nov 19,2008 10:34 AM Nov 20,2008 07:37 AM ASP.NET Web Forms (Classic) 2
loading
Tags: Tools
Mr. Sascha Wald
Asked On November 19, 2008 10:34 AM

Hi there

I have a MultiColumnDropDown control with a Datatable as datasource. The table shows in col1 the key and in col2 the text of this item. As dropdown-text the col2-value is shown. When a user selects an item, i need to know the key in col1 of the selected item. How can I get this key in clientside (javascript) by the OnSelectedIndexChanged-Event? Item.rowIndex only gives me the selectedIndex, .Text only the col2-Text!

thanks in advance
Sascha



Rekha P [Syncfusion]
Replied On November 20, 2008 07:19 AM

Hi Sascha,

Thank you for your interest in Syncfusion Products.

As per your scenario, we can get the column1 value only when it is bounded to MultiColumnDropDown and please refer the below code snippet to achieve this using ClientSideOnSelectedIndexChange event,


Also this can be achieved by bounding column2 to the control and column1 as DataTextFormatField and also using CallbackMultiplexer with dynamically bounded columns, so please refer the below link for sample files to achieve this.
http://websamples.syncfusion.com/samples/Tools.Web/F77870-MulticolumnDropDown.zip

Please let me know if this sample helps you.

Thanks,
Rekha



Administrator [Syncfusion]
Replied On November 20, 2008 07:37 AM

Hi Subhasheela

I jus want to know are you from kumbakonam and is ther any product you guys providing for conversion?

Can anyone of you help me out please?

Rajesh


>Hi Sascha,

Thank you for your interest in Syncfusion Products.

As per your scenario, we can get the column1 value only when it is bounded to MultiColumnDropDown and please refer the below code snippet to achieve this using ClientSideOnSelectedIndexChange event,


Also this can be achieved by bounding column2 to the control and column1 as DataTextFormatField and also using CallbackMultiplexer with dynamically bounded columns, so please refer the below link for sample files to achieve this.
http://websamples.syncfusion.com/samples/Tools.Web/F77870-MulticolumnDropDown.zip

Please let me know if this sample helps you.

Thanks,
Rekha





CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;