Previously, I had my charts to deploy to the file system and my DeploymentScenario to jpeg image. I have now changed my charts to use the Session DeploymentScenario and removed the jpeg image specification. I've also created the ImagePipe.aspx page and referenced the ImpagePipePageName to ImagePipe.aspx. However, the images are still being created on the file system. Below is my html & code behind. Is this not the correct way?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ImagePipe.aspx.vb" Inherits="_DIVISION_ImagePipe" %>
<%@ Register Assembly="Infragistics2.WebUI.UltraWebChart.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.UltraWebChart" TagPrefix="igchart" %>
<html xmlns="http://www.w3.org/1999/xhtml" ><head></head><body> <igchart:SecureImagePipe ID="SecureImagePipe1" runat="server"> </igchart:SecureImagePipe> </body></html>
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init igBarChart.DeploymentScenario.Scenario = Styles.ImageDeploymentScenario.Session igBarChart.ImagePipePageName = "ImagePipe.aspx"
End Sub
where is igBarChart defined? The .aspx source for ImagePipe.aspx looks good, but there must be another page with a chart that references it.
the settings you apply in Page_Init should be sufficient to enable session deployment. maybe you could check in the page PreRender event to make sure these properties haven't been changed back by some other code?
Yes, I had a 'rouge' reference over-riding it. But as it turns out, the boss wants to leave the image file so it doesn't have to be regenerated for the report, just display the image. Thanks for the help!