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
50
infragistics excel workbook
posted

Hi,

i had added the  Infragistics.WebUI.UltraWebGrid.ExcelExport.v3.1,but when i run the application 

 

    protected void btnallexpexcel_Click(object sender, EventArgs e)
        {
            //Ultraexcelexporter.DownloadName = "Sample.xls";Ultraexcelexporter.WorksheetName = ddlFromMonth.SelectedItem.Text + " " + ddlFromYear.SelectedItem.Text;
            //Ultraexcelexporter.Export(Ultraall).Precision = 0.00;
        }

 

 ERROR:

'Infragistics.Excel.Workbook' does not contain a definition for 'Precision'

 

Narsimha

  • 7694
    posted

     Hello,


    I am trying to reproduce the issue, unfortunately to no avail. I use NetAdvantage 8.3 VS 2008 SP1 and works properly.Please take a look at the code below:
       
        protected void Button1_Click(object sender, EventArgs e)
        {
            Export.DownloadName = "test";
            Export.ExportMode = Infragistics.WebUI.UltraWebGrid.ExcelExport.ExportMode.Download;
            Export.WorksheetName = "test";
            Export.Export(UltraWebGrid1).Precision=0.00;
        }


    What am I missing?