I need to make the place holder visible and invisible with link button but it is not working not like a normal button when I click on it
please help
- <asp:LinkButton ID="link1" runat="server" Text="Forgot Password?"
- OnClick="link1_Click">
- </asp:LinkButton><br />
- <asp:PlaceHolder ID="typeEmail" runat="server" Visible="false">
- <asp:TextBox ID="textbox1" Visible="false" runat="server" AutoComplete="off">
- </asp:TextBox>
- </asp:PlaceHolder>
-
-
- code behind
- protected void link1_Click(object sender, EventArgs e)
- {
- typeEmail.Visible = true;
- textbox1.Visible = true;
- }
-