This is a migrated thread and some comments may be shown as answers.

Report Designer exe

4 Answers 437 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
gezim
Top achievements
Rank 1
gezim asked on 22 Aug 2012, 12:00 PM
Hi,
I want to know if is possible to open Telerik Report Designer with specific Report as parameter from C#, is that possible?
Thank You

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Aug 2012, 12:51 PM
Hello,

Check out the following code snippet that illustrates how to start the Report Designer with report for argument:
Copy Code
void OpenWithArguments()
{
    var startInfo = new ProcessStartInfo("C:\\Program Files\\Telerik\\Reporting Q1 2012\\Report Designer\\Telerik.ReportDesigner.exe");
    startInfo.WindowStyle = ProcessWindowStyle.Maximized;
    startInfo.Arguments = @"""d:\Report1.trdx""";
    var t = Process.Start(startInfo);
    t.WaitForExit();
}

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
gezim
Top achievements
Rank 1
answered on 22 Aug 2012, 02:06 PM
Thanks Steve for your fast reply,
But it isn't working that way even by passing the File path as an Argument
thanks again
0
Steve
Telerik team
answered on 22 Aug 2012, 02:23 PM
Hi,

Make sure you're using at least Q2 2012 version of Telerik Reporting, it would not work in Q1 2012.

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
gezim
Top achievements
Rank 1
answered on 22 Aug 2012, 02:51 PM
Thanks Steve, I'll try it :)
Tags
Report Designer (standalone)
Asked by
gezim
Top achievements
Rank 1
Answers by
Steve
Telerik team
gezim
Top achievements
Rank 1
Share this question
or