Ive set the height tag and it applies the height to some of the FileExplorer but it still extens another 500px or more below where I tell it to stop no matter what the height tag says. Even applying a css with the height of the HTML/Form/body its still extanding past the area but it doesnt show (Though if there were items that went past the hight they wouldnt be viewable)
Picture - http://mmo-rpg.com/fileexp.png
Picture - http://mmo-rpg.com/fileexp.png
<%@ Page Title="" Language="VB" AutoEventWireup="false" CodeFile="mtr_files.aspx.vb" Inherits="bradford_mtr_mtr_files" %> |
<html> |
<head> |
<script type="text/javascript"> |
function fileOpen(sender, args) |
{ |
var wndMng = sender.get_windowManager(); |
wndMng.set_width(600); //set desired width |
wndMng.set_height(400); //set desired height |
wndMng.set_behaviors(Telerik.Web.UI.WindowBehaviors.Resize + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close); |
} |
</script> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" Height="205px" |
Skin="Office2007" VisibleControls="TreeView, Grid, Toolbar, ContextMenus" onclientfileopen="fileOpen"> |
<Configuration SearchPatterns="*.*"></Configuration> |
</telerik:RadFileExplorer> |
</form> |
</body> |
</html> |
Imports System.IO |
Partial Class bradford_mtr_mtr_files |
Inherits System.Web.UI.Page |
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init |
Dim heatcode As String = Request.QueryString("mtr_heatcode") |
Dim folder As String() |
If IO.Directory.Exists("c:\inetpub\wwwroot\bradford\mtr\mtr_docs\" + heatcode) = False Then |
folder = New String() {"~/bradford/mtr/mtr_docs/"} |
'IO.Directory.CreateDirectory("c:\inetpub\wwwroot\bradford\mtr\mtr_docs\" + heatcode) |
Else |
folder = New String() {"~/bradford/mtr/mtr_docs/" + heatcode} |
End If |
RadFileExplorer1.Configuration.ViewPaths = folder |
RadFileExplorer1.Configuration.UploadPaths = folder |
RadFileExplorer1.Configuration.DeletePaths = folder |
RadFileExplorer1.Configuration.MaxUploadFileSize = 10485760 |
End Sub |
End Class |