forked from sachatrauwaen/OpenUrlRewriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UrlRuleCache_View.ascx
81 lines (56 loc) · 3.16 KB
/
UrlRuleCache_View.ascx
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UrlRuleCache_View.ascx.cs" Inherits="Satrabel.Modules.OpenUrlRewriter.UrlRuleCache_View" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<div class="dnnForm" >
<fieldset>
<div class="dnnFormItem">
<dnn:label ID="Label1" runat="server" Text="Filter" />
<asp:TextBox ID="tbFilter" runat="server"></asp:TextBox>
</div>
</fieldset>
<asp:GridView ID="GridView1" runat="server" BorderStyle="None" GridLines="None" CssClass="dnnGrid"
EnableViewState="false" Width="100%" Visible="true" AutoGenerateColumns="false">
<headerstyle CssClass="dnnGridHeader" HorizontalAlign="Left" />
<rowstyle CssClass="dnnGridItem" />
<alternatingrowstyle CssClass="dnnGridAltItem" />
<Columns>
<asp:BoundField DataField="RuleTypeString" HeaderText="Type" SortExpression="RuleTypeString" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="CultureCode" HeaderText="Culture" SortExpression="CultureCode" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="TabId" HeaderText="TabId" SortExpression="TabId" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Parameters" HeaderText="Parameters" SortExpression="Parameters" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:CheckBoxField DataField="RemoveTab" HeaderText="NoTab" SortExpression="RemoveTab" >
<HeaderStyle HorizontalAlign="Left" />
</asp:CheckBoxField>
<asp:BoundField DataField="ActionString" HeaderText="Action" SortExpression="RuleActionString" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="Url" HeaderText="Url" SortExpression="Url" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="RedirectDestination" HeaderText="Destination" SortExpression="RedirectDestination" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="RedirectStatus" HeaderText="Status" SortExpression="RedirectStatus" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="InSitemap" HeaderText="Sitemap" SortExpression="InSitemap" >
<HeaderStyle HorizontalAlign="Left" />
</asp:BoundField>
</Columns>
</asp:GridView>
</div>
<dnn:DnnJsInclude runat="server" FilePath="~/DesktopModules/OpenUrlRewriter/js/jquery.uitablefilter.js" />
<script type="text/jscript">
var GridView1 = $('#<%= GridView1.ClientID %>')
$('#<%= tbFilter.ClientID %>').keyup(function() {
$.uiTableFilter( GridView1, this.value );
})
</script>