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"   
                            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" /> 
  2. Erjan Gavalji
    Admin
    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