can user control change its child control's property using javascript?

C

chaoy

Hi,

I place a menu on the user control, and want center the menu based
upon client's screen resolution. I try to check the resolution using
javascript, and then set cmenu.left = xxx. Unfortunitely, I always got
error of "... is null or not a object" when assign cmenu.left = xxx.

Help, please!

Charles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top