Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have following div with its contend,
ASP.NET
<div class="form-group" id="newcodediv">
            <label class="col-sm-2 control-label">
                Code: 
            </label>
            <div class="col-sm-3">
                <asp:TextBox CssClass="form-control" runat="server" ID="txtcode" Required="required" />
                <asp:RegularExpressionValidator runat="server" ID="revcode" Display="Dynamic" ControlToValidate="txtcode" ErrorMessage="Digits Only" ValidationExpression="^[0-9 ]+$"></asp:RegularExpressionValidator>
            </div>
            <label class="col-sm-2 control-label">
                Fine: 
            </label>
            <div class="col-sm-3">
                <asp:TextBox CssClass="form-control" runat="server" ID="txtfine" Enabled="false" Required="required" />
                <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator2" Display="Dynamic" ControlToValidate="txtContactNo" ErrorMessage="Digits Only" ValidationExpression="^[0-9 ]+$"></asp:RegularExpressionValidator>
            </div>
                        <asp:Button ID="newcode" runat="server" Text="AnotherCode" CssClass="btn  btn-blue" OnClick="newcode_Click" />
        </div>
       <asp:Panel ID="Panel1" runat="server"></asp:Panel>
    </div>

my requirement is that when user one or more time on the button base on number of click,that div created in the panel below the orignal div
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900