Export to Excel with localisation error

Jul 3, 2013 at 9:59 AM
Dear,

We use your control for some years but now we want to make a Multi language website. We use the asp.net localisation. But it seems this does not work with this Export to Excel control.

We use the following code:
    <RK:ExportToExcel ID="ExportToExcel1" runat="server" ApplyStyleInExcel="False" 
        ExportFileName="yeos_current.xls" Text="Export To Excel" Charset="utf-8" 
        ColumnsToExclude="" ContentEncoding="" EnableHyperLinks="" GridViewID="" 
        meta:resourcekey="ExportToExcel1Resource1" ZipMode="" ZipTheFile="" />
When I remove the control it works fine, when i add the control i receive the following error when loading the page:
Error Message: Please enter 'All' or 'Current' or a valid number.

Stack Trace: at KrishLabs.Web.Controls.ExportToExcel.set_PageSize(String value) at ASP.hdistrict_clubyeo_list_current_aspx.__BuildControlExportToExcel1() in C:\Websites\ryedb.net\wwwroot\hdistrict\clubyeo_list_current.aspx:line 17 at ASP.hdistrict_clubyeo_list_current_aspx.__BuildControlContent1(Control __ctrl) in C:\Websites\ryedb.net\wwwroot\hdistrict\clubyeo_list_current.aspx:line 12 at System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) at ASP.admin_master.__BuildControlContentPlaceHolder1() in C:\Websites\ryedb.net\wwwroot\admin.master:line 281 at ASP.admin_master.__BuildControlform1() in C:\Websites\ryedb.net\wwwroot\admin.master:line 192 at ASP.admin_master.__BuildControlTree(admin_master __ctrl) in C:\Websites\ryedb.net\wwwroot\admin.master:line 1 at ASP.admin_master.FrameworkInitialize() at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) at System.Web.UI.Page.ApplyMasterPage() at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)