Hi,
I am using a Rad window, which contains a file upload control. I am trying to clear the file path, when the rad window is closed.
Below is the aspx code:
<
telerik:RadWindow
runat
=
"server"
ID
=
"rwUpload"
Title
=
"UPLOAD"
RestrictionZoneID
=
"ContentTemplateZone"
Width
=
"400px"
Modal
=
"true"
Behaviors
=
"Close"
VisibleStatusbar
=
"false"
MaxHeight
=
"200px"
OnClientClose
=
"OnClientClose"
ReloadOnShow
=
"true"
ShowContentDuringLoad
=
"false"
>
<
ContentTemplate
>
<
telerik:RadWindowManager
ID
=
"rwmUpload"
runat
=
"server"
EnableShadow
=
"true"
>
</
telerik:RadWindowManager
>
<
div
style
=
"width: 380px; overflow: hidden"
class
=
"contButton"
>
<
table
style
=
"margin-left: 30px; top: 30px;"
width
=
"340px"
>
<
br
/>
<
asp:FileUpload
ID
=
"FlupExceFile"
Width
=
"300px"
runat
=
"server"
/>
<
br
/>
<
br
/>
<
asp:Label
ID
=
"lblMessage"
ForeColor
=
"red"
runat
=
"server"
></
asp:Label
>
</
table
>
<
br
/>
<
table
style
=
"margin-left: 30px; vertical-align: bottom;"
width
=
"340px"
>
<
tr
valign
=
"bottom"
>
<
td
>
<
telerik:RadButton
ID
=
"btnUpload"
runat
=
"server"
Text
=
"Upload"
OnCommand
=
"btnUpload_OnCommand"
>
</
telerik:RadButton
>
</
td
>
</
tr
>
</
table
>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
I want to remove the file path using jquery/javascript when the rad window is closed.
How to achieve this?
Thanks