Last change
on this file since 6247 was
6247,
checked in by dhohl, 13 years ago
|
#1499 The filter form does not lost any inputs after reloading the page; date filter is possible
|
File size:
1.2 KB
|
Line | |
---|
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
|
---|
2 |
|
---|
3 | <%@ Import Namespace="HLWebOKBQueryPlugin.Models" %>
|
---|
4 | <%@ Import Namespace="HLWebOKBQueryPlugin.OKBQueryService" %>
|
---|
5 | <asp:Content ID="Content3" runat="server" ContentPlaceHolderID="SubMenuContent">
|
---|
6 | <% Html.RenderAction("Menu","Query"); %>
|
---|
7 | </asp:Content>
|
---|
8 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
---|
9 | Filter
|
---|
10 | </asp:Content>
|
---|
11 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
---|
12 |
|
---|
13 | <!--
|
---|
14 | This is the "user control" for the filters. This will call the action "AddFilter"
|
---|
15 | in the controller, after the Action "Index" is called (for rendering the page).
|
---|
16 |
|
---|
17 |
|
---|
18 | ch130 TSP (imported from TSPLIB)
|
---|
19 |
|
---|
20 |
|
---|
21 | -->
|
---|
22 | <%
|
---|
23 |
|
---|
24 | FilterModel model = (FilterModel)Model;
|
---|
25 |
|
---|
26 | if (model != null && model.Content != null)
|
---|
27 | {
|
---|
28 |
|
---|
29 | FilterModel fm = new FilterModel((CombinedFilter)model.Content);
|
---|
30 | %>
|
---|
31 | <% Html.RenderPartial("Filters", fm); %>
|
---|
32 | <%
|
---|
33 | }
|
---|
34 | %>
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
39 |
|
---|
40 |
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
44 | </asp:Content>
|
---|
Note: See
TracBrowser
for help on using the repository browser.