Can't Change Dropdown Format

2 posts, 0 answers
  1. Cory
    Cory avatar
    3 posts
    Member since:
    Aug 2011

    Posted 18 Oct 2019 Link to this post

    I'm using the standalone report designer with an ASP.NET MVC C# website.  My issue is that when I add a single select or multi select parameter, it always shows up in a list box instead of a dropdown.  Does anyone know if there's an option to display the parameter as a dropdown instead?  I've seen demos with normal dropdowns but I just can't find the option to change it.  I've attached a picture of the list box I'm referring to.
  2. Neli
    Neli avatar
    255 posts

    Posted 21 Oct 2019 Link to this post

    Hi Cory,

    The approach to replace the list with a dropdown in the MVC report viewer is described in the How To: Change Parameter Editors Type help article. The parameters editors types are defined through the Parameters method when creating the Telerik Report Viewer widget. For example:
    .ReportSource(new TypeReportSource() { TypeName = typeof(ReportCatalog).AssemblyQualifiedName })
    .Parameters(new Parameters { Editors = new Editors { SingleSelect = EditorTypes.ComboBox} })

    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top