Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Detail.aspx @ 6281

Last change on this file since 6281 was 6271, checked in by dkahn, 13 years ago

#1433 Fixed missing files and debugged and fixed a null pointer exception on AlgorithmClass.Description that was caused by invalid values coming from webservice

File size: 1.6 KB
Line 
1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
2
3<%@ Import Namespace="HLWebOKBAdminPlugin.Models" %>
4<%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %>
5<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
6    Detail
7</asp:Content>
8<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
9    <% using (Html.BeginForm("SaveChanges", "AlgorithmClass")) %>
10    <% { %>
11    <h2>Detail</h2>
12
13    <% AlgorithmClass ac = ((AlgorithmClassModel)Model).AlgorithmClass; %>
14    <table border="1">
15        <tr>
16            <td>
17                Id:
18            </td>
19            <td>
20                <%: Html.Label(ac.Id.ToString())%>
21            </td>
22            <%: Html.Hidden("AlgorithmClassId", ac.Id.ToString(), ac.Id.ToString())%>
23        </tr>
24        <tr>
25            <td>
26                Name:
27            </td>
28            <td>
29                <%: Html.TextBox("AlgorithmClassName", ac.Name, ac.Name)%>
30            </td>
31        </tr>
32        <tr>
33            <td>
34                Description:
35            </td>
36            <td>
37                <%: Html.TextBox("AlgorithmClassDescription", ac.Description, ac.Description)%>
38            </td>
39        </tr>
40        <tr>
41            <td>
42                Action:
43            </td>
44            <td>
45                <input type="submit" value="save" />
46            </td>
47        </tr>
48    </table>
49    <%: Html.ActionLink("back to Index","Index") %>
50    <% } %>
51</asp:Content>
Note: See TracBrowser for help on using the repository browser.