<%@ control language="VB" autoeventwireup="false" inherits="RCC_VPS_CC_ModifySubnet, MachSol.MachPanel.Web" %>
<asp:MultiView ID="mvSubnet" runat="server" ActiveViewIndex="0">
    <asp:View ID="vShow" runat="server">
        <asp:Label ID="lblSubnet" runat="server" class="lbl-Bandwidth"></asp:Label>&nbsp;
        <asp:Button ID="btnChange" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content, GN0000385 %>" />
        <div class="clear-both"></div>
    </asp:View>
    <asp:View ID="vModify" runat="server">
        <asp:TextBox ID="txtSubnet" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="rfvSubnet" runat="server" Text="*" ControlToValidate="txtSubnet" ErrorMessage="Subnet mask is required."
            ValidationGroup="Subnet"></asp:RequiredFieldValidator>
        <asp:Button ID="btnModify" runat="server" class="btn btn-primary waves-effect" ValidationGroup="Subnet" 
            Text="<%$ Resources:Content, GN0001189 %>" />
             <asp:Button ID="btnCancel" runat="server" SkinID="cancelButton" CausesValidation="false"
            Text="<%$ Resources:Content, GN0000572 %>" />
            <asp:RegularExpressionValidator ID="REV_txtSubnet" runat="server" ErrorMessage='Subnet mask was not in a correct format. Valid Example: 255.255.255.0'
                ControlToValidate="txtSubnet" Display="None" SetFocusOnError="True"
                ValidationExpression="^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
                ValidationGroup="Subnet"></asp:RegularExpressionValidator>
    </asp:View>
</asp:MultiView>
<asp:ValidationSummary ID="VS_ModifySubnet" ValidationGroup="Subnet" DisplayMode="BulletList"
    ShowSummary="false" ShowMessageBox="true" HeaderText="<%$ Resources:Content,SMI753%>" runat="server" />