RadUpload and RadProgressArea loose Style

Thread is closed for posting
2 posts, 0 answers
  1. Inge Wandsvik
    Inge Wandsvik avatar
    117 posts
    Member since:
    Sep 2006

    Posted 17 Jun 2008 Link to this post

    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:
    <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" Skin="Default2006" /> 
                        <telerik:RadUpload ID="RadUpload1"   
                            EnableAjaxSkinRendering="true" /><br /> 
                        <telerik:RadProgressArea ID="RadProgressArea1"   
                            ProgressIndicators="TotalProgressBar, TotalProgress, TotalProgressPercent, RequestSize, CurrentFileName, TimeEstimated, TransferSpeed"   
                        </telerik:RadProgressArea><hr style="height:1px; color:White" /> 
                        <asp:Button ID="btnUpload" runat="server" Text="Last opp valgte fil" Width="278" /> 
  2. Erjan Gavalji
    Erjan Gavalji avatar
    1455 posts

    Posted 17 Jun 2008 Link to this post

    Hi Inge,

    The problem happens due to the skinning mechanism of RadControls for ASP.NET Ajax after an Ajax call. The problem should disappear once you set a value of true to the EnableAjaxSkinRendering property after the upload happens.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top