Panel problem

  • Thread starter Thread starter acko bogicevic
  • Start date Start date
A

acko bogicevic

Hi
I have three panels on page and every panel contains a few controls.
How can i move panels through code on the other position on page.
I want to click a button and one panel to be visible and the other not.
There is a property Visible and it is easy but how can i change
something like Top, left...
Thanks
Aleks
 
Acko,

Top and left positions are controlled with style tags.

You could set the style tags via the panels Attributes method.

It would look something like:

Panel1.Attributes.Add("style", "Z-INDEX: 101; LEFT: 160px; POSITION:
absolute; TOP: 208px")

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
Back
Top