Solved

WebForms Components Sizes

Posted on 2004-08-19
4
167 Views
Last Modified: 2010-05-18
Hi All,

I need some help here ...

I have made a ASCX component ... I can drag it onto a web page at design time and it works 100% ...

The problem comes in that I can't see where the componentsits on the page ... especially if I have 3-4 components .. then I have no idea of the layout .. the only thing I can do is try and mix and match and I have to run the project every time to see the final result ...

Is there a way of seeing the component fully on the page .. not only the little rectangle in the top of the page ...

I don't even need to see what's on the component, just the size and the position ...

Txs
Peter
0
Comment
Question by:Pete2003
  • 2
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
msdixon earned 250 total points
ID: 11843246
you need to make a web control library to do that. otherwise you just get the gray rectangle with the object name.
0
 

Author Comment

by:Pete2003
ID: 11843831
Ok can you expand on that please .. I can put the objects into a web control library but it doesn't change anything ...
I tried it and it just puts the component name on the screen ...

0
 
LVL 9

Expert Comment

by:msdixon
ID: 11846730
you have to re-write them in the web control library project. build it, then reference it in the toolbox by browsing to the newly compiled dll. drag from the toolbox and there you have it.
0
 

Author Comment

by:Pete2003
ID: 11868095
I have moved the components into a web library .. but when I use them it still just gives me the little rectangle and not the whole component on screen ...
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question