473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Moving Controls @ Runtime

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

Nov 22 '05 #1
3 1428
Hello Barrett,
Have you tried panel.width?

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


Nov 22 '05 #2
That property is not likely to give me the height!?!?!

"Antonio" wrote:
Hello Barrett,
Have you tried panel.width?

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


Nov 22 '05 #3
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"
That property is not likely to give me the height!?!?!

"Antonio" wrote:
Hello Barrett,
Have you tried panel.width?

> 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
>


Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Barrett | last post by:
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....
2
by: jbmeeh | last post by:
I have an application in which I need to expose runtime moving and resizing of controls. Most of the functionality that I need is exposed by the CRectTracker class in the C++ library. Are there any...
1
by: rp | last post by:
Hi, How would I create runtime tabpages with runtime controls(textBoxes,comboBox, checkedListBox), inserting,deleting, and modifing the tabpages whenever I want to in C#? Thanks in advance. rp
4
by: xs | last post by:
I have a datagrid and a button. The contents of datagrid is dynamic. My button is placed below the datagrid. If there are too many items in Datagrid the button and datagrid will be overlapped. Is...
4
by: Chuck Ritzke | last post by:
Hi, I've searched the newsgroup and other sources to understand how to handle runtime controls and see I'm not the only one who's confused, but I'm still not quite sure of the best way to handle...
7
by: jcrouse | last post by:
I use the following three subs to click on a label and reposition it at runtime: Private Sub lblP1JoyUp_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs)...
3
by: eswanson | last post by:
I have a site that has multiple web site projects. I got it working on my windows xp sp2 computer in pre-compiled mode. I created a new site on a windows 2003 server and copied the pre-compiled...
0
by: Derek Hart | last post by:
I am wanting to move and/or resize controls at runtime. I have download and integrated this application: http://www.codeproject.com/KB/miscctrl/CSharpRectTracker.aspx It is the C# Rect...
3
by: SonOf27 | last post by:
Morning all. I was hoping somone would be able to help me with some VBA program that will allow me to move the whole Tab Control on an Access form at runtime. What I have is a form in Access 2000...
5
by: adarshyam | last post by:
Hi friends, I have an interesting problem in vb.net. And I am struggling to get a solution for this..m trying for the past 3days.. It’s to calculate moving average for the inputs given by the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.