| |

VerySource

 Forgot password?
 Register
Search
View: 746|Reply: 2

Two questions ~

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-24 10:30:01
| Show all posts |Read mode
Failure to dynamically load the user control for some form operations will result in the loss of ViewState. What should I do? ? ?

What else is there to do with a TextBox so that only four Chinese characters or less than eight English characters can be entered?

Web
Reply

Use magic Report

1

Threads

60

Posts

37.00

Credits

Newbie

Rank: 1

Credits
37.00

 China

Post time: 2020-7-5 12:45:02
| Show all posts
1. No! ispostback
2. if(a.value.replace(/[^\x00-\xff]/g,"**").length>8)
      {
         alert("Cannot be greater than 4");
         return false;
      }
      else
      {
         return true;
      }
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 China

Post time: 2020-7-19 15:15:01
| Show all posts
Failure to dynamically load user controls to do some form operations will result in the loss of ViewState. What should I do? ? ?
——————————————————————————————————————————
Can anyone tell how you load dynamically?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list