hi,
i'm wondering how to go about returning physical properties of custom controls (not ascx but controls derived by pure classes) using javascript.
for example, my control (inherited from WebControl) has its height prop(this.height) assigned a value in its constructor. if you view the source of the html after viewing the page in the browser, this height property shows up as part of the elements style.height property. fine.
however, trying to read this property via a call to a javascript function keeps stating that myElement.height or myElement.style.height is undefined. actually, it states that style.height is NULL or not an object.
any thoughts/advice on this? many thanks in advance
i'm wondering how to go about returning physical properties of custom controls (not ascx but controls derived by pure classes) using javascript.
for example, my control (inherited from WebControl) has its height prop(this.height) assigned a value in its constructor. if you view the source of the html after viewing the page in the browser, this height property shows up as part of the elements style.height property. fine.
however, trying to read this property via a call to a javascript function keeps stating that myElement.height or myElement.style.height is undefined. actually, it states that style.height is NULL or not an object.
any thoughts/advice on this? many thanks in advance