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.

Using Ajax to populate a MultiColumnDropDownCombo

Thread ID:

Created:

Updated:

Platform:

Replies:

94648 May 25,2010 02:53 PM Jun 1,2010 05:27 AM ASP.NET Web Forms (Classic) 5
loading
Tags: Tools
Pete Davis
Asked On May 25, 2010 02:53 PM

There's a post here with a sample link that I believe demonstrates what I want to do:

http://www.syncfusion.com/support/forums/tools-aspnet/78452/MultiColumnDropDownCombo-

But the sample link is no longer valid.

What I'd like to do is use Ajax to populate a multicolumn DDC. I'm assuming I just need to build the table on the fly, but wanted to make sure you guys don't already have some handy-dandy helper functions or something I can use...

Lakxman Kumar C [Syncfusion]
Replied On May 27, 2010 08:48 AM

Hi Pete,

Thank you for your interest in Syncfusion Products.

We are sorry that since the link is broken, you werent able to download the sample that you mentioned. You can find the sample that you requested from the link blow.

http://help.syncfusion.com/samples/Tools.Web/6.4.0.15/78452-MultiColumnDropDownCombo/main.htm

If your intention is to dynamically populate theMultiColumnDropdown during a AJAX refresh, then you can use the DataSource property to specify the data source and then data bind using the DataBind() . The DataSource can be any object that implements the System.Collections.IEnumerable interface. You can find more details on databinding the Multicolumn Dropdown from the link below.

http://help.syncfusion.com/ug_82/ASP.NETUI_Tools/DataBinding4.html

You can also refer our online sample for MultiColumnDropdown in the link below

http://samples.syncfusion.com/ASPNET/8.2.0.18/Web/Tools.Web/samples/3.5/EditorsPackage/MultiColumnDropDownCombo/MultiColumnCoreFeature/cs/CoreFeature.aspx?args=0

Thank you for your interest in Syncfusion Proucts.

Regards,
Lakxman Kumar C

Joe Ehrhardt
Replied On May 27, 2010 09:44 AM

I'm retrieving the data via an async XMLHttpRequest. So how do I use that to populate the dropdown?

Joe Ehrhardt
Replied On May 27, 2010 09:45 AM

Sorry, I'm Peter Davis. I was using my personal account in the original post. This is the corporate account.

Joe Ehrhardt
Replied On May 27, 2010 10:36 AM

It occurs to me that maybe I ought to just tell you exactly what my issue is and maybe there's a better solution...

I have a multicolumndropdowncombo with nearly 6000 items in it. There is a bit of a delay (about 2 seconds) when you click on the dropdown before it displays.

I realize 6000 items is a lot of items, but that's my issue. 2 seconds is simply too long.

Based on the samples you linked to, I've tried using the DataSource method using an ObjectDataSource and having it retrieve the data from an object. This doesn't really seem to be asynchronous, however, as the call to load the data happens before the page is rendered and blocks the page rendering. So, not really the ajax kinda loading I wanted.

I did notice there's a Javascript object: Syncfusion.Web.UI.MultiColumnDropDownCombo in the resources: Syncfusion.Web.UI.WebControls.Shared.MultiColumnDropDownCombo.Scripts.multicolumndropdown.js

Could I use that to populate the grid from Javascript? If so, is there an example of how to use it?

Lakxman Kumar C [Syncfusion]
Replied On June 1, 2010 05:27 AM

Hi Joe,

Kindly follow the Direct-Trac incident created by you for more updates on this requirement.

Thank you for your interest in Syncfusion Products.

Regards,
Lakxman Kumar C

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.

;