public MainPage() { InitializeComponent(); this.ReportViewer1.RenderBegin += new RenderBeginEventHandler(ReportViewer1_RenderBegin); } void ReportViewer1_RenderBegin(object sender, RenderBeginEventArgs args) { args.ParameterValues.Add("reportParameter", "Header1;Header2;Header3"); }string[] splitedReportParameter = this.ReportParameters["reportParameter"].Value.ToString().Split(',');for (int i = 0; i < splitedReportParameter.Length; i++){ Telerik.Reporting.TextBox CaptionTextBox = new Telerik.Reporting.TextBox(); labelsGroupHeader.Items.AddRange(new ReportItemBase[] { CaptionTextBox }); CaptionTextBox.CanGrow = true; CaptionTextBox.Name = splitedReportParameter[i] + "CaptionTextBox"; CaptionTextBox.StyleName = "Caption"; CaptionTextBox.Value = splitedReportParameter[i]; }Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
uriReportSource.Uri = @"C:\Users\educles\Documents\Report1.trdx";
this.reportViewer.ReportSource = uriReportSource;
Hi all,
I am using telerik reports(Q3 2010 ,version 4.2.10.1110) in my application and I have a 'reports.aspx' page
where i am using a telerik report viewer
Now here is the funnier part; My application works correctly in all browsers (including Safari on windows platform). But when I open the 'reports.aspx' page in an Ipad I am getting the below error,
“Potentially dangerous request.path value was detected from the client (&)“
I tried a variety of solutions like setting ValidateRequest="false" & requestValidationMode="2.0" , but none of them helped.
To check whether the error was caused by the Telerik report viewer i tried adding the report viewer to a fresh application, with the page containing only the report viewer (not even binded). And guess what it works well in all browsers but not in Ipad.
Is this a problem with the report viewer; is there a work around for this issue?
Thanks in advance