Click here to Skip to main content
15,904,024 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Reporting Services Automatically Export to PDF Format Pin
pmarfleet18-Dec-07 9:39
pmarfleet18-Dec-07 9:39 
GeneralRe: Reporting Services Automatically Export to PDF Format Pin
gates0919-Dec-07 1:51
gates0919-Dec-07 1:51 
GeneralRe: Reporting Services Automatically Export to PDF Format Pin
pmarfleet19-Dec-07 2:41
pmarfleet19-Dec-07 2:41 
GeneralReportViewer (local report) can not export to excel Pin
H. Sarm18-Dec-07 9:08
H. Sarm18-Dec-07 9:08 
GeneralRe: ReportViewer (local report) can not export to excel Pin
pmarfleet18-Dec-07 9:30
pmarfleet18-Dec-07 9:30 
GeneralRe: ReportViewer (local report) can not export to excel Pin
H. Sarm19-Dec-07 2:40
H. Sarm19-Dec-07 2:40 
GeneralDetailsView Itemupdating events(NewValue,OldValue) Pin
dotnetroookie18-Dec-07 8:59
dotnetroookie18-Dec-07 8:59 
GeneralCrystal Report Viewer TollBar click Pin
Sarfaraj Ahmed18-Dec-07 5:57
Sarfaraj Ahmed18-Dec-07 5:57 
Hello Every Body,

I have a button on my page, when i click btnShowReports then it shows my desire reports without asking login information (on page load event i put the report viewer login information)

But problem is, when i click the CrystalReportViewer toolbar (Export, Print) then nothing come also it invisible my CrystalReportViewer.

If I do it on Page_Load event then CrystalReportViewer toolbar work nicely

My Code is Below:

ASPX CODE
<br />
<tr><br />
                <td colspan="3" style="font-size: x-large; color: #000066"><br />
                    <asp:Button ID="btnShowReports" runat="server" Text="Show Reports" Visible="False" /></td><br />
            </tr><br />
            <tr><br />
                <td colspan="3" style="font-size: x-large; color: #000066"><br />
                </td><br />
            </tr><br />
            <tr><br />
                <td colspan="3" style="vertical-align: top; text-align: center"><br />
                    <CR:CrystalReportViewer ID="crViewer" runat="server" AutoDataBind="true" ShowAllPageIds="True" BorderColor="#E0E0E0" BorderStyle="Solid" Height="50px" /><br />
                    &nbsp;<br />
                </td><br />
            </tr><br />


ASPX.VB CODE btn click event

<br />
Dim _Connection As SqlConnection = New SqlConnection(Web.Configuration.WebConfigurationManager.ConnectionStrings("TCCLMS").ConnectionString)<br />
        Dim _QueryString As String = "SELECT MEMBERID, BOOKID, DATETAKEN, DUEDATE, SUBMITDATE FROM BORROWERS"<br />
        Dim _DataAdapter As SqlDataAdapter = New SqlDataAdapter(_QueryString, _Connection)<br />
        Dim _dtBorrowersDataTable As dsReportViewer.dtBorrowersDataTable = New dsReportViewer.dtBorrowersDataTable()<br />
        Dim _ReportBorrowers As ReportDocument = New ReportDocument()<br />
        Try<br />
            _Connection.Open()<br />
            _DataAdapter.Fill(_dtBorrowersDataTable)<br />
            _ReportBorrowers.Load(Server.MapPath("crBorrowers.rpt"))<br />
            _ReportBorrowers.SetDataSource(CType(_dtBorrowersDataTable, DataTable))<br />
            Me.crViewer.ReportSource = _ReportBorrowers<br />
            Me.crViewer.DataBind()<br />
<br />
        Catch ex As Exception<br />
<br />
        End Try<br />


any instruction will be really helpful

thanks in advance
Sarfarj Ahmed

Generalscheduler Pin
manowj18-Dec-07 5:26
manowj18-Dec-07 5:26 
GeneralRe: scheduler Pin
Paddy Boyd18-Dec-07 6:25
Paddy Boyd18-Dec-07 6:25 
GeneralRe: scheduler Pin
DigiOz Multimedia18-Dec-07 7:09
DigiOz Multimedia18-Dec-07 7:09 
GeneralRe: scheduler Pin
manowj18-Dec-07 20:35
manowj18-Dec-07 20:35 
GeneralRe: scheduler Pin
DigiOz Multimedia19-Dec-07 5:46
DigiOz Multimedia19-Dec-07 5:46 
Questionhow to? Pin
learningman18-Dec-07 5:14
learningman18-Dec-07 5:14 
AnswerRe: how to? Pin
DigiOz Multimedia18-Dec-07 7:06
DigiOz Multimedia18-Dec-07 7:06 
AnswerRe: how to? Pin
Paul Conrad23-Dec-07 8:03
professionalPaul Conrad23-Dec-07 8:03 
Generalplz donot ignore it___getting FLV file time length [modified] Pin
Mogaambo18-Dec-07 4:39
Mogaambo18-Dec-07 4:39 
GeneralRe: getting FLV file time length [Duplicate Post. Please Ignore] Pin
Vasudevan Deepak Kumar18-Dec-07 4:56
Vasudevan Deepak Kumar18-Dec-07 4:56 
GeneralRe: getting FLV file time length [Donot waste ur time in giving lectures Vasudevan Deepak K] Pin
Mogaambo18-Dec-07 5:32
Mogaambo18-Dec-07 5:32 
GeneralRUDE! Pin
leckey18-Dec-07 5:56
leckey18-Dec-07 5:56 
GeneralRe: RUDE! Pin
Paul Conrad23-Dec-07 8:04
professionalPaul Conrad23-Dec-07 8:04 
GeneralRe: getting FLV file time length [Donot waste ur time in giving lectures Vasudevan Deepak K] Pin
pmarfleet18-Dec-07 9:34
pmarfleet18-Dec-07 9:34 
GeneralRe: getting FLV file time length [Donot waste ur time in giving lectures Vasudevan Deepak K] Pin
Paul Conrad23-Dec-07 8:05
professionalPaul Conrad23-Dec-07 8:05 
GeneralSecure Url Pin
DotNetXenon18-Dec-07 4:25
DotNetXenon18-Dec-07 4:25 
GeneralRe: Secure Url Pin
DigiOz Multimedia18-Dec-07 7:03
DigiOz Multimedia18-Dec-07 7:03 

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.