472,353 Members | 1,192 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

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 10818
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: nag | last post by:
I want to add a multiple attachment place holder control in content management server 2002 template.Pl suggest how do I do this??????
6
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12...
0
by: MasterChief | last post by:
I have a content place holder that is showing the summary of a sale. Is there a way to create a button in the content place holder that the person...
1
by: lamuerte451 | last post by:
Hi: I am a newbie to asp.net 2.0 and am building an app with VS 2005 that will allow users to update records via the web. I have created a...
0
by: arunpillai | last post by:
hi guys, My problem is i need to display different html page in content place holder just like how we will be doing in the frames. I have a menu...
0
by: Steve B. | last post by:
Hi, I'm building a web application that is based on contentplaceholders and master page. Each page has a central contentplaceholder where the...
2
by: waterox | last post by:
Hi, I would like to build a .flv player which can accommodate 7 different video sizes. This will probably be made using php and xml to...
1
by: Mel | last post by:
How do I put my tree view control inside a content place holder? I drag it there but it doesn't seem to appear in the correct spot. P.S - I have...
2
by: greenMark | last post by:
Hi All, I'm relatively new to ASP.NET and Visual Web Developer 2008. I'm using a Master page with one content place holder. There is a...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.