<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> <%@ Import Namespace="HLWebOKBAdminPlugin.Models" %> <%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %> Detail <% Html.RenderAction("Menu", "Admin"); %> <% using (Html.BeginForm("SaveChanges", "Algorithm")) %> <% { %>

Detail

<% // The Model will be filled via the Controller // Maybe we can use here the Problem instead // of the ProblemModel. But this must be changed // in the Controller too! Algorithm p = ((AlgorithmModel)Model).Algorithm; %>
<%: Html.ActionLink("Back to Index", "Index", null, new { @class = "hl-button-text-back" })%>
<%: Html.Hidden("AlgorithmId", p.Id.ToString(), p.Id.ToString())%>
Id: <%: Html.Label(p.Id.ToString())%>
Name: <%: Html.TextBox("AlgorithmName", p.Name, p.Name)%>
Description: <%: Html.TextBox("AlgorithmDescription", p.Description, p.Description)%>
DataTypeName: <%: Html.TextBox("AlgorithmDataTypeName", p.DataTypeName, p.DataTypeName)%>
Algorith Class:
Platform:
Action:
<% } %> <% using (Html.BeginForm("UploadFile", "Algorithm", FormMethod.Post, new { enctype = "multipart/form-data" })) {%>
<% Algorithm p = ((AlgorithmModel)Model).Algorithm; %>
File: <%: Html.Hidden("AlgorithmId", p.Id.ToString(), p.Id.ToString())%>
Action:
<% } %>