skmMenu: An ASP.NET Menu Control

Menu.RegisterClientScriptBlock Method 

Registers the main client script.

protected virtual void RegisterClientScriptBlock();

Remarks

RegisterClientScriptBlock() adds the global variables and JavaScript methods. Depending on how skmMenu is configured, this client-side script is either emitted directly to the browser in the HTML stream, or references an external JavaScript file. It is recommended that the external JavaScript file approach be used, since it yields better performance on both the client and server.

For more information on using an external JavaScript file, see the ScriptPath property.

See Also

Menu Class | skmMenu Namespace