Wednesday, March 28, 2012

jump to report in the same frame of calling report

Hi,
i had created a report (ReportA) in which i m calling another report (ReportB). I had added a textbox (tb) in ReportA and had set the navigation property of tb to "jump to report" and given a report name ReportB (i.e. the second report).
Now, i m using asp.net report service,
i had created an asp form in which i had added a frame, n in tat frame i had added the report service control, this report service control calls my first report (ReportA),when i click on the textbox (tb) it jumps to another report (ReportB), now the problem is when i click textbox (tb), it jumps to ReportB but this report takes whole area of internet explorer.
wat i want is when i click textbox (tb), the next report (ReportB) should come in the same frame where my first report (ReportA) was.
Plz help me out.
Thanx.
--
Message posted via http://www.sqlmonster.comIn the URL for ReportA, you'll need to Add:
&rc:LinkTarget=nameofFrame
Then in your textbox tb, you'll need to set your navigation property to jump
to URL, giving it the URL of ReportB.
"Imran Saiyed via SQLMonster.com" wrote:
> Hi,
> i had created a report (ReportA) in which i m calling another report (ReportB). I had added a textbox (tb) in ReportA and had set the navigation property of tb to "jump to report" and given a report name ReportB (i.e. the second report).
> Now, i m using asp.net report service,
> i had created an asp form in which i had added a frame, n in tat frame i had added the report service control, this report service control calls my first report (ReportA),when i click on the textbox (tb) it jumps to another report (ReportB), now the problem is when i click textbox (tb), it jumps to ReportB but this report takes whole area of internet explorer.
> wat i want is when i click textbox (tb), the next report (ReportB) should come in the same frame where my first report (ReportA) was.
> Plz help me out.
> Thanx.
> --
> Message posted via http://www.sqlmonster.com
>|||Hi,
Thanx for ur suggestion, but
firstly,
i had created my project such tat whenever new session of project is opened, it ask for username and password. therefore if i add the url of ReportB in the navigation property of textbox (tb) "jump to url", then whenever tb is clicked, it creates a new session for ReportB, so first the login screen occurs, then it enters into the project, then again i have to go to ReportA, then click tb. Therefore i was using "Jump to report" property which directly opens the ReportB.
secondly,
now i had removed the frame for some problem i was facing, n now i m using table (i.e. <td><\td>) between this td the reportviewer control is added. so i want to show ReportB in this table.
Thanx.
--
Message posted via http://www.sqlmonster.com

No comments:

Post a Comment