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
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!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
"acko bogicevic" <aconi2002@.yahoo.com> wrote in message
news:edpPHf2sDHA.2432@.TK2MSFTNGP10.phx.gbl...
> 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
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
Thanks
acko
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment