How to create CSV and excel file from GridResult [Ext.NET MVC]

Page 1 of 4 123 ... LastLast
  1. #1

    How to create CSV and excel file from GridResult [Ext.NET MVC]

    Hello I would like to export CSV file from GridResult; I implemented an action and Ajax function, I had not any error any exception but I had not also any result :
    This is the Ajax function :
       var submitValue = function (grid, format) {
                //            console.log(grid.getRowsValues());
                var json = new Array();
                for (var i = 0; i < grid.getStore().getCount(); i++) {
                    json.push(grid.getStore().getAt(i).data);
                }
                var stringifedJson = JSON.stringify(json, null, 2)
                //            console.log(stringifedJson);
                $.ajax({
                    type: "POST",
                    url: "/Consumer/ExportData",
                    data:
                            {
                                "data": stringifedJson,
                                "format": format
                            },
                    success: function () {
                        console.log("Ajax Request done");
                    },
                    error: function (req, status, error) {
                        alert(error);
                    }
                });
            };
    And this is the Action :
     [HttpPost]
            public EmptyResult ExportData(String data, String format)
            {
                XslCompiledTransform xt = new XslCompiledTransform();
                string exportWithRoot = string.Format("{{ records: {{ record: {0} }} }}", data);
                XmlNode xml = JsonConvert.DeserializeXmlNode(exportWithRoot);
                //XmlTextReader xtr = new XmlTextReader(xml.OuterXml, XmlNodeType.Element, null);
                //DataSet ds = new DataSet();
                //ds.ReadXml(xtr);
                switch (format)
                {
                    case "xls":
                        this.Response.Clear();
                        this.Response.ClearContent();
                        this.Response.ClearHeaders();
                        this.Response.ContentType = "application/vnd.ms-excel";
                        this.Response.AddHeader("Content-Disposition", "attachment;filename=submittedData.xls");
                        xt.Load(Server.MapPath("~/App_Data/Excel.xsl"));
                        xt.Transform(xml, null, this.Response.OutputStream);
                        this.Response.End();
                        break;
                    case "csv":
                        this.Response.Clear();
                        this.Response.ClearContent();
                        this.Response.ClearHeaders();
                        this.Response.ContentType = "application/octet-stream";
                        this.Response.AddHeader("Content-Disposition", "attachment; filename=submittedData.csv");
                        xt.Load(Server.MapPath("~/App_Data/Csv.xsl"));
                        xt.Transform(xml, null, this.Response.OutputStream);
                        this.Response.End();
                        break;
                }
                return null;
            }
    PS: In POST Response for ExportDataToCsv I obtain this text :
    "18719","african investment","Company","6","ACTIVATED"
    "18721","PLAZA ? SICAF","PLAZA ? SICAF Investment Company","6","ACTIVATED"
    "18722","PLAZA","PLAZA ? Construction","6","ACTIVATED"
    "18723","A.C.T","A.C.T Materials","6","ACTIVATED"
    "18725","AMI","Ateliers Mécaniques Industriels","6","ACTIVATED"
    "18755","Achraf","Achraf","",""
    "18758","Achraf2","Achraf2","6","ACTIVATED"
    "25231","25244","African services","6","ACTIVATED"
    "26113","26131","Counterparty","6","ACTIVATED"
    "27741","Best company","Bachraoui","",""
    "27742","Imagine limited","Picture and design","",""
    "27749","BILDCO","BILDCO","39","Client"
    "27770","ABC Bank","ABC Bank","",""
    "27772","Access Bank","Access Bank","",""
    "27799","Temp.LE COQ","LE COQ","",""
    Cheers,
    Thx
    Last edited by wadhah; Dec 16, 2011 at 12:40 PM.
  2. #2
  3. #3
    Quote Originally Posted by Daniil View Post
    I modify my action with this code :
        [HttpPost]
            public ActionResult ExportData(String data, String format)
            {
                XslCompiledTransform xt = new XslCompiledTransform();
                //string exportWithRoot = string.Format("{{ records: {{ record: {0} }} }}", data);
                //XmlNode xml = JsonConvert.DeserializeXmlNode(exportWithRoot);
                Ext.Net.SubmitHandler submitData = new Ext.Net.SubmitHandler(data);
                XmlNode xml = submitData.Xml;
                StringBuilder s = new StringBuilder();
                XmlWriterSettings settings = new XmlWriterSettings()
                {
                    ConformanceLevel = ConformanceLevel.Auto
                };
                XmlWriter writer = null;
                FileContentResult result = null;
                switch (format)
                {
                    case "xls":
                        xt.Load(Server.MapPath("~/App_Data/Excel.xsl"));
                        writer = XmlWriter.Create(s, settings);
                        xt.Transform(xml, writer);
                        result = new FileContentResult(Encoding.UTF8.GetBytes(s.ToString()), "application/vnd.ms-excel");
                        result.FileDownloadName = "Temp.csv";
                        return result;
                    case "csv":
                        xt.Load(Server.MapPath("~/App_Data/Csv.xsl"));
                        writer = XmlWriter.Create(s, settings);
                        xt.Transform(xml, writer);
                        result = new FileContentResult(Encoding.UTF8.GetBytes(s.ToString()), "application/octet-stream");
                        result.FileDownloadName = "Temp.xls";
                        return result;
                }
                return null;
            }
    BUT when I click on Export To CSV I had this Ajax response within FireBug :
    "18719","african investment","Company","6","ACTIVATED"
    "18721","PLAZA ? SICAF","PLAZA ? SICAF Investment Company","6","ACTIVATED"
    "18722","PLAZA","PLAZA ? Construction","6","ACTIVATED"
    "18723","A.C.T","A.C.T Materials","6","ACTIVATED"
    "18725","AMI","Ateliers Mécaniques Industriels","6","ACTIVATED"
    "18755","Achraf","Achraf","",""
    "18758","Achraf2","Achraf2","6","ACTIVATED"
    "25231","25244","African services","6","ACTIVATED"
    "26113","26131","Counterparty","6","ACTIVATED"
    "27741","Best company","Bachraoui","",""
    "27742","Imagine limited","Picture and design","",""
    "27749","BILDCO","BILDCO","39","Client"
    "27770","ABC Bank","ABC Bank","",""
    "27772","Access Bank","Access Bank","",""
    "27799","Temp.LE COQ","LE COQ","",""
    And when I click on Export To Xls I had this Ajax response within FireBug :
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts"><Worksheet ss:Name="record"><Table x:FullColumns="1" x:FullRows="1"><Row><Cell><Data ss:Type="String">counterparty_id</Data></Cell><Cell><Data ss:Type="String">counterparty_shortname</Data></Cell><Cell><Data ss:Type="String">counterparty_name</Data></Cell><Cell><Data ss:Type="String">status_id</Data></Cell><Cell><Data ss:Type="String">Statut</Data></Cell></Row><Row><Cell><Data ss:Type="String">18719</Data></Cell><Cell><Data ss:Type="String">african investment</Data></Cell><Cell><Data ss:Type="String">Company</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">18721</Data></Cell><Cell><Data ss:Type="String">PLAZA ? SICAF</Data></Cell><Cell><Data ss:Type="String">PLAZA ? SICAF Investment Company</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">18722</Data></Cell><Cell><Data ss:Type="String">PLAZA</Data></Cell><Cell><Data ss:Type="String">PLAZA ? Construction</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">18723</Data></Cell><Cell><Data ss:Type="String">A.C.T</Data></Cell><Cell><Data ss:Type="String">A.C.T Materials</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">18725</Data></Cell><Cell><Data ss:Type="String">AMI</Data></Cell><Cell><Data ss:Type="String">Ateliers Mécaniques Industriels</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">18755</Data></Cell><Cell><Data ss:Type="String">Achraf</Data></Cell><Cell><Data ss:Type="String">Achraf</Data></Cell><Cell><Data ss:Type="String"></Data></Cell><Cell><Data ss:Type="String"></Data></Cell></Row><Row><Cell><Data ss:Type="String">18758</Data></Cell><Cell><Data ss:Type="String">Achraf2</Data></Cell><Cell><Data ss:Type="String">Achraf2</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">25231</Data></Cell><Cell><Data ss:Type="String">25244</Data></Cell><Cell><Data ss:Type="String">African services</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">26113</Data></Cell><Cell><Data ss:Type="String">26131</Data></Cell><Cell><Data ss:Type="String">Counterparty</Data></Cell><Cell><Data ss:Type="String">6</Data></Cell><Cell><Data ss:Type="String">ACTIVATED</Data></Cell></Row><Row><Cell><Data ss:Type="String">27741</Data></Cell><Cell><Data ss:Type="String">Best company</Data></Cell><Cell><Data ss:Type="String">Bachraoui</Data></Cell><Cell><Data ss:Type="String"></Data></Cell><Cell><Data ss:Type="String"></Data></Cell></Row><Row><Cell><Data ss:Type="String">27742</Data></Cell><Cell><Data ss:Type="String">Imagine limited</Data></Cell><Cell><Data ss:Type="String">Picture and design</Data></Cell><Cell><Data ss:Type="String"></Data></Cell><Cell><Data ss:Type="String"></Data></Cell></Row><Row><Cell><Data ss:Type="String">27749</Data></Cell><Cell><Data ss:Type="String">BILDCO</Data></Cell><Cell><Data ss:Type="String">BILDCO</Data></Cell><Cell><Data ss:Type="String">39</Data></Cell><Cell><Data ss:Type="String">Client</Data></Cell></Row><Row><Cell><Data ss:Type="String">27770</Data></Cell><Cell><Data ss:Type="String">ABC Bank</Data></Cell><Cell><Data ss:Type="String">ABC Bank</Data></Cell><Cell><Data ss:Type="String"></Data></Cell><Cell><Data ss:Type="String"></Data></Cell></Row><Row><Cell><Data ss:Type="String">27772</Data></Cell><Cell><Data ss:Type="String">Access Bank</Data></Cell><Cell><Data ss:Type="String">Access Bank</Data></Cell><Cell><Data ss:Type="String"></Data></Cell><Cell><Data ss:Type="String"></Data></Cell></Row><Row><Cell><Data ss:Type="String">27799</Data></Cell><Cell><Data ss:Type="String">Temp.LE COQ</Data></Cell><Cell><Data ss:Type="String">LE COQ</Data></Cell><Cell><Data ss:Type="String"></Data></Cell><Cell><Data ss:Type="String"></Data></Cell></Row></Table></Worksheet></Workbook>
  4. #4

    Export-to-excel-csv-etc-by-posting-to-another-page

    Please see this :

    http://forums.ext.net/showthread.php...o-another-page



    Quote Originally Posted by wadhah View Post
    Hello I would like to export CSV file from GridResult; I implemented an action and Ajax function, I had not any error any exception but I had not also any result :
    This is the Ajax function :
       var submitValue = function (grid, format) {
                //            console.log(grid.getRowsValues());
                var json = new Array();
                for (var i = 0; i < grid.getStore().getCount(); i++) {
                    json.push(grid.getStore().getAt(i).data);
                }
                var stringifedJson = JSON.stringify(json, null, 2)
                //            console.log(stringifedJson);
                $.ajax({
                    type: "POST",
                    url: "/Consumer/ExportData",
                    data:
                            {
                                "data": stringifedJson,
                                "format": format
                            },
                    success: function () {
                        console.log("Ajax Request done");
                    },
                    error: function (req, status, error) {
                        alert(error);
                    }
                });
            };
    And this is the Action :
     [HttpPost]
            public EmptyResult ExportData(String data, String format)
            {
                XslCompiledTransform xt = new XslCompiledTransform();
                string exportWithRoot = string.Format("{{ records: {{ record: {0} }} }}", data);
                XmlNode xml = JsonConvert.DeserializeXmlNode(exportWithRoot);
                //XmlTextReader xtr = new XmlTextReader(xml.OuterXml, XmlNodeType.Element, null);
                //DataSet ds = new DataSet();
                //ds.ReadXml(xtr);
                switch (format)
                {
                    case "xls":
                        this.Response.Clear();
                        this.Response.ClearContent();
                        this.Response.ClearHeaders();
                        this.Response.ContentType = "application/vnd.ms-excel";
                        this.Response.AddHeader("Content-Disposition", "attachment;filename=submittedData.xls");
                        xt.Load(Server.MapPath("~/App_Data/Excel.xsl"));
                        xt.Transform(xml, null, this.Response.OutputStream);
                        this.Response.End();
                        break;
                    case "csv":
                        this.Response.Clear();
                        this.Response.ClearContent();
                        this.Response.ClearHeaders();
                        this.Response.ContentType = "application/octet-stream";
                        this.Response.AddHeader("Content-Disposition", "attachment; filename=submittedData.csv");
                        xt.Load(Server.MapPath("~/App_Data/Csv.xsl"));
                        xt.Transform(xml, null, this.Response.OutputStream);
                        this.Response.End();
                        break;
                }
                return null;
            }
    PS: In POST Response for ExportDataToCsv I obtain this text :
    "18719","african investment","Company","6","ACTIVATED"
    "18721","PLAZA ? SICAF","PLAZA ? SICAF Investment Company","6","ACTIVATED"
    "18722","PLAZA","PLAZA ? Construction","6","ACTIVATED"
    "18723","A.C.T","A.C.T Materials","6","ACTIVATED"
    "18725","AMI","Ateliers Mécaniques Industriels","6","ACTIVATED"
    "18755","Achraf","Achraf","",""
    "18758","Achraf2","Achraf2","6","ACTIVATED"
    "25231","25244","African services","6","ACTIVATED"
    "26113","26131","Counterparty","6","ACTIVATED"
    "27741","Best company","Bachraoui","",""
    "27742","Imagine limited","Picture and design","",""
    "27749","BILDCO","BILDCO","39","Client"
    "27770","ABC Bank","ABC Bank","",""
    "27772","Access Bank","Access Bank","",""
    "27799","Temp.LE COQ","LE COQ","",""
    Cheers,
    Thx
  5. #5
    Hello Everybody,
    I implemented two methods the first one with Jquey and the second when with DirectEvent and Extra parameter but I had the same result.
    This is the screenshot of the console log result:
    Excel export log ajax response result :
    Click image for larger version. 

Name:	ExcelExport.jpg 
Views:	285 
Size:	96.7 KB 
ID:	3575
    Csv export log ajax response result :
    Click image for larger version. 

Name:	CsvExport.jpg 
Views:	177 
Size:	93.9 KB 
ID:	3576
  6. #6
    But how would you describe the problem?

    Did you try the example that I've referred? Does it wort for you?
  7. #7
    Quote Originally Posted by Daniil View Post
    But how would you describe the problem?

    Did you try the example that I've referred? Does it wort for you?
    Yes I implemented the example that you have referred for me, just I handled an Ajax function when I click on button to export data from the store and passing data to controller action.
    As you see in the Ajax response log the controller action it renders formatted data according to the format type csv or xls but the problem is the file can not be downloaded !!!
  8. #8
    Hello,
    I implemented a GridPanel based on xml tags : this is the function that generates the GridPnl :

    public GridPanel GenerateGridPnl(String searchGridResultTag,
                String xmlSearchTag,
                String xmlValTag,
                String xmlPropertyAttribute,
                String httpProxyUrl,
                String xmlFilePath
                )
            {
                XElement loaded = XElement.Load(xmlFilePath);
                XElement dataDictionnary = loaded.Element(Constant.DATA_DICTIONNARY.ToString());
                GridPanel gridPanel = new GridPanel();
                gridPanel.Height = 400;
                gridPanel.TrackMouseOver = true;
                gridPanel.ID = "_gridSearch";
                gridPanel.Listeners.Command.Fn = "commandHandler";
                gridPanel.LoadMask.ShowMask = true;
                CommandColumn commandColumn = new CommandColumn();
                commandColumn.Commands.Add(GenerateGridEditCommand(
                    dataDictionnary.Element(Constant.xmlGridCommandHelp.HelpEdit.ToString()).Attribute(Constant.VAL.ToString()).Value));
                commandColumn.Commands.Add(GenerateGridDuplicateCommand(
                    dataDictionnary.Element(Constant.xmlGridCommandHelp.HelpDuplicate.ToString()).Attribute(Constant.VAL.ToString()).Value));
                commandColumn.Commands.Add(GenerateGridDeleteCommand
                    (dataDictionnary.Element(Constant.xmlGridCommandHelp.HelpDelete.ToString()).Attribute(Constant.VAL.ToString()).Value));
                commandColumn.Commands.Add(GenerateGridStartWorkFlowCommand(
                    dataDictionnary.Element(Constant.xmlGridCommandHelp.HelpStartWf.ToString()).Attribute(Constant.VAL.ToString()).Value));
                Store store = new Store();
                store.ID = "_store";
                store.UseIdConfirmation = true;
                store.RemoteSort = true;
                store.Listeners.BeforeLoad.Handler = "onBeforeLoad(store, options, #{searchFormPanel});";
                HttpProxy httpProxy = new HttpProxy();
                httpProxy.Url = httpProxyUrl;
                HttpWriteProxy httpWriteProxy = new HttpWriteProxy();
                httpWriteProxy.Url = Constant.CONSUMER_GRID_ACTIONS;
                store.UpdateProxy.Add(httpWriteProxy);
                store.Proxy.Add(httpProxy);
                RecordField recordField = null;
                Parameter limitParameter = null;
                Parameter startParameter = null;
                Column column = null;
                PagingToolbar pagingToolbar = new PagingToolbar();
                JsonReader jsonReader = new JsonReader();
                jsonReader.Root = "data";
                jsonReader.TotalProperty = "total";
                XElement searchTag = loaded.Element(xmlSearchTag);
                XElement val = searchTag.Element(searchGridResultTag);
                foreach (XElement field in val.Descendants(xmlValTag))
                {
                    recordField = new RecordField();
                    recordField.Name = field.Attribute(xmlPropertyAttribute).Value;
                    jsonReader.Fields.Add(recordField);
                    column = new Column();
                    //jsonReader.IDProperty = "counterparty_id";
                    if (field.Attribute(Constant.xmlSearchViewAttribute.visible.ToString()) != null)
                    {
                        if (field.Attribute(Constant.xmlSearchViewAttribute.visible.ToString()).Value.ToLower().Equals("false"))
                        {
                            column.Hidden = true;
                        }
                    }
                    column.ColumnID = field.Attribute(xmlPropertyAttribute).Value;
                    column.DataIndex = field.Attribute(xmlPropertyAttribute).Value;
                    column.Header = field.Value;
                    column.Width = 150;
                    gridPanel.ColumnModel.Columns.Add(column);
                }
                RowSelectionModel rowSelection = new RowSelectionModel();
                rowSelection.SingleSelect = true;
                gridPanel.SelectionModel.Add(rowSelection);
                gridPanel.ColumnModel.Columns.Add(commandColumn);
                store.Reader.Add(jsonReader);
                store.RemotePaging = true;
                pagingToolbar = new PagingToolbar();
                pagingToolbar.PageSize = 15;
                limitParameter = new Parameter();
                limitParameter.Name = "limit";
                limitParameter.Value = "15";
                limitParameter.Mode = ParameterMode.Raw;
                startParameter = new Parameter();
                startParameter.Name = "start";
                startParameter.Value = "0";
                startParameter.Mode = ParameterMode.Raw;
                store.BaseParams.Add(limitParameter);
                store.BaseParams.Add(startParameter);
                gridPanel.BottomBar.Add(pagingToolbar);
                gridPanel.LoadMask.ShowMask = true;
                gridPanel.Store.Add(store);
                //gridPanel.Items.Add(GenerateToolbar());
                gridPanel.TopBar.Add(GenerateToolbar());
                return gridPanel;
            }
    This is the function including export buttons and firing DirectEvents :
      public Toolbar GenerateToolbar()
            {
                Toolbar toolbar = new Toolbar(); ;
                toolbar.ID = "_toolbar";
                ToolbarFill toolbarFill = new ToolbarFill();
                toolbarFill.ID = "_toolbarFill";
                Button excelButton = new Button();
                excelButton.Icon = Icon.PageExcel;
                excelButton.ID = "_excelButton";
                excelButton.Text = "To Excel";
                //excelButton.Listeners.Click.Handler = "submitValue(#{_gridSearch}, 'xls');";
                Parameter dataParameter = new Parameter();
                dataParameter.Name = "data";
                dataParameter.Value = "#{_gridSearch}.getRowsValues()";
                dataParameter.Mode = ParameterMode.Raw;
                dataParameter.Encode = true;
                Parameter formatParameter = new Parameter();
                formatParameter.Name = "format";
                formatParameter.Mode = ParameterMode.Value;
                formatParameter.Value = "xls";
                excelButton.DirectEvents.Click.IsUpload = true;
                excelButton.DirectEvents.Click.Url = "/Consumer/ExportData";
                excelButton.DirectEvents.Click.ExtraParams.Add(dataParameter);
                excelButton.DirectEvents.Click.ExtraParams.Add(formatParameter);
                Button csvButton = new Button();
                csvButton.Icon = Icon.PageAttach;
                csvButton.ID = "_csvButton";
                csvButton.Text = "To CSV";
                Button xmlButton = new Button();
                xmlButton.Icon = Icon.PageCode;
                xmlButton.ID = "_xmlButton";
                xmlButton.Text = "To XML";
                xmlButton.Listeners.Click.Handler = "submitValue(#{_gridSearch},'xml');";
                csvButton.Listeners.Click.Handler = "submitValue(#{_gridSearch}, 'csv');";
                toolbar.Items.Add(toolbarFill);
                toolbar.Items.Add(excelButton);
                toolbar.Items.Add(csvButton);
                toolbar.Items.Add(xmlButton);
                return toolbar;
            }
    This is the controller action :
     public ActionResult ExportData(String data, String format)
            {
                XslCompiledTransform xt = new XslCompiledTransform();
                Ext.Net.SubmitHandler submitData = new Ext.Net.SubmitHandler(data);
                XmlNode xml = submitData.Xml;
                StringBuilder s = new StringBuilder();
                XmlWriterSettings settings = new XmlWriterSettings()
                {
                    ConformanceLevel = ConformanceLevel.Auto
                };
                XmlWriter writer = null;
                FileContentResult result = null;
                switch (format)
                {
                    case "csv":
                        xt.Load(Server.MapPath("~/Resources/xsl/Excel.xsl"));
                        writer = XmlWriter.Create(s, settings);
                        xt.Transform(xml, writer);
                        result = new FileContentResult(Encoding.UTF8.GetBytes(s.ToString()), "application/vnd.ms-excel");
                        result.FileDownloadName = "Temp.csv";
                        break;
                    case "xls":
                        xt.Load(Server.MapPath("~/Resources/xsl/Csv.xsl"));
                        writer = XmlWriter.Create(s, settings);
                        xt.Transform(xml, writer);
                        result = new FileContentResult(Encoding.UTF8.GetBytes(s.ToString()), "application/octet-stream");
                        result.FileDownloadName = "Temp.xls";
                        break;
                    case "xml":
                        result = new FileContentResult(Encoding.UTF8.GetBytes(xml.OuterXml), "application/xml");
                        result.FileDownloadName = string.Format("Temp.xml");
                        return result;
                }
                return result;
            }
    The Problem is when I debug I obtain a null format and data values ?
    Last edited by Daniil; Dec 19, 2011 at 9:29 AM.
  9. #9
    Quote Originally Posted by wadhah View Post
    The Problem is when I debug I obtain a null format and data values ?
    Within a controller action?
  10. #10
    Quote Originally Posted by Daniil View Post
    Within a controller action?
    Yes within the controller action !!
Page 1 of 4 123 ... LastLast

Similar Threads

  1. [CLOSED] multiple file upload and file size at client side
    By mirwais in forum 1.x Legacy Premium Help
    Replies: 24
    Last Post: Dec 15, 2014, 5:44 AM
  2. [CLOSED] file upload - file name is empty
    By stoque in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 11, 2011, 8:06 PM
  3. Replies: 0
    Last Post: May 25, 2010, 2:10 AM
  4. Replies: 2
    Last Post: May 15, 2009, 9:41 AM
  5. Replies: 3
    Last Post: Nov 27, 2008, 12:52 PM

Posting Permissions