ASP.NET Slide Menu - Knowledge Base

« Back to Knowledge Base list

Put JavaScript to child

Q:

How can I put JavaScript to child?     

A:

Each parent and child have a property for client side script:
(It is also the last argument in AddParent and AddChild methods)
  • OnClientClick - javascript code to execute when user clicks on an item.
This proprety (and argument) is optional.