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

  • Home
  • SEARCH
  • 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 6146259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:55:18+00:00 2026-05-23T18:55:18+00:00

I have an issue with the following text display: <asp:RegularExpressionValidator ID=Password_RegularExpValidate runat=server Text=TEST! Display=Dynamic

  • 0

I have an issue with the following text display:

<asp:RegularExpressionValidator ID="Password_RegularExpValidate" runat="server" 
     Text="TEST!" 
     Display="Dynamic" 
     BorderStyle="None" 
     ControlToValidate="txtNewPass" 
     ValidationExpression="(?=^.{8,255}$)((?=.*\d)(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[^A-Za-z0-9])(?=.*[a-z])|(?=.*[^A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9]))^.*" 
     meta:resourcekey="Password_RegularExpValidateResource1" /></td>

The pattern by itself is:

(?=^.{8,255}$)((?=.*\d)(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[^A-Za-z0-9])(?=.*[a-z])|(?=.*[^A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9]))^.*

The text initially had some stuff in it as the ValidationExpression was different. I’ve changed the regex expression and that works, but when I write something in Text= it doesn’t update on the page. I’ve restarted IIS, cleard the IE chache… everything I could think of. The old text keeps appearings (ie. “TEST!” doesn’t show up when the validation fails as it should).

Any help would be appreciated.

Edit:

The code for txtnewpass:

<asp:TextBox ID="txtNewPass" runat="server" 
     TextMode="Password" 
     MaxLength="256" 
     meta:resourcekey="txtNewPassResource1"></asp:TextBox>

Also, it’s worth noting that I can remove an entire table from a page that it disappears when I reload the page. But when I change text values from controls or anything that runat=”server” and the page doesn’t seem to update with the text….

And the code behind doesn’t edit the field that displays, the validator validates the text in the textbox and uses that value later.

Edit 2: Same thing happening with –

<asp:Label ID="Label1" runat="server" 
     Text="Change Password!!!!!" 
     meta:resourcekey="Label1Resource1"></asp:Label></td>

I’ve added the exclamation marks (!!!!!) and that’s not showing up when I refresh the page either…..

Edit 3: As I’ve noted in one of the comments, if I delete a table from the page and reload the page, that table disappears, so I know the page is reloading properly. The runat=”Server” property, does that work a certain way where it caches text or something? I’m out of ideas….

  • 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-23T18:55:19+00:00Added an answer on May 23, 2026 at 6:55 pm
    1. Like Kirill said, use ErrorMessage instead of Text.

    2. But the main problem is, I think, your localization, which is handled through the meta:resourcekey tag and resources.
      Here is a good explanation:
      ASP.NET meta:resourcekey

    If you set automatically or manually the resource localization file and change something afterwards, for example a Label Text property, then you need to do it in the resource file too. Because there should be your initial value, which is loaded at runtime.

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

Sidebar

Related Questions

I have the following code in my aspx page: <asp:Button runat=server ID=myButton Text=hello />
I have the following issue using java 1.4 I try to display a very
I'm trying to adress the following issue: I have a server side .net application
I'm building a grid in ASP.NET MVC and I have the following issue: Above
I have the following issue related to iterating over an associative array of strings
I have the following issue and I would like to know what exactly happens.
I have the following issue with a UTF8 files structured as following: FIELD1§FIELD2§FIELD3§FIELD4 Looking
I'm just starting with Object Oriented PHP and I have the following issue: I
Please help regarding the following issue. I have enabled the Block popup option in
I am having following issue with reading binary file in C. I have read

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.