GetStartUpScript() public method

Renders (and returns) the JavaScript required to initialise the SelectMenu control with the required options. A jQuery document.ready section is wrapped around the script.
public GetStartUpScript ( ) : string
return string
Ejemplo n.º 1
0
		public string JavaScriptCode(SelectMenu mnu) {
			mnu.Rendering.SetPrettyRender(true);
			return mnu.GetStartUpScript();
		}