sonus
asked on
Determining Web Form Table Height
I have a web form Table control that I'm building dynamically with a variable number of rows. How do I determine the height of this table in code?
I've tried variations of the following with no luck:
intHeight = tbl.Height.value
Thanks
I've tried variations of the following with no luck:
intHeight = tbl.Height.value
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by naveenkohli
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
TheLearnedOne
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by naveenkohli
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
TheLearnedOne
EE Cleanup Volunteer
Just make sure you have runat=server in your table tag and then in your code simply call it:
Dim iHeight as int32
iHeight = tblTest.Height
Rgds
Tim