This is a migrated thread and some comments may be shown as answers.

[Solved] How to change another page's control property

0 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
liu qingshui
Top achievements
Rank 1
liu qingshui asked on 04 Mar 2010, 03:31 AM
Now I got a problem that I didn't know how to change another page's control property.
I tried below, but it didn't work.

Label label = (Label)Page.FindControl("chkSpecial"); // I want to change a  label control's Enabled propety,but this control is 
lable.Enabled = true;                                                   //  in another page,I don't know how to find the control in another page.

Thank your kind help!

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
liu qingshui
Top achievements
Rank 1
Share this question
or