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
225
i can't use webupload control, plz help me
posted

 

Hello

I'm using NetAdvantage 12.1 ASP.NET  CLR3x vs 2008 .

I'd like to use webupload control in my application

I got error when i add the webupload control on my page

 

"Session state can only be used when enableSessionState is set to true,

either in a configuration file or in the Page directive. Please also

make sure that System.Web.SessionStateModule or a custom session state

module is included in the <configuration>\<system.web>\<httpModules>

section in the application configuration."

 

I already input that code, my sample source as below

 

default.aspx

 

 

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" EnableSessionState="True"  %>

 

<%@ Register Assembly="Infragistics35.Web.jQuery.v12.1, Version=12.1.20121.1005, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

    Namespace="Infragistics.Web.UI.DisplayControls" TagPrefix="ig" %>

<%@ Register Assembly="Infragistics35.Web.v12.1, Version=12.1.20121.1005, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"     Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>

<%@ Register assembly="Infragistics35.Web.jQuery.v12.1, Version=12.1.20121.1005, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.EditorControls" tagprefix="ig" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

    <title></title>

</head>

<body>

    <ig:WebUpload ID="WebUpload1" runat="server">

    </ig:WebUpload>

    <form id="form1" runat="server">

    <div>

    </form>

</body>

</html>

 

 

 

web.config

 

  <httpModules>

      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

      <add name="Session" type="System.Web.SessionState.SessionStateModule"/>

      <add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule" />

    </httpModules>

And  i got same error  message from your sample source 

it doesn't work either

Any help in resolving this would be greatly appreciated!

 

Thanks.

 

Parents
No Data
Reply Children