CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/28/2006 10:20:23 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
Tuntoo
Asp.Net User
Can not resize or position the controls in VS 20054/28/2006 10:20:23 AM

0/0

Hi,

I can?t resize or position the controls in the design view using mouse in Visual Studio 2005.

 

Could you please let me know what am I missing?

 

Regards,

Tuntoo

James Steele
Asp.Net User
Re: Can not resize or position the controls in VS 20054/28/2006 2:37:47 PM

0/0

Hi Tuntoo,

You can use absolute positioning by selecting Layout | Position | Auto-positions Options in the menu. Make sure you are in design mode though. You will see your available options there.

Alternatively, you could go to Tools | Options and in the HTML designer you can select CSS Positioning.. and you will get the same options.

That should do it.

James Steele

Tuntoo
Asp.Net User
Re: Can not resize or position the controls in VS 20054/28/2006 4:10:18 PM

0/0

Hi James,

Thanks for your reply. I can position or resize the controls.

Could you answer the following 2 questions as well?

1. Why can't I do the same to ContentPlaceHolder controls in my master page?

2. Just like water takes the shape of bottle, ContentPlaceHolder is taking the shape of its contents in it, though it is embedded in <td>. Is there a way to set fixed dimensions and position?

Thanks very much,

Tuntoo

 

James Steele
Asp.Net User
Re: Can not resize or position the controls in VS 20054/28/2006 4:39:31 PM

0/0

Tuntoo,

Let me try and address both your questions with one answer. Insert the ContentPlaceHolder in a DIV tag and use the Style attribute to position as you wish: 

<div style="left: 100px; width: 100px; position: absolute; top: 100px;  height: 100px;">
    <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
    </asp:contentplaceholder>
</div>

Have fun.

James Steele

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Visual Basic 2005: How to Program Authors: Harvey M. Deitel, Pages: 1513, Published: 2006
Visual C# 2005: How to Program Authors: Harvey M. Deitel, Paul J. Deitel, Pages: 1591, Published: 2006
C# for Programmers: Updated for C# 2.0 Authors: Paul J. Deitel, Pages: 1317, Published: 2005
Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath Authors: Eric Carter, Eric Lippert, Pages: 992, Published: 2006
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Expert One-on-One Visual Basic 2005 Design and Development Authors: Rod Stephens, Pages: 620, Published: 2007
Expert F# Authors: Don Syme, Adam Granicz, Antonio Cisternino, Pages: 609, Published: 2007
Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005 Authors: Matthew MacDonald, Pages: 1036, Published: 2006
Visual Basic 2005 with .NET 3.0 Programmer's Reference: Programmer's Reference Authors: Rod Stephens, Pages: 1200, Published: 2007
Professional VB 2005 Authors: Bill Evjen, Billy Hollis, Rockford Lhotka, Tim McCarthy, Rama Ramachandran, Kent Sharkey, Bill Sheldon, Pages: 1066, Published: 2006

Web:
CodeProject: TabStrips: A TabControl in the Visual Studio 2005 way ... Now, TabPage is a container control too, but can accept all kinds of .... which do not resize/repaint themselves correctly when using this control [and ...
Using Visual Studio 2005 to Design User Interfaces and Data for ... Even though the resizing behavior during runtime has not changed, .... Visual Studio 2005 can help you convert unsupported controls to supported controls. ...
Mikhail Arkhipov (MSFT)'s WebLog : Absolute and relative ... It is not relative to the parent control. Instead, relative position ... The label positioning bug is a pain and I have gone back to VS 2005 because of this ...
Klik! SizeLib.NET - Summary Some controls, like TabControl, does not resize their client area ... Compatible Containers: Microsoft Visual Studio 2005, Microsoft Visual Studio . ...
.NET Questions - Centering a label (Visual Studio 2005) Note that this can not be done in the label's text changed event because the ... As you resize the form you should be able to see that this new control ...
ContentPlaceHolder Problem - Application Development Forum I cannot move or resize the control at all in the IDE, and cannot ... Is there a bug in VS 2005 with this control or am I missing something? ...
Re: Resolution changes with VS2005 VS2003 and VS2005". I didn't get too many bites, but the following maybe ... One is to place the picture controls so they can be easily resized without ...
CodeIdol - Thinking about Microsoft Visual Studio 2005 - Building ... Form resize effects on design. This appearance is clearly not what was intended; ... By anchoring and docking your controls, you can dictate their position ...
Developing Orientation Aware Smart Device Applications Oct 4, 2004 ... The Visual Studio 2005 form designer is not limited to just rotating ... can use the event to manually position each individual control. ...
Resize Vb Controls - The fastest VB form resizer control The ... Works (sort of) Very simple to use, but it does not resize everything on your form. ... Controls can be resizable and dragable at runtime. Requirements: . ...




Search This Site:










ms sql and iis are in differnt servers. can i use integrated windows authentication?

still the same problem

another security issue

.net with sql server hosting

getting application name

treeview checkbox problem

creating global file.... web user control?

page title text

download webpage

new browser window or tab?

page size question

features questions/support of webservices

masterpage question

can <asp:textbox> control set to be a hidden field under html page?

tabbed pane

membership - how to check if a user is online from the database?

ssl by mail

getting started with vwd

3.0.12: portals issue

simple guestbook: problem inserting new data.

preinit in usercontrol

web.config problems

firefox not rendering correctly

web site administrator tool

job opp: looking for dnn developer in dallas/ft. worth area (now)

help! error with adduser function

webhost4life

images in css do not show on on the menu control in masterpage

when does vwd lock the file in the editor?

css and submenu problem!

 
All Times Are GMT