If I browse back to the page, and try to upload another file to in a sense change the uploaded file, the FileExists event does not fire again so I can't write the filename to the label and update it in the database.
[code]
<
asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<telerik:RadUpload ID="RadUploadLogo" runat="server" EnableAjaxSkinRendering="False"
EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False"
TargetPhysicalFolder="C:\Test"
EnableFileInputSkinning="False" CssClass="formfields" AllowedFileExtensions=".gif"
ControlObjectsVisibility="None" onfileexists="RadUploadLogo_FileExists">
</telerik:RadUpload></ContentTemplate></asp:UpdatePanel>
protected
void RadUploadLogo_FileExists(object sender, Telerik.Web.UI.Upload.UploadedFileEventArgs e)
{
lblUploadFileName.Text =
String.Format("C:\\Test\\{0}", e.UploadedFile.GetName());
}
[/code]
Is there a way to make the FileExists event fire again?