Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How to write code behind for hyper link tag
Joma Rajab
Aug 26 2016 9:44 AM
280
Reply
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
;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
please convert the below sql code to linq
Hidden value inside Web Method