I'm using a Spreadsheet control in my web form.
Then in the code behind,
Protected Sub SS_ServerExcelExporting(sender As Object, e As Syncfusion.JavaScript.Web.SpreadsheetEventArgs) Handles SS.ServerExcelExporting
Dim args = e.Arguments
Dim password As String = args("password").ToString()
Dim sheetModel As String = args("sheetModel").ToString()
Dim sheetData As String = args("sheetData").ToString()
Dim Title = TxtTitle.Text
If Not String.IsNullOrEmpty(password) Then
Spreadsheet.Save(sheetModel, sheetData, "A.XLSX", ExportFormat.XLSX, ExcelVersion.Excel2016, password)
Else
Spreadsheet.Save(sheetModel, sheetData, "A.XLSX", ExportFormat.XLSX, ExcelVersion.Excel2016)
End If
LblStatus.Text = "Saved"
End Sub
When I run, The Save as shows, Save the file dialog shows and there is a text box to type the name. But when I click save, nothing happent. I put a breakpoint at above code behind, but I did not hit.
I have reported some thing in the output window,
TypeError: n(...).valid is not a function
at t.spreadsheetFeatures.exporting._dlgSave (http://localhost:2051/ScriptResource.axd?d=6kNGQFd0-BCjryqyTklX31OF9SFWPV4RK2GK1zSGxH1TQE9HVdAuLdg0mFnDTtapcYt2jWiO3x_kPt7agMQmHZMfXnnGyDAa3jQSrummBsznfqnlZELHlJQ-jCtHTLkIXQukGJSwHKfGL9OF3wnm3Rgne-UTqD0U7eP70h3KRIE1&t=3b2e3250:10:1273248)
at Object.
(http://localhost:2051/ScriptResource.axd?d=HcDiAh-4bgOyZXn3L1_PoJRZrWznhSJKgPA8IoNoamejksUPqrdM5QHTYp0fHzBlbMOtTHIiw9ZYpiU3bBZoc6HBxkto7D4f8bss4QMFU1KLoZHJ5dlOru5lCP5Xdnveq7d_AWkbZQ4C8jaEJzDKoeW-oI1DhWJr0tKIIn_dTFQ1&t=3b2e3250:10:27428) at Object._trigger (http://localhost:2051/ScriptResource.axd?d=HcDiAh-4bgOyZXn3L1_PoJRZrWznhSJKgPA8IoNoamejksUPqrdM5QHTYp0fHzBlbMOtTHIiw9ZYpiU3bBZoc6HBxkto7D4f8bss4QMFU1KLoZHJ5dlOru5lCP5Xdnveq7d_AWkbZQ4C8jaEJzDKoeW-oI1DhWJr0tKIIn_dTFQ1&t=3b2e3250:10:13393)
at Object._btnMouseClickEvent (e:\code projects\student data\web server\studentdatabaseserver\studentdatabaseserver\scripts\ej\web\ej.web.all.min.js:10:279027)
at HTMLInputElement.
(http://localhost:2051/ScriptResource.axd?d=HcDiAh-4bgOyZXn3L1_PoJRZrWznhSJKgPA8IoNoamejksUPqrdM5QHTYp0fHzBlbMOtTHIiw9ZYpiU3bBZoc6HBxkto7D4f8bss4QMFU1KLoZHJ5dlOru5lCP5Xdnveq7d_AWkbZQ4C8jaEJzDKoeW-oI1DhWJr0tKIIn_dTFQ1&t=3b2e3250:10:27428) at HTMLInputElement.dispatch (e:\code projects\student data\web server\studentdatabaseserver\studentdatabaseserver\scripts\jquery-3.3.1.min.js:2:41773)
at HTMLInputElement.y.handle (e:\code projects\student data\web server\studentdatabaseserver\studentdatabaseserver\scripts\jquery-3.3.1.min.js:2:39792)
Help me to fix this
Attachment:
ExamEdit_7b81fb61.zip