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.

DropDownList SelectMethod doesn't work

Thread ID:

Created:

Updated:

Platform:

Replies:

118456 Mar 10,2015 05:03 AM Mar 11,2015 07:49 AM ASP.NET Web Forms 1
loading
Tags: DropDownList
Manolo
Asked On March 10, 2015 05:03 AM

Hi,

I want to use a dropdownlist control, but this code doesn't work:

<ej:DropDownList class="col-md-2" ID="ddlAAConGas" runat="server" SelectMethod="GetEmpresasGN"  DataTextField="Nombre"  DataValueField="IdEmpresa"  />

The control doesn't fill and stay with the loading icon

If I use

<asp:DropDownList class="col-md-2" ID="ddlSituacionGN" runat="server" SelectMethod="GetSituacionesGN" DataTextField="SituacionGN"  DataValueField="IdSituacion" />

It works perfectly

Bye

Ezhil S [Syncfusion]
Replied On March 11, 2015 07:49 AM

Hi Manolo,

Thank you for contacting Syncfusion support.

We are unable to reproduce the reported issue with DropDownList on using SelectMethod property. As per the shared code it seems that you have used different methods to bind data for Syncfusion DropDownList and ASP DropDownList, so the issue may also arise when data is not generated properly. So please ensure whether the data is generated properly with the DropDownList model data and their corresponding fields. We have prepared a sample by binding data using SelectMethod and that works fine at our end. Please ensure the sample at your end and let us know the issue persist at your end. If so could you please share defect sample or modify sample shared to reproduce issue at our end. So that we can provide you a solution as soon as possible.

Sample can be downloaded from link below:

http://www.syncfusion.com/downloads/support/directtrac/general/DropDown_f118142634349.zip

Please let us know if you have any other queries.

Regards,

Ezhil S



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.

;