Groups | Blog | Home
all groups > asp.net > august 2003 >

asp.net : Center cmenu on user control???


chaoy NO[at]SPAM pacbell.net
8/23/2003 11:37:16 PM
Hi,

I created a user control as my site header. The user control consists
a custom control, cmenu. I have tried using table to center the cmenu,
and no luck. The cmenu just uses top=xxx, and completely ignore the
table.

Currently I am trying to danamically center cmenu by code based upon
the client' screen resolution. However, the javascript I placed on
user control to check the resolution is executed after the execution
of server-side code of user control. I know I can reposition the cmenu
on user control if I know the resolution before the execution of
server-side code. Should I use reload in javascript to reload whole
page? How?

It will be greatly appreciated for any clue.

Thanks.

Natty Gur
8/24/2003 7:43:33 AM
Hi,
what cmenu stand for?

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377


*** Sent via Developersdex http://www.developersdex.com ***
chaoy NO[at]SPAM pacbell.net
8/24/2003 4:46:59 PM
[quoted text, click to view]

I got the cMenu from below.
http://dev1.eraserver.net/ctrltest/

Thanks.

AddThis Social Bookmark Button