Page view counter

how to add onclick event to menuitem?

Last post 05-12-2006 9:42 AM by MrEd. 1 replies.

Sort Posts:

  • how to add onclick event to menuitem?

    05-03-2006, 9:07 PM
    • Loading...
    • azure_ss
    • Joined on 02-28-2003, 4:13 PM
    • Posts 185
    • Points 899

    Is there anyway to add onclick event to the menuitem. I know the menuitem is rendered as anchor, and using javascript in href has tremendous problem as you know.

    It seems that the menu control does not allow you to add custom attributes to it which makes it inextensible.

  • Re: how to add onclick event to menuitem?

    05-12-2006, 9:42 AM
    • Loading...
    • MrEd
    • Joined on 11-24-2005, 9:11 AM
    • Posts 11
    • Points 55

    Hi,

    did you solve the problem? When not, maybe this Thread helps:

    http://forums.asp.net/thread/1283910.aspx

Page 1 of 1 (2 items)