We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

File Explorer doesn't render properly


I am using Syncfusion File Explorer with Community Licence. It doesn't render properly with Tab click. But if I redraw or minimize and maximize the browser window it renders fine.

Please also see attached screenshot showing the issue.


Rupinder Singh 


Attachment: Syncfusion_Tab_and_File_Explorer_5adc900.zip

3 Replies

KR Keerthana Rajendran Syncfusion Team December 13, 2019 05:47 AM UTC

Hi Rupinder, 
Good day to you.   
While rendering FileExplorer inside a hidden element, dimensions may not be updated correctly since it hidden initially. We suggest you to invoke the adjustSize() method in “onActive” event which will be triggered when the tab gets active. Please refer to the following code  
<ej:Tab ID="fileTab" runat="server" ClientSideOnActive="SetExplorer">  
            <ej:TabItem ID="property"  Text="Property">  
                   Property related details  
            <ej:TabItem ID="Owner" Text="Owner/Contact">  
                    Contact owner  
            <ej:TabItem ID="Documents"  Text="Documents">  
                    <div id="fileExplorer"></div>                      
        var FileObj;  
        function SetExplorer(args) {  
                isResponsive: true,  
                width: "100%",  
                layout: "grid",            
                path: "~/Content/images/FileExplorer",  
                ajaxAction: "/FileExplorer/FileExplorerFeatures.aspx/FileActionDefault"  
            var fileExplorerObj = $("#fileExplorer").data("ejFileExplorer");  
Please let us know if you need further assistance.  

RS Rupinder Singh December 13, 2019 04:29 PM UTC

I have fixed this issue by creating custom Tabs and made sure that once Tab becomes active only then it trigger method to render file explorer. Anyway,  thank you for your help. 



KR Keerthana Rajendran Syncfusion Team December 16, 2019 05:22 AM UTC

Hi Rupinder, 
Most welcome. We are glad to hear that the issue has been resolved. In previous code too, the FileExplorer is rendered only through the active event of Tab similar to your scenario. Please get back to us if you need any further assistance on this 

Live Chat Icon For mobile
Up arrow icon