ReportViewer date parameter - javascript errors??
Any issues using these through asp.net Reportviewer?
I get javascript errors I can't make out when I select the calendar.
and the date parameters are disregarded and set to defaults when I
post.
I'm sending Credentials to the report from the codebehind this way:
Protected Overrides Sub OnLoad(ByVal e As EventArgs)
Dim Roles() As String =
GetRolesForUser(Page.User.Identity.Name.ToString)
Dim cred As New Retailer.ReportServerCredentials("myuserv",
"mypassword", "mydomain")
ReportViewer1.ServerReport.ReportServerCredentials = cred
Dim param As New ReportParameter("r_user",
Page.User.Identity.Name.ToString)
Dim param2 As New ReportParameter("r_role", Roles(0))
Dim p() As ReportParameter = {param, param2}
ReportViewer1.ServerReport.SetParameters(p)
ReportViewer1.ServerReport.Refresh()
End Sub
End Class
Otherwise the report displays perfectly and the internal parameters work fine.
My client is IE 7.0.
Thanks for any help or information.
|