[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

WebForms Components Sizes

Posted on 2004-08-19
4
Medium Priority
?
177 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 1000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

872 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