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. Image for the cookie policy date

GenericDropDown Issue

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


3 Replies

DM Doug Matulis April 10, 2013 03:02 PM UTC

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

Thanks,
Doug


DM Doug Matulis April 10, 2013 03:18 PM UTC

Here are some screen captures attached...

GenericDropDownScreenCaptures_37ea58e0.zip


ME Meena Syncfusion Team April 12, 2013 09:40 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon