I have two pages in aspx in 1 page I have 2 dropdownlist drptype & drpsubname. Here I need help that when I select A from drptype then only A1, A2 should be shown in drpsubname & when I select B from drptype then only B1,B2 should be shown in drpsubname.
After this when I enter any sentence in Paragraph1 then it should get saved after click save button.
<div class="col-md-6">
<label>Type</label>
<asp:DropDownList ID="drptype" runat="server" CssClass="form-control" placeholder="Link">
<asp:ListItem> A </asp:ListItem>
<asp:ListItem> B </asp:ListItem>
</asp:DropDownList>
</div>
<div class="col-md-6">
<label>Type</label>
<asp:DropDownList ID="drpsubname" runat="server" CssClass="form-control" placeholder="Link">
<asp:ListItem> A1 </asp:ListItem>
<asp:ListITem> A2 </asp:Listitem>
<asp:ListItem> B1 </asp:ListItem>
<asp:ListITem> B2 </asp:ListItme>
</asp:DropDownList>
</div>
<div class="col-md-12 mg">
<label>Paragraph1</label>
<asp:TextBox ID="txt_paragraph1" runat="server" CssClass="form-control" placeholder="Please Enter Your Paragraph " TextMode="MultiLine" Height="90"></asp:TextBox>
</div>