469,299 Members | 2,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

Resize Content Place Holder in ASP.NET 2.0?

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
5 10723
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
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
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
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
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.

Similar topics

6 posts views Thread by David Hayes | last post: by
reply views Thread by MasterChief | last post: by
1 post views Thread by lamuerte451 | last post: by
1 post views Thread by Mel | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.