Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Panel Position

Reply
Thread Tools

Panel Position

 
 
Thom Little
Guest
Posts: n/a
 
      06-10-2004
Using the Visual Studio .NET 2003 designer there does not seem to be any
method for controlling the placement of a panel on a form.

Are you expected to embed the panel in a table in order to control its
placement on the form or is there something blatantly obvious that I am
overlooking?

The panel in question is the basis for an .ascx user control. It insists on
being at location
0,0 (1,1?) and can not be moved.

When the control is included in an .aspx page it positions itself in the
same place (0,0) and refuses to be moved.

The only solution I could think of was to create a table with one row and
one column and then position the table where I want it. This introduces
some formatting issues.

--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--



 
Reply With Quote
 
 
 
 
T-Bone
Guest
Posts: n/a
 
      06-11-2004
Set the properties from you DOCUMENT to GridLayout.
Or create a GridLayoutPanel and put it in there.


"Thom Little" <> wrote in message news:<>...
> Using the Visual Studio .NET 2003 designer there does not seem to be any
> method for controlling the placement of a panel on a form.
>
> Are you expected to embed the panel in a table in order to control its
> placement on the form or is there something blatantly obvious that I am
> overlooking?
>
> The panel in question is the basis for an .ascx user control. It insists on
> being at location
> 0,0 (1,1?) and can not be moved.
>
> When the control is included in an .aspx page it positions itself in the
> same place (0,0) and refuses to be moved.
>
> The only solution I could think of was to create a table with one row and
> one column and then position the table where I want it. This introduces
> some formatting issues.

 
Reply With Quote
 
 
 
 
Thom Little
Guest
Posts: n/a
 
      06-11-2004
I should have been more precise ... I was using Grid Layout and the user
control insists on positioning at (0,0).

Perhaps this is the way it is supposed to work and you must always package
it in a controlling element of some form (like a table).

"GridLayoutPanel" works. The control insists on moving to (0,0) of that
panel but I can position the panel containing the control where I please on
the page.

Thanks for the lead.

--
-- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd.
--

"T-Bone" <> wrote in message
news: om...
> Set the properties from you DOCUMENT to GridLayout.
> Or create a GridLayoutPanel and put it in there.
>
>
> "Thom Little" <> wrote in message

news:<>...
> > Using the Visual Studio .NET 2003 designer there does not seem to be any
> > method for controlling the placement of a panel on a form.
> >
> > Are you expected to embed the panel in a table in order to control its
> > placement on the form or is there something blatantly obvious that I am
> > overlooking?
> >
> > The panel in question is the basis for an .ascx user control. It

insists on
> > being at location
> > 0,0 (1,1?) and can not be moved.
> >
> > When the control is included in an .aspx page it positions itself in the
> > same place (0,0) and refuses to be moved.
> >
> > The only solution I could think of was to create a table with one row

and
> > one column and then position the table where I want it. This introduces
> > some formatting issues.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is there no "Java Control Panel" for J2EE v5upd14 ? Reinstall Java Control Panel possible? Ulf Meinhardt Java 0 07-07-2009 08:38 AM
Swing, JTabbedPane/Panel/Panel JC Java 1 08-09-2006 09:44 PM
Delete a panel inside a panel (2) HS1 Java 4 12-08-2004 02:48 AM
Delete a panel inside a panel HS1 Java 3 12-07-2004 10:50 PM
Email From Forms with asp:panel.(s) Only one panel works? Harry ASP .Net 3 11-10-2003 03:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57