Registration of a custom dialog
Hi there!
Is there a way to register custom dialogs during installation process of a custom module? I know there is a way to do this through global.asax:
protected void Application_Start(object sender, EventArgs e) Telerik.Sitefinity.Abstractions.Bootstrapper.Initialized += new EventHandler<Telerik.Sitefinity.Data.ExecutedEventArgs>(Bootstrapper_Initialized); protected void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs args) Telerik.Sitefinity.Web.UI.Dialogs.RegisterDialog<CustomDialogClassName>();Hi Anton Mernov,
You should register the dialog with this line of code:
Telerik.Sitefinity.Web.UI.Dialogs.RegisterDialog<CustomDialogClassName>();Hi Radoslav,
Thank you for quick reply! That works.
Best regards,
Anton