I have a RadUpload and RadProgressArea inside a DIV tag. The div tag is by default set to visible=false. I also have a RadTreeView with ContextMenus. When I click on the ContextMenu "Upload", I set the div tag visible to true. I do the upload, and everything works fine. When the progress is finished, I set the div tag visible to false again to hide the RadUpload and RadProgressArea. But, the next time I click the ContextMenu "Upload" in my RatTreeView, the RadUpload and RadProgressArea has lost the original style, and images is not displayed.
I have to mention that all the controls is inside an asp updatepanel, and the "upload button" is set as PostBackTrigger. This is my RadUpload:
I have to mention that all the controls is inside an asp updatepanel, and the "upload button" is set as PostBackTrigger. This is my RadUpload:
<telerik:RadProgressManager ID="RadProgressManager1" Runat="server" Skin="Default2006" /> |
<telerik:RadUpload ID="RadUpload1" |
runat="server" |
OverwriteExistingFiles="false" |
AllowedFileExtensions=".zip,.txt,.gif,.png,.jpg,.jpeg,.doc,.xls,.pdf" |
initialfileinputscount="1" |
Skin="Default2006" |
MaxFileInputsCount="1" |
inputsize="50" |
width="400px" |
MaxFileSize="1000000000" |
ControlObjectsVisibility="None" |
EnableFileInputSkinning="false" |
EnableAjaxSkinRendering="true" /><br /> |
<telerik:RadProgressArea ID="RadProgressArea1" |
BorderColor="Black" |
BorderStyle="Solid" |
BorderWidth="1" |
Runat="server" |
DisplayCancelButton="True" |
ProgressIndicators="TotalProgressBar, TotalProgress, TotalProgressPercent, RequestSize, CurrentFileName, TimeEstimated, TransferSpeed" |
Skin="Default2006"> |
</telerik:RadProgressArea><hr style="height:1px; color:White" /> |
<asp:Button ID="btnUpload" runat="server" Text="Last opp valgte fil" Width="278" /> |