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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

cascading on drop down List

Thread ID:

Created:

Updated:

Platform:

Replies:

121198 Nov 18,2015 12:09 PM UTC Nov 19,2015 05:38 PM UTC ASP.NET Web Forms 1
loading
Tags: DropDownList
Manolo
Asked On November 18, 2015 12:09 PM UTC

Hi,

I've these tables with this structure:

Table System

ID int
Name nvarchar

Table Campaign

ID int
IdSystem int
Name nvarchar

I want two dropdownlist in with these data in cascading, the problem is: For doing cascading I need rename the ID of System Table to IdSystem, Then cascading works fine, but I can't do it. So:

How can I do cascading with my relationship?

Thanks

Arun Palaniyandi [Syncfusion]
Replied On November 19, 2015 05:38 PM UTC

Hi Manolo,
Thanks for the update,
Query:” I want two dropdownlist in with these data in cascading, the problem is: For doing cascading I need rename the ID of System Table to IdSystem ,hen cascading works fine, but I can't do it. So: How can I do cascading with my relationship?”
In our Dropdown we have set  one column as the foreign key and if that corresponding foreign key column matches the column in other table then the cascading operation will be done. It will be given in the DataValueField property and if the value matches, then cascading works . Therefore you need to rename the ID to IdSystem. So your Query is not possible as the behavior of the DropdownList is like that.
Please let us know if you need any further assistance.
Regards,
Arun P

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.

Warning Icon 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.Close Icon

;