Exemplo n.º 1
0
        protected override void OnInit()
        {
            // notify dropdown that the button is inside of it
            ParentDropdown?.Register(this);

            base.OnInit();
        }
Exemplo n.º 2
0
        protected override void OnInitialized()
        {
            // notify dropdown that the button is inside of it
            ParentDropdown?.Register(this);

            ExecuteAfterRender(async() =>
            {
                await JSRunner.InitializeButton(ElementId, ElementRef, PreventDefaultOnSubmit);
            });

            base.OnInitialized();
        }