Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 13th, 2006, 05:49 AM
Registered User
Join Date: Nov 2006
Location: , , Spain.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems refreshing Report

Hi All!!

I'm working with Report Viewer in LocalReport Mode in my ASPX pages.

I did a report definition binded with a Object Datasource that call a method to return rows of one of my tables.

I have one DropDownlist called ddlCursthat I load in .ASPX.CS with items of my database.

I have this code in my .ASPX page:


<asp:DropDownList ID="ddlCurs" runat="server" OnSelectedIndexChanged="ddlCurs_SelectedIndexChang ed" >
                </asp:DropDownList >

<rsweb:ReportViewer ID="VisualReportViewer" runat="server" Height="402px" Width="109%" ShowFindControls="False" Visible="False">
    <LocalReport ReportPath="Intranet\Reports\AlumnesPerCurs.rdlc">
                <rsweb:ReportDataSource DataSourceId="objDS" Name=AlumnesPerCurs_tblAlumne >
    <asp:ObjectDataSource ID="objDS" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetAlumnesPerCurs" TypeName="AlumnesPerCursTableAdapters.tblAlumneTab leAdapter">
     <asp:ControlParameter ControlID="ddlCurs" DefaultValue="3" Name="idCurs" PropertyName="SelectedValue"
         Type="Int32" />


And in my code-behind page:

protected void ddlCurs_SelectedIndexChanged1(object sender, EventArgs e)

But the report doesn't refresh with new data recolleted with the change of DDL object

any idea?


THanks for your Help.

Happy Programming!!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Refreshing of SSRS Report on the Selection of Kali Charan Tripathi Reporting Services 0 October 9th, 2008 06:36 AM
report problems mohiddin52 Access VBA 5 August 27th, 2007 06:45 AM
Report Problems Brendan Bartley Access 0 February 21st, 2007 07:08 AM
Report Problems Brendan Bartley Access 2 June 8th, 2006 08:09 AM
refreshing XML withour refreshing the page sasidhar79 XML 1 January 12th, 2005 05:16 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.