WebForms Components Sizes

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
Pete2003Asked:
Who is Participating?
 
msdixonCommented:
you need to make a web control library to do that. otherwise you just get the gray rectangle with the object name.
0
 
Pete2003Author Commented:
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
 
msdixonCommented:
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
 
Pete2003Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.