DropDownList visible

0 Answers 95 Views
DropDownList
Nicolas
Top achievements
Rank 1
Iron
Nicolas asked on 12 Jun 2023, 01:10 PM

Hello,

I have a DropDownList that I would like to cache based on a radio button 

Code DropDownList :
@(
                    Html.Kendo().DropDownList()
                        .Name("orders")
                        .DataTextField("Companies_name")
                        .DataValueField("CompaniesId")
                        .MinLength(3)
                    .HtmlAttributes(new { style = "width:25%" })
                        .Template("#= CompaniesId # |  #= Companies_name #")
                        .Height(520)
                        .Filter(FilterType.Contains)
                        .DataSource(source =>
                        {
                            source
                            .Ajax()
                            .PageSize(80)
                            .Read("Virtualization_Read", "NewUploadAccount");
                        })
                        .Events(e =>
                        {
                            e.Change("onChange");
                    })
                        .Virtual(v => v.ItemHeight(26).ValueMapper("valueMapper"))
                        )
Regards
Nicolas
Top achievements
Rank 1
Iron
commented on 12 Jun 2023, 01:19 PM

I found the solution at the beginning trying to enter with div sa does not work but with a panel it is good.

You can close the ticket

No answers yet. Maybe you can help?

Tags
DropDownList
Asked by
Nicolas
Top achievements
Rank 1
Iron
Share this question
or