HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RMourik/bassol.nl/wwwroot/CMSAPIExamples/Code/Development/Countries/Default.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/CMSAPIExamples/Pages/APIExamplesPage.Master"
    Theme="Default" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="CMSAPIExamples_Code_Development_Countries_Default" %>

<%@ Register Src="~/CMSAPIExamples/Controls/APIExample.ascx" TagName="APIExample" TagPrefix="cms" %>
<asp:Content ID="contentLeft" ContentPlaceHolderID="plcLeftContainer" runat="server">
    <%-- Country --%>
    <cms:LocalizedHeading ID="headCreateCountry" runat="server" Text="Country" Level="4" EnableViewState="false" />
    <cms:APIExample ID="apiCreateCountry" runat="server" ButtonText="Create country" InfoMessage="Country 'My new country' was created." />
    <cms:APIExample ID="apiGetAndUpdateCountry" runat="server" ButtonText="Get and update country" APIExampleType="ManageAdditional" InfoMessage="Country 'My new country' was updated." ErrorMessage="Country 'My new country' was not found." />
    <cms:APIExample ID="apiGetAndBulkUpdateCountries" runat="server" ButtonText="Get and bulk update countries" APIExampleType="ManageAdditional" InfoMessage="All countries matching the condition were updated." ErrorMessage="Countries matching the condition were not found." />
    <%-- State --%>
    <cms:LocalizedHeading ID="headCreateState" runat="server" Text="State" Level="4" EnableViewState="false" />
    <cms:APIExample ID="apiCreateState" runat="server" ButtonText="Create state" InfoMessage="State 'My new state' was created." ErrorMessage="Country 'My new country' was not found." />
    <cms:APIExample ID="apiGetAndUpdateState" runat="server" ButtonText="Get and update state" APIExampleType="ManageAdditional" InfoMessage="State 'My new state' was updated." ErrorMessage="Country 'My new country' or state 'My new state' were not found." />
    <cms:APIExample ID="apiGetAndBulkUpdateStates" runat="server" ButtonText="Get and bulk update states" APIExampleType="ManageAdditional" InfoMessage="All states matching the condition were updated." ErrorMessage="States matching the condition were not found." />
</asp:Content>
<asp:Content ID="contentRight" ContentPlaceHolderID="plcRightContainer" runat="server">
    <%-- State --%>
    <cms:LocalizedHeading ID="headDeleteState" runat="server" Text="State" Level="4" EnableViewState="false" />
    <cms:APIExample ID="apiDeleteState" runat="server" ButtonText="Delete state" APIExampleType="CleanUpMain" InfoMessage="State 'My new state' and all its dependencies were deleted." ErrorMessage="State 'My new state' was not found." />
    <%-- Country --%>
    <cms:LocalizedHeading ID="headDeleteCountry" runat="server" Text="Country" Level="4" EnableViewState="false" />
    <cms:APIExample ID="apiDeleteCountry" runat="server" ButtonText="Delete country" APIExampleType="CleanUpMain" InfoMessage="Country 'My new country' and all its dependencies were deleted." ErrorMessage="Country 'My new country' was not found." />
</asp:Content>