Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Redirecting help

Reply
Thread Tools

Redirecting help

 
 
Joseph Minton
Guest
Posts: n/a
 
      02-06-2013
My employer uses Reportal, which will basically create a web version
of a Crystal report. Unfortunately, a user can not refer to a sub-
report from within a sub-report. However, from within the sub-report,
I can pass pass off the folllowing URL with parameters to in theory
fire off another Crystal Report in Reportal.

For example, "http://10.2.6.74/reports/NameDetails.aspx?
P1="&{PERSONS.NAME}

Unfortunately with Reportal, there is a requirement after aspx? to
place the report number within reportal. Thus, the above example
won't work since I can't call id=102 in this case

For example, "http://10.2.6.74/reports/NameDetails.aspx?
id=102&P1="&{PERSONS.NAME}

So, I'm wondering if I can set a target redirect ASP up that will pass
on the parameters and then redirect the page and have it add id=102 to
the correct location in the above example.

BTW, in just a regular ASP page, I could use this to pass the id=102.
I just can't figure out how to redirect it.

<form action="NameDetails.aspx?" method="GET" name="parmform">
<input type = "hidden" value = "102" name = "id">
 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      02-07-2013
Joseph Minton wrote on 06 feb 2013 in
microsoft.public.inetserver.asp.general:

> My employer uses Reportal, which will basically create a web version
> of a Crystal report. Unfortunately, a user can not refer to a sub-
> report from within a sub-report. However, from within the sub-report,
> I can pass pass off the folllowing URL with parameters to in theory
> fire off another Crystal Report in Reportal.
>
> For example, "http://10.2.6.74/reports/NameDetails.aspx?
> P1="&{PERSONS.NAME}
>
> Unfortunately with Reportal, there is a requirement after aspx? to
> place the report number within reportal. Thus, the above example
> won't work since I can't call id=102 in this case
>
> For example, "http://10.2.6.74/reports/NameDetails.aspx?
> id=102&P1="&{PERSONS.NAME}
>
> So, I'm wondering if I can set a target redirect ASP up that will pass
> on the parameters and then redirect the page and have it add id=102 to
> the correct location in the above example.
>
> BTW, in just a regular ASP page, I could use this to pass the id=102.
> I just can't figure out how to redirect it.
>
> <form action="NameDetails.aspx?" method="GET" name="parmform">


The "?" is not needed here.

> <input type = "hidden" value = "102" name = "id">


This is a clientside redirection,
effectively the same as:

<a href='NameDetails.aspx?id=102'>click</a>

====================================

ASP serverside redirection can only be immediate,
before any content-streaming has been done to the client.

<% 'vbs
response.redirect "NameDetails.aspx?id=102"
%>

or

<% 'js
Response.redirect('NameDetails.aspx?id=102');
%>

It seems you have a bad spell of aspx-itis,
purposely inflicted on you by MS,
having you believing that there is no difference
between serverside and clientside.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
 
Joseph Minton
Guest
Posts: n/a
 
      02-07-2013
Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with redirecting port 80 traffic essenz Cisco 5 06-07-2010 03:23 PM
Redirecting Users: Please Help. Jonathan Wood ASP .Net 10 11-17-2007 06:13 PM
Newbie wanting help with 0800 number redirecting to VOIP and mobile Dave T UK VOIP 0 08-17-2007 11:18 AM
servlet help - redirecting from within a framed servlet ppcguy Java 1 08-08-2005 03:03 PM
Please Help: Posting and redirecting to another form. =?Utf-8?B?RGVuaXNl?= ASP .Net 8 04-04-2005 01:45 AM



Advertisments