Report Designer exe

5 posts, 0 answers
  1. gezim
    gezim avatar
    19 posts
    Member since:
    Aug 2012

    Posted 22 Aug 2012 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Aug 2012 Link to this post

    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 >

  3. DevCraft banner
  4. gezim
    gezim avatar
    19 posts
    Member since:
    Aug 2012

    Posted 22 Aug 2012 Link to this post

    Thanks Steve for your fast reply,
    But it isn't working that way even by passing the File path as an Argument
    thanks again
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 22 Aug 2012 Link to this post

    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 >

  6. gezim
    gezim avatar
    19 posts
    Member since:
    Aug 2012

    Posted 22 Aug 2012 Link to this post

    Thanks Steve, I'll try it :)
Back to Top
DevCraft banner