Ext.Net.MenuItemBase.OnBeforeClientInitHandler C# (CSharp) Method

OnBeforeClientInitHandler() private method

private OnBeforeClientInitHandler ( ) : void
return void
        protected override void OnBeforeClientInitHandler()
        {
            base.OnBeforeClientInitHandler();

            if (this.OnClientClick.IsNotEmpty())
            {
                this.On("click", new JFunction(TokenUtils.ParseTokens(this.OnClientClick, this), "el", "e"));
            }

            string fn = this.PostBackFunction;

            if (this.ParentForm != null && fn.IsNotEmpty())
            {
                this.On("click", new JFunction(fn));
            }
        }