Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
9
Reply
how to make linkbutton hide and show place holder
Joma Rajab
Aug 22 2016 10:21 AM
297
Reply
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
;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
9
)
Next Recommended Forum
write this program in c#?
How to show multiple database table data in one view in MVC