Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SmartViewerHTMLPage.asp Question??

Status
Not open for further replies.

snazzyCrunch

Technical User
Apr 18, 2002
26
US
I am building an ASP site running on IIS 5.0. Through this site folks are able to select various form fields and run a report (Crystal Enterprise, report was created in CR8.5).

One of the options for the end-user is to pick the Viewer they would like: (I did this b/c some folks don't like using plug-ins...blah...blah....blah...)

ActiveX (SmartViewerActiveX.asp)
Java (SmartViewerJava.asp)
HTML (SmartViewerHTMLPage.asp)

When this option is selected from the HTML like so:

<option value=&quot;ActiveX&quot; selected>ActiveX Plug-in</option>
<option value=&quot;Java&quot;>Java Plug-in</option>
<option value=&quot;HTML&quot;>HTML (no export)</option>

The value is then stored in a variable REQFormat and then passed into a select statement like so:

Select Case REQFormat
Case &quot;ActiveX&quot;
%>
<!-- #include file=&quot;viewers/SmartViewerActiveX.asp&quot; -->
<%
Case &quot;Java&quot;
%>
<!-- #include file=&quot;viewers/SmartViewerJAVA.asp&quot; -->
<%
Case &quot;HTML&quot;
%>
<!-- #include file=&quot;viewers/SmartViewerHTMLPage.asp&quot; -->
<%
Case Else
%>
<B>No report viewer found!!</B>
<%
End Select

This is working fine for ActiveX and Java; however, when I select HTML everything runs correctly except the graphs. I consistently receive a red box (no image found) where my graphs should go.

Does anyone have any advice, help, or suggestions? Thanks ahead for your help!!


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top