Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 537221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:54:14+00:00 2026-05-13T09:54:14+00:00

I have a Change Password page that has a H2 HTML tag that says

  • 0

I have a Change Password page that has a H2 HTML tag that says “The password has been successfuly changed”. This H2 tag, however, needs to be visible only on success. That is: I want to manually activate it (Visible=true) in the “Change password” button click postback event.

The question is: What’s the best way to control this H2 tag visibility via code-behind?

I thought of adding it to a PlaceHolder control so that I can change it’s visible property but it does not seems right as it’s not the purpose of the control.

PS: I don’t want to add it to a panel as the panel will add additional markup to the rendered page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:54:15+00:00Added an answer on May 13, 2026 at 9:54 am

    I’m fairly certain as long as you have an id attribute and runat="server", that you can access the tag by name and set Visible to true or false.

    I did this with a table row (plain old <tr>) in one of my apps.

    Edit – to clarify, I do mean “access the tag by name” in your code-behind.

    Like, myHeader.Visible = true;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a change password page that needs to hash any passwords entered on
I recently changed my password and have to change my maven settings.xml file to
I have a user model that requires the user to change their password every
In this blog, http://www.bswebdev.com/2008/12/javascript-change-input-box-type-to-password/ I have found the following snippets for fixing change input
So, I have a simple login page that has a light green background, and
I am having a change password page in that when the user change his
I have a static HTML page that allows the user to log in and
i would like to have a page where i can change passwords. me should
I have a change password script in PHP and I want to do is
I'm trying to put together a change password feature in Symfony2. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.