473,396 Members | 1,804 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,396 software developers and data experts.

Get properties on Table object

I have a table on a page that I need to retrieve the properties on so
I can reposition it/another table... How do I retrieve properties like
height, top, left, etc on a table object? I've tried
objTable.Items.Style("whatever") but it either returns an empty string
or throws an error...

Ideas?
Thanks!

Jack
Nov 18 '05 #1
3 1213
Jack,

Looks like you are interested in client-side properties. They can be
collected on the client side with javascript & DHTML, packed into a string
value and transmitted to the server. The server can apply the properties to
another table via Attributes collection.

Eliyahu

"Jack Black" <ja********@hotmail.com> wrote in message
news:ln********************************@4ax.com...
I have a table on a page that I need to retrieve the properties on so
I can reposition it/another table... How do I retrieve properties like
height, top, left, etc on a table object? I've tried
objTable.Items.Style("whatever") but it either returns an empty string
or throws an error...

Ideas?
Thanks!

Jack

Nov 18 '05 #2
these are no available on the server side, only client.
"Jack Black" <ja********@hotmail.com> wrote in message
news:ln********************************@4ax.com...
I have a table on a page that I need to retrieve the properties on so
I can reposition it/another table... How do I retrieve properties like
height, top, left, etc on a table object? I've tried
objTable.Items.Style("whatever") but it either returns an empty string
or throws an error...

Ideas?
Thanks!

Jack

Nov 18 '05 #3
Thanks for responding, guys!

Turns out what I did was calculate a table's height based on number of
rows in a resultset plus a given gap between tables, the starting
position (table.Style.Items("top")) for the next table after each
rowset was rendered into columns. Worked as well as anything else,
without having to do any client-side DHTML... :)

Jack
Nov 18 '05 #4

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

Similar topics

2
by: Jim Madsen | last post by:
I am trying to learn JavaScript--(complete newbie--and don't know C or C++). I've been reading "The Book of JavaScript" by Thau. I don't see anything about table properties in the book. (I...
3
by: ytrewq | last post by:
Should dynamic ("expando") properties be restricted to native and user-defined objects? Or should host objects - such as references to the browser or a plug-in or to the document and its elements -...
3
by: Gerry Abbott | last post by:
Access allows all objects, tables, forms, queries, macros, modules, to be documented with common object properties, including Description, Type, modified and created dates, owner, and some...
18
by: Dixie | last post by:
Can I set the Format property in a date/time field in code? Can I set the Input Mask in a date/time field in code? Can I set the Format of a Yes/No field to Checkbox in code? I am working on...
8
by: Joel Reinford | last post by:
I would like to build a class that has properties which can be accessed by string names or index numbers in the form of MyClass.Item("LastName"). The string names or item index values would be...
1
by: Christophe Peillet | last post by:
I have a CompositeControl with two types of properties: 1.) Mapped Properties that map directly to a child control's properties (ex.: this.TextboxText = m_txt.Text). These properties are handled...
2
by: Greg Strong | last post by:
Hello All, Is it possible to change table field lookup properties in code? I've been able to change other field properties in code, however so far no luck with field lookup properties. What...
0
by: Demetri | last post by:
Lets say you have a business object called Person which derives it's data from the Person table therefore it has all sorts of properties such as FirstName, LastName, Age, etc. In addition you...
0
by: Nick L | last post by:
Here is the PowerShell script I've been working on (.NET question is at the bottom): ### setup SQL connection $conn = new-object System.Data.SqlClient.SqlConnection $conn.ConnectionString =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.