<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AdminAppMasterAndSlave.aspx.cs" Inherits="AppCompleteGeneric.admin.AdminAppMasterAndSlav" %>
<%@ Register Assembly="AppCompleteGeneric.PServerIis" Namespace="SomeNameSpace" TagPrefix="cc2" %>
<%@ Register assembly="Eco.Web" namespace="ViewModelForAspNet" tagprefix="cc1" %>
<%@ Register assembly="Eco.Web" namespace="Eco.Web.UI.WebControls" tagprefix="eco" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<eco:EcoSpaceManager ID="EcoSpaceManager1" runat="server" >                
              </eco:EcoSpaceManager>
              <eco:EcoDataSource ID="EcoDataSource1" runat="server" EcoSpaceManagerID="EcoSpaceManager1"></eco:EcoDataSource>
   <p/>
  <p>
    Using Master or Slave is only possible if you use an external database.<br />
    When setting a model as HISTORYSLAVE - all classes in the model are treated as Versioned<br />
    <br />
    When deploying a HISTORYSLAVE from a backup of your master database - the tables and columns needed for VERSIONing are missing. <br />
    They can be created by the "Ensure Versioning Tables in DB" button below<br />
  </p>
  
<cc2:ViewModelUserControlASPNET  ID="ViewModelUserControlASPNET" DataSourceID="EcoDataSource1" runat="server" 
              EcoSpaceManagerID="EcoSpaceManager1" postbackoncomboboxchange="true" gridsgridlines="none"
                gridsallowpaging="true" gridscssclass="mGrid" gridspagerstylecssclass="pgr" gridsalternatingrowstylecssclass="alt"  />

    
    <p/>
        &nbsp;<p/>
    <asp:Button ID="ButtonSubmit" runat="server" Text="Submit"  />
        &nbsp;


</asp:Content>
