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.

GenericDropDown Issue

Thread ID:

Created:

Updated:

Platform:

Replies:

108256 Apr 10,2013 10:42 AM Apr 12,2013 05:40 AM ASP.NET MVC (Classic) 3
loading
Tags: Tools
Doug Matulis
Asked On April 10, 2013 10:42 AM

Hi,

I am trying to use the GenericDropDown  control as follows:

Controller:

ViewData["RolesDropDown"] = rolesRepos.GetAllRoles();


View:

            @{        
                Html.Syncfusion().GenericDropDown("RolesDropDown")
                    .AutoFormat(Skins.Monochrome)
                    .DataSource((System.Collections.IEnumerable)ViewData["RolesDropDownData"])
                    .AllowTextEdit(false)
                    .AllowMultipleSelection(false)
                    .Text("[Select]")
                    .Width(310)
                    .Render(); 
            }

The data gets passed to the view fine however, the drop down does not render correctly (drop arrow is partially hidden) and there are no items in the drop down list.

Am I doing this correctly or missing something?

Thanks,
Doug


Doug Matulis
Replied On April 10, 2013 11:02 AM

Just a correction to the above, the data is being passed to view through the ViewBag.

Thanks,
Doug

Doug Matulis
Replied On April 10, 2013 11:18 AM

Here are some screen captures attached...

GenericDropDownScreenCaptures_37ea58e0.zip

Meena [Syncfusion]
Replied On April 12, 2013 05:40 AM

Hi Doug,

 

Thanks for contacting Syncfusion forums.

 

We have updated a solution for your requirement in Direct Trac incident #106866. Kindly have follow up with the same incident for further updates.

 

Please let us know if you have any other concerns.

 

Regards,

Meena


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.

;