i am using the following code: which returns error invalid uri unknown format. What i want to do is when my print button is selected on my winform i want the report to show and be editable maintaining format that is passed to it. Also need to know how to pass data to various textboxes on the reports.
<FONT size="2" face="Consolas"><FONT size="2" face="Consolas"><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"><P>Telerik.Reporting.</P><P></FONT> </P><P></P><P></FONT> </P><P><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2"face="Consolas">UriReportSource</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> Telrpt = </FONT></FONT><FONT color="#0000ff" size="2"face="Consolas"><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff"size="2" face="Consolas">new</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"> Telerik.Reporting.</FONT></FONT><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af"size="2" face="Consolas">UriReportSource</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas">();</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> Telerik.Reporting.</P><P></FONT> </P><P></P><P></FONT> </P><P><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2"face="Consolas">UriReportSource</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> Telrpt2 = </FONT></FONT><FONT color="#0000ff" size="2"face="Consolas"><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff"size="2" face="Consolas">new</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"> Telerik.Reporting.</FONT></FONT><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af"size="2" face="Consolas">UriReportSource</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas">();</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> Telrpt.Uri = </P><P></FONT> </P><P></P><P></FONT> </P><P><FONT color="#a31515" size="2" face="Consolas"><FONT color="#a31515" size="2"face="Consolas"><FONT color="#a31515" size="2"face="Consolas">"TelRptContractTest.trdx"</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas">;<BR><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"></P><P>System.Drawing.Printing.</P><P></FONT></P><P></P><P></FONT></P><P><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2"face="Consolas">PrinterSettings</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> printerSettings = </FONT></FONT><FONT color="#0000ff"size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas">new</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"> System.Drawing.Printing.</FONT></FONT><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas">PrinterSettings</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas">();</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> System.Drawing.Printing.</P><P></FONT></P><P></P><P></FONT></P><P><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2"face="Consolas">PrintController</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> standardPrintController = </FONT></FONT><FONT color="#0000ff"size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas">new</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"> System.Drawing.Printing.</FONT></FONT><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas">StandardPrintController</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas">();</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> Telerik.Reporting.Processing.</P><P></FONT></P><P></P><P></FONT></P><P><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2"face="Consolas">ReportProcessor</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> reportProcessor = </FONT></FONT><FONT color="#0000ff"size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas">new</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"> Telerik.Reporting.Processing.</FONT></FONT><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas">ReportProcessor</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas">();</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> Telrpt.Parameters.Add(</P><P></FONT></P><P></P><P></FONT></P><P><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff" size="2"face="Consolas"><FONT color="#0000ff" size="2"face="Consolas">new</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> Telerik.Reporting.</FONT></FONT><FONT color="#2b91af"size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2" face="Consolas">Parameter</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas">(</FONT></FONT><FONT color="#a31515" size="2" face="Consolas"><FONT color="#a31515" size="2" face="Consolas"><FONT color="#a31515" size="2" face="Consolas">"txtLocation"</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas">, Location));</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> Telerik.Reporting.</P><P></FONT></P><P></P><P></FONT></P><P><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2"face="Consolas">InstanceReportSource</FONT></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> instanceReportSource = </FONT></FONT><FONT color="#0000ff"size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff" size="2" face="Consolas">new</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas"> Telerik.Reporting.</FONT></FONT><FONT color="#2b91af" size="2"face="Consolas"><FONT color="#2b91af" size="2" face="Consolas"><FONT color="#2b91af"size="2" face="Consolas">InstanceReportSource</FONT></FONT></FONT><FONT size="2"face="Consolas"><FONT size="2" face="Consolas">();</FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"> </P><P> </P><P> </P><P> reportProcessor.PrintController = standardPrintController;</P><P> </P><P> reportProcessor.PrintReport(Telrpt, printerSettings); </P><P></FONT></FONT></FONT></FONT></P><P><FONT size="2" face="Consolas"><FONT size="2"face="Consolas"></FONT></FONT></FONT></FONT> </P><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"></FONT></FONT><FONT size="2" face="Consolas"><FONT size="2" face="Consolas"></FONT></FONT><BR>