Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4110
SecureImagePipe
posted

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

 

Parents
  • 28496
    Verified Answer
    Offline posted

    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?

Reply Children
No Data