Click here to Skip to main content
16,017,650 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am try to call a parent page control from user control.How can set a property of a control in the parent page from user control page.
Posted
Comments
BillWoodruff 28-Nov-11 4:29am    
Is this WinForms ? ASP.NET ? WPF ? The use of the word "page" suggests something web-related.

And what is the control whose property you wish to set, and what is the property ?

I don't know exactly what you mean.

Is this from an application? If so, there is a parent property on the UserControl property, which gives you the host control. Use that to grab the property you want.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900