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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unable to reference multi-selection tool from code behind

Thread ID:





116932 Jul 3,2014 08:08 AM UTC Jul 4,2014 10:55 AM UTC ASP.NET Web Forms (Classic) 2
Tags: MultiSelectionDropDown
Graeme Atkinson
Asked On July 3, 2014 08:08 AM UTC

Anyone have an idea on /seen this issue:
I have two projects, one is an ASP.NET website, the other an ASP.NET application. Both have essentially the same code to create a multi selection drop down. However, whist the .NET application shows the dropdown box, I cannot refer to it from the code behind. For example:

<syncfusion:MultiSelectionDropDown ClientSideOnBeforePopupShow="OnBeforePopup()" ClientSideOnClosePopup="OnClosePopup()" ClientSideOnItemCheckChanged="OnItemChecked(this)" ClientSideOnPopupShown="OnPopup()" ClientSideOnTextChanged="OnTextChange(this)" ID="MultiSelectionDropDown1" runat="server" Width="383px" Font-Size="12px" Font-Names="Trebuchet MS" AutoFormat="Office2007 Blue">

Using this.MultiselectionDropDown1 in the .cs code behind results in error:

Error 46 'INZ.UI.Email' does not contain a definition for 'MultiSelectionDropDown1' and no extension method 'MultiSelectionDropDown1' accepting a first argument of type 'INZ.UI.Email' could be found (are you missing a using directive or an assembly reference?)

The exact same code works without issue in the .NET website. 

Any "standard" asp.net items can be referred to, as expected. For example: this.Label1.Text = "test";

It appears to be an issue specific to the MultiSelectionDropDown element?

Any ideas?

Many thanks!

Graeme Atkinson
Replied On July 4, 2014 05:14 AM UTC

Solved! It appears that the .designer.xx file (windows application component) is not generated when projects are created using IronSpeed designer (my scaffolding software). Manually generated using Visual Studio (right click on item, select "convert to web application") and all good. 

Ezhil S [Syncfusion]
Replied On July 4, 2014 10:55 AM UTC

Hi Graeme,


Thanks for your interest with Syncfusion products.


We are glad to know that issue is resolved.


Hope we serve you better.


Please let us know if you have further queries.



Ezhil S


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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