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 write code behind for hyper link tag
Aug 26 2016 9:44 AM
I am trying to use hyperlink tag and I need to write code behind for that , which shows and hide place holder when I click the link
please help
Thanks
<asp:HyperLink id=
"linkbtn"
runat=
"server"
Text=
"Forgot Password?"
OnClick=
"link1_Click"
></asp:HyperLink>
<asp:PlaceHolder ID=
"typeEmail"
runat=
"server"
Visible=
"false"
>
<asp:TextBox ID=
"textbox1"
Visible=
"true"
runat=
"server"
AutoComplete=
"off"
>
</asp:TextBox>
</asp:PlaceHolder>
protected
void
link1_Click(
object
sender, EventArgs e)
{
typeEmail.Visible =
true
;
textbox1.Visible =
true
;
}
Reply
Answers (
3
)
How to generate mvc application token to pass to Web Api.
Hidden value inside Web Method