ASP.NET Slide Menu - Knowledge Base

« Back to Knowledge Base list

Trigger a sub when a user has selected an item in the menu

Q:

Can I trigger a sub when a user has selected an item in the menu? 

A:

Yes, simply define the OnClick event handler:
    <osm:Child id="c1" OnClick="someFunction">Click Me</osm:Child>