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

            base.OnInit();
        }
Beispiel #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();
        }