TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Joma Rajab
NA
110
51.3k
how to make linkbutton hide and show place holder
Aug 22 2016 10:21 AM
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
;
}
Reply
Answers (
9
)
Desktop Application
How to show multiple database table data in one view in MVC