forked from GleamTech/FileUltimate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathServerEvents.aspx
28 lines (24 loc) · 1.35 KB
/
ServerEvents.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ServerEvents.aspx.vb" Inherits="GleamTech.FileUltimateExamples.AspNetWebFormsVB.FileManager.ServerEventsPage" %>
<%@ Register TagPrefix="GleamTech" Assembly="GleamTech.FileUltimate" Namespace="GleamTech.FileUltimate.AspNet.WebForms" %>
<%@ Register TagPrefix="GleamTech" Assembly="GleamTech.FileUltimate" Namespace="GleamTech.FileUltimate.AspNet.UI" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Server-side events</title>
</head>
<body style="margin: 20px;">
<p>
Events:<br/>
<iframe id="eventsIframe" src="<%=Request.Url.LocalPath%>?getLatestEvents=1" style="width: 800px; height: 200px; background-color: white; border: 1px solid black"></iframe>
<br /><input type="button" value="Get Latest Events" onclick="document.getElementById('eventsIframe').contentWindow.location.reload();" />
</p>
<GleamTech:FileManagerControl ID="fileManager" runat="server"
Width="800"
Height="600"
DisplayLanguage="en">
<GleamTech:FileManagerRootFolder Name="Root Folder 1" Location="~/App_Data/RootFolder1" >
<GleamTech:FileManagerAccessControl Path="\" AllowedPermissions="Full"/>
</GleamTech:FileManagerRootFolder>
</GleamTech:FileManagerControl>
</body>
</html>