Click here to Skip to main content
15,891,719 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Cross Post Pin
CoderOnline3-Dec-09 19:44
CoderOnline3-Dec-09 19:44 
AnswerRe: Regular Expression or strin manipulation Pin
Abhijit Jana3-Dec-09 18:49
professionalAbhijit Jana3-Dec-09 18:49 
GeneralRe: Regular Expression or strin manipulation Pin
CoderOnline3-Dec-09 19:44
CoderOnline3-Dec-09 19:44 
AnswerRe: Regular Expression or strin manipulation Pin
sashidhar3-Dec-09 21:42
sashidhar3-Dec-09 21:42 
GeneralRe: Regular Expression or strin manipulation Pin
CoderOnline3-Dec-09 21:52
CoderOnline3-Dec-09 21:52 
GeneralRe: Regular Expression or strin manipulation Pin
sashidhar3-Dec-09 21:59
sashidhar3-Dec-09 21:59 
QuestionSSRS Deployment Support Pin
siddisagar3-Dec-09 17:20
siddisagar3-Dec-09 17:20 
AnswerRe: SSRS Deployment Support Pin
Abhijit Jana3-Dec-09 19:14
professionalAbhijit Jana3-Dec-09 19:14 
Hi Siddisagar,

siddisagar wrote:
1. How to call my SSRs report on click of button in ASP.NET website.


Hope you have already designed the SSRS reports and hosted the same on IIS Server.

Now you need to do the following steps .
First : Add Microsoft.Reporting.WebForms namespace with your ASP.NET Web application . This contains methods and properties for the ReportViewer Web server control.

<%@ Register Assembly="Microsoft.ReportViewer.WebForms  Namespace="Microsoft.Reporting.WebForms" TagPrefix="SSRSWeb" %>


Second : SSRS viewer assembly will add the ReportViewer control with your web application which you can use to featch the data from SSRS to your aspx page.

<SSRSWeb:ReportViewer runat="server"  Width="500px" Height="700px" ID="SSRSViewer">
        </SSRSWeb:ReportViewer>


Third : Add Button Click Code Behind For view the Reports

SSRSViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
    SSRSViewer.ServerReport.ReportPath = "MyReports";
SSRSViewer.ServerReport.ReportServerUrl = new Uri("http://localhost/ssrsreports");

You are done !!

siddisagar wrote:
2. How to give connection string when I deploy my application in Test/ Production Server


You are talking for ASP.NET web application connection string or what ? I guess you need to change only in config file. Nothing else.

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.

AnswerRe: SSRS Deployment Support Pin
sashidhar3-Dec-09 22:06
sashidhar3-Dec-09 22:06 
QuestionDynamically creating aspx Form Pin
dharam_hbtik3-Dec-09 17:02
dharam_hbtik3-Dec-09 17:02 
AnswerRe: Dynamically creating aspx Form Pin
Abhijit Jana3-Dec-09 18:36
professionalAbhijit Jana3-Dec-09 18:36 
QuestionVisual Web Studio or Dreamweaver for website layout/design? Pin
James Shao3-Dec-09 12:14
James Shao3-Dec-09 12:14 
AnswerRe: Visual Web Studio or Dreamweaver for website layout/design? Pin
Kannan Ar3-Dec-09 15:15
professionalKannan Ar3-Dec-09 15:15 
AnswerRe: Visual Web Studio or Dreamweaver for website layout/design? Pin
N a v a n e e t h3-Dec-09 16:57
N a v a n e e t h3-Dec-09 16:57 
QuestionProblem with calling Javascript when using UpdatePanel AJAX Pin
Faisal Khatri3-Dec-09 9:25
Faisal Khatri3-Dec-09 9:25 
AnswerRe: Problem with calling Javascript when using UpdatePanel AJAX Pin
Petr Pechovic3-Dec-09 11:14
professionalPetr Pechovic3-Dec-09 11:14 
GeneralRe: Problem with calling Javascript when using UpdatePanel AJAX Pin
Faisal Khatri4-Dec-09 5:10
Faisal Khatri4-Dec-09 5:10 
QuestionJavascript in HTML interacting with PDF Javascript Pin
Ennis Ray Lynch, Jr.3-Dec-09 8:10
Ennis Ray Lynch, Jr.3-Dec-09 8:10 
QuestionCreating HTML Page with XSLT and XML Pin
FJJCENTU3-Dec-09 7:02
FJJCENTU3-Dec-09 7:02 
AnswerRe: Creating HTML Page with XSLT and XML Pin
Abhishek Sur3-Dec-09 11:26
professionalAbhishek Sur3-Dec-09 11:26 
GeneralRe: Creating HTML Page with XSLT and XML Pin
FJJCENTU3-Dec-09 13:04
FJJCENTU3-Dec-09 13:04 
GeneralRe: Creating HTML Page with XSLT and XML Pin
Abhishek Sur3-Dec-09 23:38
professionalAbhishek Sur3-Dec-09 23:38 
GeneralRe: Creating HTML Page with XSLT and XML Pin
FJJCENTU4-Dec-09 5:17
FJJCENTU4-Dec-09 5:17 
GeneralRe: Creating HTML Page with XSLT and XML Pin
Abhishek Sur6-Dec-09 20:52
professionalAbhishek Sur6-Dec-09 20:52 
Questiondoesn't exist in the current context. Pin
FEMDEV3-Dec-09 6:29
FEMDEV3-Dec-09 6:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.