Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ContentPlaceHolder in User Control?

Status
Not open for further replies.

mwa

Programmer
Jul 12, 2002
507
US
From what I understand, it is not possible to use a ContentPlaceHolder outside of a MasterPage. But I would like to be able to create user Control that has an area that is similar to a ContentPlaceHolder. In this content area, I would like to add various different controls, based on the page. What options do I have? Could I use a placeholder and dynamically add controls at runtime? Any other thoughts?

Thanks,

mwa
<><
 
Could I use a placeholder and dynamically add controls at runtime? Any other thoughts?
yes, that is the purpose of the place holder control.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
 
Got it... Thanks!

mwa
<><
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top