By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Resize Content Place Holder in ASP.NET 2.0?

P: n/a
I must be the dumbest ASP.NET 2.0 developer, because despite many
different attempts, I am unable to resize a content place holder in the
master page...

Can anyone clue me in? It seems that the "resize grip handle" won't
move despite I try pulling, pushing, kicking, punching, screaming.

What am I missing here?

Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Nothing to resize there. The content place holder size it determined by the
size of the content in your content pages. If you look at the properties for
the content placeholder, you will see that there are not size properties.

You can change the ID, ViewState and Visible properties.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
<an*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I must be the dumbest ASP.NET 2.0 developer, because despite many
different attempts, I am unable to resize a content place holder in the
master page...

Can anyone clue me in? It seems that the "resize grip handle" won't
move despite I try pulling, pushing, kicking, punching, screaming.

What am I missing here?

Nov 20 '05 #2

P: n/a
I saw this in Beta 2. I think the ContentPlaceHolder sizes itself to the
content it contains. You might be able to test this using an hr element with
a size="100%" value.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
<an*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I must be the dumbest ASP.NET 2.0 developer, because despite many
different attempts, I am unable to resize a content place holder in the
master page...

Can anyone clue me in? It seems that the "resize grip handle" won't
move despite I try pulling, pushing, kicking, punching, screaming.

What am I missing here?

Nov 20 '05 #3

P: n/a
If you don't have control of the size of the contentplaceholder controls in
the master page, then your individual pages will not look the same. How do
you get around this?

"Andrew Robinson" wrote:
Nothing to resize there. The content place holder size it determined by the
size of the content in your content pages. If you look at the properties for
the content placeholder, you will see that there are not size properties.

You can change the ID, ViewState and Visible properties.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
<an*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I must be the dumbest ASP.NET 2.0 developer, because despite many
different attempts, I am unable to resize a content place holder in the
master page...

Can anyone clue me in? It seems that the "resize grip handle" won't
move despite I try pulling, pushing, kicking, punching, screaming.

What am I missing here?


Nov 20 '05 #4

P: n/a
Place the contentplaceholder inside a <td>,
and set the <td> to the size you want.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"NeedToKnow" <Ne********@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
If you don't have control of the size of the contentplaceholder controls in
the master page, then your individual pages will not look the same. How do
you get around this? "Andrew Robinson" wrote:
Nothing to resize there. The content place holder size it determined by the
size of the content in your content pages. If you look at the properties for
the content placeholder, you will see that there are not size properties.

You can change the ID, ViewState and Visible properties.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
<an*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
>I must be the dumbest ASP.NET 2.0 developer, because despite many
> different attempts, I am unable to resize a content place holder in the
> master page...
>
> Can anyone clue me in? It seems that the "resize grip handle" won't
> move despite I try pulling, pushing, kicking, punching, screaming.
>
> What am I missing here?
>


Nov 20 '05 #5

P: n/a
Already tried this and it does not work. You can size it in the actual page,
but it does not seem to have any effect if I do it in the MasterPage

"Juan T. Llibre" wrote:
Place the contentplaceholder inside a <td>,
and set the <td> to the size you want.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"NeedToKnow" <Ne********@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
If you don't have control of the size of the contentplaceholder controls in
the master page, then your individual pages will not look the same. How do
you get around this?

"Andrew Robinson" wrote:
Nothing to resize there. The content place holder size it determined by the
size of the content in your content pages. If you look at the properties for
the content placeholder, you will see that there are not size properties.

You can change the ID, ViewState and Visible properties.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
<an*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
>I must be the dumbest ASP.NET 2.0 developer, because despite many
> different attempts, I am unable to resize a content place holder in the
> master page...
>
> Can anyone clue me in? It seems that the "resize grip handle" won't
> move despite I try pulling, pushing, kicking, punching, screaming.
>
> What am I missing here?
>


Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.