How to make webcontrols public in asp.net 2.0

E

egholm

Hey

I have just upgraded to VS.NET 2005 and have a question.
How do I make a .NET Placeholder control public in VS.NET 2005?

In VS.NET 2003 I inserted the placeholder control and set this line in
my code behind:

public System.Web.UI.WebControls.PlaceHolder regionComments;

But the line above is hidden i VS.NET 2005. How do I access this
definition line, so I can change it from protected to public?

Thanks.

Jacob
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

View the properties for the control in the designer. There you should be
able to change the modifier.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top