473,394 Members | 1,797 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,394 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 1430
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.