<%@ control language="VB" autoeventwireup="false" inherits="RCC_VPS_CC_ModifyGateway, MachSol.MachPanel.Web" %>
<asp:MultiView ID="mvGateway" runat="server" ActiveViewIndex="0">
    <asp:View ID="vShow" runat="server">
        <asp:Label ID="lblGateway" 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="txtGateway" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="rfvGateway" runat="server" Text="*" ControlToValidate="txtGateway"
            ErrorMessage='Gateway address is required.'
            ValidationGroup="Gateway"></asp:RequiredFieldValidator>
        <asp:Button ID="btnModify" runat="server" class="btn btn-primary waves-effect btnAction" ValidationGroup="Gateway"
            Text="<%$ Resources:Content, GN0001189 %>"  />
        <asp:Button ID="btnCancel" runat="server" SkinID="cancelButton" CausesValidation="false"
            Text="<%$ Resources:Content, GN0000572 %>"  />
        <asp:RegularExpressionValidator ID="REV_txtGateway" runat="server" ErrorMessage='Gateway Address format is invalid. Valid Example : 172.16.100.1'
            ControlToValidate="txtGateway" 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="Gateway"></asp:RegularExpressionValidator>
    </asp:View>
</asp:MultiView>
<asp:ValidationSummary ID="VS_ModifyGateway" ValidationGroup="Gateway" DisplayMode="BulletList"
    ShowSummary="false" ShowMessageBox="true" HeaderText="<%$ Resources:Content,SMI749%>"
    runat="server" />
