| |

VerySource

 Forgot password?
 Register
Search
View: 617|Reply: 3

Page value problem ????

[Copy link]

2

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-7 01:00:02
| Show all posts |Read mode
How do I get the value of the html control in the .CS file, I can't remember it, it seems like findControl ("id")
I did not find the information, please advise me !!!
Reply

Use magic Report

0

Threads

64

Posts

45.00

Credits

Newbie

Rank: 1

Credits
45.00

 China

Post time: 2020-3-27 10:15:01
| Show all posts
Button bt = (Button) Page.FindControl ("Id");
Reply

Use magic Report

2

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-11 19:45:01
| Show all posts
Mine is html control this method can only find server control
How to find html in .cs and take out his value
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-7-12 02:15:01
| Show all posts
Loop all the controls on the page to find the name
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