- Timestamp:
- 04/29/11 10:53:02 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Views/Query
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Views/Query/Results.aspx
r5977 r6076 1 <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> 2 <%@ Register Src="~/Views/Query/RunCollectionTable.ascx" TagName="RunCollectionTable" TagPrefix="HL" %> 3 <%@ Register Src="~/Views/Query/RunCollectionDetail.ascx" TagName="RunCollectionDetail" TagPrefix="HL" %> 1 <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" ViewStateMode="Enabled" EnableEventValidation="true" %> 4 2 5 3 <asp:Content ID="Content3" runat="server" ContentPlaceHolderID="SubMenuContent"> … … 15 13 <h2>Results</h2> 16 14 17 <h3>Test table element</h3> 18 <form runat="server"> 19 <HL:RunCollectionTable ID="kurt" runat="server" /> 20 </form> 15 <% Html.RenderAction("RunCollectionTable"); %> 21 16 22 <h3>Test detail element</h3>23 <HL:RunCollectionDetail ID="sepp" runat="server" />24 17 25 18 </asp:Content> -
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Views/Query/RunCollectionDetail.ascx.cs
r5977 r6076 7 7 8 8 using System.Reflection; 9 10 using HLWebOKBQueryPlugin.Helpers; 9 11 10 12 namespace HLWebOKBQueryPlugin.Views.Query { -
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Views/Query/RunCollectionTable.ascx
r5977 r6076 1 <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RunCollectionTable.ascx.cs" Inherits="HLWebOKBQueryPlugin.Views.Query.RunCollectionTable" %>1 <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> 2 2 3 <asp:GridView ID="GridRunCollection" runat="server" AutoGenerateColumns="False" 4 OnRowCommand="GridRunCollection_RowCommand" 5 OnSelectedIndexChanged="GridRunCollection_SelectedIndexChanged"> 6 <SelectedRowStyle BackColor="Aqua" /> 7 <Columns> 8 <asp:BoundField /> 9 <asp:CommandField ShowSelectButton="true" SelectText="Details" /> 10 <asp:BoundField HeaderText="Abs.DifferenceBestKnown2Best" /> 11 <asp:BoundField HeaderText="Algorithm Name" DataField="AlgorithmName" /> 12 <asp:BoundField HeaderText="Algorithm Type" DataField="AlgorithmAlgorithmClass" /> 13 <asp:BoundField HeaderText="Analyser" /> 14 </Columns> 15 </asp:GridView> 3 <div id="RunCollectionTable" style="overflow: auto; width: 100%"> 4 <form id="frmRunCollectionTable" runat="server" method="post"> 16 5 17 <asp:TextBox ID="txtTest" runat="server" /> 18 <asp:TextBox ID="txtTest2" runat="server" /> 6 <asp:GridView ID="GridRunCollection" runat="server" DataSourceID="dsQueryRuns"> 7 <SelectedRowStyle BackColor="Aqua" /> 8 <Columns> 9 <asp:BoundField /> 10 <asp:CommandField ShowSelectButton="true" SelectText="Details" /> 11 </Columns> 12 </asp:GridView> 13 <asp:ObjectDataSource ID="dsQueryRuns" runat="server" 14 SelectMethod="getTestRuns" 15 TypeName="HLWebPluginHost.Models.QueryModel"> 16 </asp:ObjectDataSource> 17 18 </form> 19 </div>
Note: See TracChangeset
for help on using the changeset viewer.