Moving Controls @ Runtime

G

Guest

Hello,
basically I want to be able to determine the height of a panel at runtime on
a webform. The only value I can squeeze out of the control properties is the
height that is set at design time. I know the height differs because
controls within the panel are dynamic thus affecting the visible height of
it.

Thanks
 
C

Cor Ligthert

Barrett,

This is a question meant as answer, what can be the height at runtime. Did
you create something dynamicly using JavaScript, are you aware of user
settings on the client while you made your panel with a non fixed width etc.

How can you can than know, what the user does on the client, on on the
serverside in another way than adding JavaScript for the client and get that
by instance in the server using a hidden servercontrol.

However I have not a direct answer for you, there are to much variables what
you can use or want and have solved. I once did a kind same problem a longer
time ago, but do not know exactly anymore how and where I have it.

Although you can ask this question of course as well again in the newsgroup
microsoft.public.dotnet.framework.aspnet

I hope this helps anyway something?

Cor

"Barrett"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top