<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HomePage.master" Inherits="System.Web.Mvc.ViewPage<MVCECUDataTrackingSystem.ViewModels.ECUViewModel>" %>
<asp:Content ID="Content3" ContentPlaceHolderID="NestedScripts" runat="server">
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#ECUSubmit').hide();
});
function fnECUAdd() {
var dispid= document.getElementById("DispId");
$("#ECUSubmit").dialog({
height: 200,
width: 450,
modal: true,
title: "Confirmation",
buttons: {
"Yes": function () {
ValidationPB();
},
"No": function () {
$(this).dialog("close");
}
}
});
}
</script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="nestedMasterContent" runat="server">
<% using (Html.BeginForm("Clone", "ECU", FormMethod.Post, new { enctype = "multipart/form-data", id = "fmECU" }))
{%>
<%: Html.ValidationSummary(true) %>
<div>
<input type="button" value="Back" onclick="window.history.back()" />
</div>
<div id="ECUSubmit">
<div class="editor-label">
<%: "Do you want to Continue? disposition is:" + dispid %>
</div>
</div>
</asp:Content>