Parameters Report

6 posts, 0 answers
  1. Steve
    Steve avatar
    80 posts
    Member since:
    Jan 2007

    Posted 05 Dec 2007 Link to this post

    Hi There,

    Can you tell me where I can get the source code for:
    Telerik Reporting - Design Time Support for Parame

    The video shows some code that is pasted in by the presenter and I cannot replicate it.

    My License includes the source code element.

    Thanks,

    Steve Wilson.
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 05 Dec 2007 Link to this post

    Hi Steve,

    Thank you for contacting Telerik Support.

    The "Source Code" that you receive with your license is the actual source code of the Telerik Reporting software product and of course the accompanying samples. The sample Report that was created in the movie is just an example of the product's capabilities and not a part of the product itself.

    The purpose of the movie is to follow it step by step in order to learn how to achieve the desired functionality. If you have trouble reproducing the code that the presenter enters (you can pause the movie whenever you need to), specify what parts of the movie were unclear and we will try to help you.

    To have all projects that were created during the filming of a movie available for download is a great idea and we will try to provide them in the future.

    Best wishes,
    Ross
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
  4. Steve
    Steve avatar
    80 posts
    Member since:
    Jan 2007

    Posted 07 Dec 2007 Link to this post

    Hi There,

    Had a go at this but I am falling over converting the C# code to VB.
    I have tried the converters but the converted VB code still causes errors.
    Can you tell me the correct VB code for this C# code:

    Public Form1()
    {
       initializeComponent();
       reportViewer1.Report = new Report1();
    }


    private void btnrun_click(object sender, eventargs e)
    {
       (reportViewer1.Report as Report1).Param1 = tbparam1.text;
        reportViewer1.RefreshReport();
    }

    This is for a webform not a winform so I know that public form1() is not right but this is not causing the errors it's the other code.

    Thanks for your help,

    Steve Wilson.

  5. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 07 Dec 2007 Link to this post

    Hi Steve,

    Fortunately we have found an example with source code which shows the same functionality as in the sample video but for WebForms. Find it attached and give it a try.

    Let us know if you have any other questions.

    Best wishes,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Steve
    Steve avatar
    80 posts
    Member since:
    Jan 2007

    Posted 12 Dec 2007 Link to this post

    Hi Chavdar,
    Thanks for the reply.
    I have managed to get things working, sort of.
    I am having trouble with the data explorer. It keeps saying there is no datasource. I have followed the video tutorial to the letter. The webreportparams zip file you sent does not allow me to compile and run. There are too many errors. Things like Telerik.Reporting.DetailSection is not defined, Telerik.Reporting.Drawing (namespace or type specified in the imports Telerik.Reporting.Drawing doesn't contain any public member or cannot be found) etc etc 
    Can you tell me, If I create more than 1 report should they each be in their own class. I.E. in the video a class called MyReportLib is created if another report was added to the application would it go into the MyReportLib.vb or a new one.

    Thanks for your help.

    Best Regards,

    Steve Wilson.
  7. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 13 Dec 2007 Link to this post

    Hi Steve,

    We are sorry for the caused trouble. The sample solution was referencing an older version of Telerik Reporting. The solution is attached again with fixed references to the latest Reporting version (1.5.1).

    The Data Explorer will show the available fields only if you have a properly set DataSource property of the report. Please, check whether it is correctly specified and let us know if there is still a problem.

    Each Telerik report is a separate class file. In one class library (such as MyReportLib) you can add multiple Telerik reports through the Add | New Item... | Telerik Report 1.5.

    Hope this information helps. Let me know if you have any other questions.

    Best wishes,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
DevCraft banner