Solved

WebForms Components Sizes

Posted on 2004-08-19
4
169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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