You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
Public Function DownloadFile() As FileContentResult
Dim html As String = HtmlEditorExtension.GetHtml("htmlEdit")
Dim result As New FileContentResult(System.Text.Encoding.UTF8.GetBytes(html), "text/html")
result.FileDownloadName = "myFile.html"
Return result
End Function
Public Function FileUploaded() As ActionResult
UploadControlExtension.GetUploadedFiles("uc", New ValidationSettings() With {.AllowedFileExtensions = New String() { ".html", ".htm", ".txt" }}, AddressOf FileUploadComplete)
Return Nothing
End Function
Protected Sub FileUploadComplete(ByVal sender As Object, ByVal e As FileUploadCompleteEventArgs)