Solved

WebForms Components Sizes

Posted on 2004-08-19
4
166 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now