C
checkraiser
I'm displaying an RDLC file in a Reporting Viewer Control in an aspx page.
The page accepts parameters from a dropdownlist control. Intermittently, I'm
getting an error that the Viewer Control Object is in a read only state on my
aspx page. From the event viewer logs, it appears that this is coming from
my OnSelectedIndexChanged event.
at Microsoft.Reporting.WebForms.ReportViewer.OnReportChanged(Object
sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Microsoft.Reporting.WebForms.Report.OnChange()
at Microsoft.Reporting.WebForms.LocalReport.Refresh()
at mymktpage.ddlCCode_SelectedIndexChanged(Object sender, EventArgs e)
at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs
e)
at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent()
at
System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()
at System.Web.UI.Page.RaiseChangedEvents()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I do have the dropdown set to autopostback=true and the
onselectedindexchanged property set to go to the event
ddlCCode_SelectedIndexChanged, but I'm not really doing anything inside the
event. I'm just trying to trigger the postback when the value is changed on
the dropdown.
Any ideas on what's causing this?
The page accepts parameters from a dropdownlist control. Intermittently, I'm
getting an error that the Viewer Control Object is in a read only state on my
aspx page. From the event viewer logs, it appears that this is coming from
my OnSelectedIndexChanged event.
at Microsoft.Reporting.WebForms.ReportViewer.OnReportChanged(Object
sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Microsoft.Reporting.WebForms.Report.OnChange()
at Microsoft.Reporting.WebForms.LocalReport.Refresh()
at mymktpage.ddlCCode_SelectedIndexChanged(Object sender, EventArgs e)
at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs
e)
at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent()
at
System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()
at System.Web.UI.Page.RaiseChangedEvents()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I do have the dropdown set to autopostback=true and the
onselectedindexchanged property set to go to the event
ddlCCode_SelectedIndexChanged, but I'm not really doing anything inside the
event. I'm just trying to trigger the postback when the value is changed on
the dropdown.
Any ideas on what's causing this?