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

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! Problem p = ((ProblemModel)Model).Problem; %> <%: Html.Hidden("ProblemId", p.Id.ToString(), p.Id.ToString())%>
Id: <%: Html.Label(p.Id.ToString())%>
Name: <%: Html.TextBox("ProblemName", p.Name, p.Name)%>
Description: <%: Html.TextBox("ProblemDescription", p.Description, p.Description)%>
DataTypeName: <%: Html.TextBox("ProblemDataTypeName", p.DataTypeName, p.DataTypeName)%>
Problem Class:
Plattforms:
Action:
<%: Html.ActionLink("back to Index","Index") %> <% } %>