Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  DNN Report Module
Previous Previous
 
Next Next
New Post 3/19/2008 8:01 AM
User is offline manjusha
9 posts
10th Ranked


DNN Report Module 

I am using Reporting Services Visualizer in report module for viewing Reporting service reports.

report linked in report module has parameter selection . when I select parameter and click on viewreport button it does't show report .

does any one know how get it work .

Is there any help available  on Reporting Services Visualizer 

thanks.

 

 
New Post 3/19/2008 10:44 AM
User is offline Ian Robinson
670 posts
www.engagesoftware.com
7th Ranked


Re: DNN Report Module 

Hey manjusha,

In the past when i've performed similiar tasks i moved the parameter selection to the module itself and either when that parameter is selected in a drop down list or radio button, or on a button click, you can post back and refresh the report after passing it the new parameters.

Would you be able to consider that approach in your scenario?

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 3/20/2008 12:13 AM
User is offline manjusha
9 posts
10th Ranked


Re: DNN Report Module 

Hi Ian,

 

Thank you for suggession.

Actualy  I am just  learnig DNN and ,don't know much about DNN .Can you write steps of how to do this.

I am not able to find much help on using report visualizer . Are there any samples or help available for this.

 

Thanks .

 

 

 
New Post 3/20/2008 8:35 AM
User is offline Ian Robinson
670 posts
www.engagesoftware.com
7th Ranked


Re: DNN Report Module 

Hey manujusha,

In the scenario I described, there really isn't much functionality that DNN is responsible for, its more just using DNN as a wrapper to easily include the report in your DNN site, and potentially use in different portals or sites.

Check out this page for more information on the report viewer: http://gotreportviewer.com

This page also provides a resource for obtaining the report viewer: http://www.codeproject.com/KB/reporting-services/Reporting_Services.aspx

I will provide a sample to show you a very simple use case scenario:

This is the ASCX file:

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="BillingReport.ascx.vb" Inherits=".BillingReport" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<%@ Register TagPrefix="cc1" Namespace="Microsoft.Samples.ReportingServices" Assembly="ReportViewer" %>
<p>
    Begin Date: <asp:TextBox ID="TextBoxBeginDate" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorBeginDate" runat="server" ErrorMessage="Please enter a begin date." Text="*" ValidationGroup="ValidationGroupBilling" Display="Dynamic" ControlToValidate="TextBoxBeginDate"></asp:RequiredFieldValidator><br />
    End Date: <asp:TextBox ID="TextBoxEndDate" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidatorEndDate" runat="server" ErrorMessage="Please enter an end date." Text="*" ValidationGroup="ValidationGroupBilling" Display="Dynamic" ControlToValidate="TextBoxEndDate"></asp:RequiredFieldValidator>
   
</p>
<p><asp:Button ID="ButtonSubmit" runat="server" Text="Submit" ValidationGroup="ValidationGroupBilling" /></p>
<cc2:CalendarExtender ID="CalendarExtenderBeginDate" runat="server" TargetControlID="TextBoxBeginDate"></cc2:CalendarExtender>
<cc2:CalendarExtender ID="CalendarExtenderEndDate" runat="server" TargetControlID="TextBoxEndDate"></cc2:CalendarExtender>
<cc1:reportviewer id="ReportViewerBilling" runat="server" ServerUrl="http://xxxxxxx/ReportServer/" ReportPath="/XXXXXXXXReports/rptBilling" Height="640px" Width="1000px"></cc1:reportviewer>

This is the ASCX.VB file:

Imports DotNetNuke
Partial Public Class BillingReport

    Inherits DotNetNuke.Entities.Modules.PortalModuleBase

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Try

                'register script manager
                DotNetNuke.Framework.AJAX.RegisterScriptManager()

                'default to the last week
                CreateReport(DateTime.Now.AddDays(-7).ToShortDateString(), DateTime.Now.ToShortDateString())

            Catch ex As Exception
                DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Me, ex)
            End Try
        End If
    End Sub

    Protected Sub ButtonSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonSubmit.Click
        If Page.IsValid Then CreateReport(TextBoxBeginDate.Text, TextBoxEndDate.Text)
    End Sub

    Private Sub CreateReport(ByVal beginDate As String, ByVal endDate As String)

        ReportViewerBilling.Parameters = Microsoft.Samples.ReportingServices.ReportViewer.multiState.False

        ReportViewerBilling.SetQueryParameter("BeginDate", beginDate)
        ReportViewerBilling.SetQueryParameter("EndDate", endDate)

        'get current portal id
        ReportViewerBilling.SetQueryParameter("PortalID", PortalId.ToString())

    End Sub

End Class

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  DNN Report Module
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP