This is a migrated thread and some comments may be shown as answers.
RadUpload and RadProgressArea loose Style
1 Answer 95 Views
This is a migrated thread and some comments may be shown as answers.
Inge Wandsvik
Top achievements
Rank 1
Inge Wandsvik asked on 17 Jun 2008, 12:17 PM
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" /> 

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 17 Jun 2008, 03:40 PM
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
Asked by
Inge Wandsvik
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or