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: 7/5/2007 4:15:50 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 37 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
dmcdivitt
Asp.Net User
prevent IDE from automatically adding height or width7/5/2007 4:15:50 PM

0/0

On occasion I look back through the page source and see where the IDE has added width or height style attributes. This is a great nuisance. Sometimes it will change width or height percentage values I manually enter and they don't even add up to 100% anymore. I must remember to search for width and height on occasion, putting things back how they should be. Is there a way to disable this behavior?

ravivb.net
Asp.Net User
Re: prevent IDE from automatically adding height or width7/5/2007 5:02:09 PM

0/0

Are you using the GridLayout?

check this article http://aspnet.4guysfromrolla.com/articles/032704-1.aspx

 


blog.budigelli.com
dmcdivitt
Asp.Net User
Re: prevent IDE from automatically adding height or width7/5/2007 5:54:39 PM

0/0

The article was interesting. Though I'm an expert at VB6, I never did earlier versions of dot net, and am using express 2005. The article mentions grid and flow layouts. In VWD 2005 I'm unable to find anything regarding this directly, but I did find a config option at tools/options/html_designer/css_positioning. I set "positioning options" to "no positioning attribute". The value "static" is said to correspond to flow layout. There is also the value "no positioning attribute", and I can't visualize any difference between the none value and static. I don't know if setting a value will stop the thing from making width and height style attributes. A top or left attribute has never been set, only width and height. If this fixes my problem after a few days, I will come back and show your reply as the answer.

dmcdivitt
Asp.Net User
Re: prevent IDE from automatically adding height or width7/6/2007 7:50:00 PM

0/0

This did not work. Width and height styles are still being added to the HTML on occasion.

dmcdivitt
Asp.Net User
Re: prevent IDE from automatically adding height or width7/24/2007 4:03:04 PM

0/0

I finally figured this out. Setting tools/options/html_designer/css_positioning to "no positioning attribute" eliminates some of the problem, and should be done. The remainder of the problem is caused by accidentally dragging controls on the form. The mouse pointer does not behave properly in Visual Web Developer. When I try to drag the window scroll bar, I try to pay attention and make sure it's an arrow, but more than half the time the pointer is a resize or move shape. Even though the mouse is over the window scroll bar, it retains resize/move functionality from the last control it passed over. Because I have page margins set to zero, and because view controls span the entire width, the IDE carries resize/move over onto the scroll bar. When I want to scroll I must move the mouse around, watching the pointer twitch and assume different shapes, and only when it's an arrow, attempt clicking on the scroll bar. This is a severe pain and nuisance. Obviously I have seen that the window will not scroll unless the pointer has the correct shape. What I did not know was when I clicked and attempted to scroll with the wrong shape, I was doing a resize/move function. Because controls remain aligned to the grid they don't actually change, but the action is enough to make the IDE place width or height attributes on the control.

I guess I just have to pay more attention, as if things aren't tedious enough. If enough people mention they are having this problem, maybe Microsoft will address the issue in a future version. Resize/move functionality for controls should go away if in proximity of the window scroll bar, or a "lock controls" checkbox should exist for the page similar to what we had with VB6.

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


Free Download:

Books:
C# for Artists: The Art, Philosophy, and Science of Object-Oriented Programming Authors: Rick Miller, Pages: 0, Published: 2008
Interior Cost Data 2006 Authors: Barbara Balboni, Pages: 726, Published: 2005

Web:
EhLib 3.4 --------- The Library contains components and classes ... Automatic column resizing to set grid width equal client width. .... or EhLib from IDE and remove or copy this files to other directory to prevent crossing ...
Is there a way to prevent the VB6 compiler from shuffling the ... One possible way to handle this could be to write an IDE add-on that automatically does this ... Control coordinates, such Top, Left, Height, and Width, ...
Documentation For IDE When adding EuGrid control, IDE will automatically add to Manage Include ...... User may change row, column, width and height of any cell via Properties but ...
Exploring Visual Web JSF Components - NetBeans 6.1 Tutorial May 21, 2008 ... When you add a Breadcrumbs component, the IDE automatically adds a ... If you need to set a specific height or width for the component, ...
Gambas Dev 1.9.91 (Release candidate) — GAMBAS, RAD and IDE for Linux BUG: New translations are automatically removed in the translation dialog if they .... NEW: 'W' and 'H' page properties as synoymous of 'Width' and 'Height' ...
Sun Java Studio Creator 2 - Tutorials - Delving into Components When you resize a component, the IDE adds width and height settings to the style ..... When you add a Breadcrumbs component, the IDE automatically adds a ...
Curl - Curl IDE 5.0.1002 Release Notes (Use {add-stretch} for the width and height of the Frame to force it to .... you to specify that the IDE will automatically update the resync-as-of time to ...
Release Notes - REALbasic: 2008r4 3501: Add a way to automatically adjust TabIndexes. Added an Auto Adjust TabIndexes ... IF all of top left height and width are invalid they are reset to 0 ...
Environment (IDE) \ Processing 1.0 (BETA) and that text would automatically be embedded in the exported html page. .... The "screen" variable will be initialized with the width and height of your ...
VBA Tips & Tricks: Get the Height & Width of Shapes / Figures in ... Jul 8, 2007 ... Height & Width of Shapes / InlineShapes in Word Document (Word VBA) ... Add custom buttons to get the information you care about most. ...




Search This Site:










how do i get at the field values after the .fill

problems connecting to database from web app

create a virtual directory in iis using code

dnnmasters ms kb article suite released today

page cannot be found error when using asp.net application from other machine

user control menu

forgot password but email not working

good blog module?

passing data through a button

migration tool

is the viewstate of the control maintined when visible=false

excel object library in .net

issues with compiling dnn using getlatestversion from vault repository

dynamicpdf

the project location is not fully trusted by the .net runtime...

can vb/c#/j# .net create professional report?

asp .net 2.0 module compatiblity

multiple blog configuration - aggregator page cannot see blogs

forms authentication problem

error: language editor is currently unavailable.

error while deleting files.

isinrole not working

web parts - controls and rendering

gridview: oracle database

how to insert loginname's data into database?

sending e-mail

code behind not running

configuring asp.net 2.0 to connect to the aspnetdb database in sql server 2005

argumentexception on image.save

multiple applications in forms authentication environment

 
All Times Are GMT