ReportViewer activate combobox

3 Answers 165 Views
Report Viewer - ASP.NET
CRISTINA
Top achievements
Rank 1
Iron
CRISTINA asked on 25 Oct 2022, 07:32 AM

Hello,

I have a project in .NET Framework 4.6.1 with a web page that use a ReportViewer telerik control. To make everything clearer i have to change the parameter section from ListView to ComboBox. I'm using the library Telerik.ReportViewer.Html5.WebForms v.14.1.20.618 for reporting, while the rest of the projecxt is Telerik for AJAX.

Mi first question is: can you confirm me that with this setting i can activate the ComboBox?

The second question is: how can i do that? In ReportViewer I can't see the element Parameters also after adding in the project the file jquery-3.3.1.min.js

Thanks

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Oct 2022, 03:57 PM

Hello Cristina,

Yes, it is possible to use the ComboBox parameter editors with the HTML5 WebForms Report Viewer.

Please refer to the How to Change Parameter Editors Type - Telerik Reporting article for details on how to do that.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
CRISTINA
Top achievements
Rank 1
Iron
commented on 02 Nov 2022, 01:20 PM

Hello, 

I followed the article that you linked me and nothing changed. 

I don't see any errors but, as you can see from the attached screenshot, i get a notify in .Net telling me that the Parameters tag can't be used like this. How can I fix it?

Regards,

Cristina

0
CRISTINA
Top achievements
Rank 1
Iron
answered on 02 Nov 2022, 11:47 AM

Hello, 

I followed the article that you linked me and nothing changed. 

I don't see any errors but, as you can see from the attached screenshot, i get a notify in .Net telling me that the Parameters tag can't be used like this. How can I fix it?

Regards,

Cristina

0
Dimitar
Telerik team
answered on 07 Nov 2022, 08:19 AM

Hi Cristina,

You may safely ignore this warning as this is a false positive. 

The code from the screenshot seems to be correct but just to be sure I will paste below a code snippet with the full report viewer code example:

        <telerik:ReportViewer Width="" Height="" EnableAccessibility="false"
            ID="reportViewer1"
            runat="server">
            <ReportSource 
                IdentifierType="TypeReportSource" 
                Identifier="Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
            </ReportSource>
            <Parameters>
                <Editors SingleSelect="ComboBox" MultiSelect="ComboBox"></Editors>
            </Parameters>
        </telerik:ReportViewer>

That should update the widgets used by the report parameter but if you still see the old ListView widgets used, try to clear the browser cache and refresh the page.

Please let me know if you have further questions.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Viewer - ASP.NET
Asked by
CRISTINA
Top achievements
Rank 1
Iron
Answers by
Dimitar
Telerik team
CRISTINA
Top achievements
Rank 1
Iron
Share this question
or