<ej:Tab ID="fileTab" runat="server" ClientSideOnActive="SetExplorer">
<Items>
<ej:TabItem ID="property" Text="Property">
<ContentSection>
Property related details
</ContentSection>
</ej:TabItem>
<ej:TabItem ID="Owner" Text="Owner/Contact">
<ContentSection>
Contact owner
</ContentSection>
</ej:TabItem>
<ej:TabItem ID="Documents" Text="Documents">
<ContentSection>
<div id="fileExplorer"></div>
</ContentSection>
</ej:TabItem>
</Items>
</ej:Tab>
<script>
var FileObj;
function SetExplorer(args) {
$("#fileExplorer").ejFileExplorer({
isResponsive: true,
width: "100%",
layout: "grid",
path: "~/Content/images/FileExplorer",
ajaxAction: "/FileExplorer/FileExplorerFeatures.aspx/FileActionDefault"
});
var fileExplorerObj = $("#fileExplorer").data("ejFileExplorer");
fileExplorerObj.adjustSize();
}
</script> |