473,626 Members | 3,325 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10878
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.goo glegroups.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 ContentPlaceHol der 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.goo glegroups.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 contentplacehol der 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.goo glegroups.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 contentplacehol der 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********@dis cussions.micros oft.com> wrote in message
news:AD******** *************** ***********@mic rosoft.com...
If you don't have control of the size of the contentplacehol der 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.goo glegroups.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 contentplacehol der 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********@dis cussions.micros oft.com> wrote in message
news:AD******** *************** ***********@mic rosoft.com...
If you don't have control of the size of the contentplacehol der 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.goo glegroups.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
1620
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
5631
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 AM): > > >I want to maximize the browser window when I open a new window. > > function expand() { > window.moveTo(0,0); > window.resizeTo(screen.availWidth, screen.availHeight); > }
0
1145
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 can click on to print just what is in the content place holder?
1
4820
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 master page and then have placed Gridview and details view on the corresponding pages that the users will add records to. I am using a sql data source. My question is, how do I set the web page (content place holder) to automatically expand/resize to accommadate the addition of new records. ...
0
1924
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 control when ever the menu is clicked the particular page shuold be displayed in the content palce holder
0
1199
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 business operation can be done. In the banner of the master page, I'd like to allow the designer to add some portion of UI. So I add a second placeholder in the banner. The problem is that this
2
4924
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 dynamically control content. What I would like to know is if and how it is possible to have a holder.swf (just looks for variables to display the flv) that can automatically resize based on the flv dimensions. I dont want any kind of browserscreen resolution resizing of content, just an swf that will...
1
1312
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 a master page with a content section representing the "body" of the page. Mel (Asp.net 2.0, Visual Basic, WinXP Pro SP2)
2
9614
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 Cascading Style Sheet file which is being refered by the master page file as follws "<link href="myStyleSheet.css" rel="Stylesheet" type="text/css"/>" Part of the Style sheet as follows: .textbox
0
8266
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8199
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8365
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2626
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.