London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Sounds that the validation attribute functionality is what you are looking for.
Check this out: http://www.david-tec.com/2012/06/EPiServer-7-Preview---IValidator-interface/
Hello,
How can display a wrning message on some PageData?
I had found this:
protected void Application_Start(object sender, EventArgs e)
{
...
EditPanel.LoadedPage += EditPanel_LoadedPage;
}
void EditPanel_LoadedPage(EditPanel sender, LoadedPageEventArgs e)
{
if (e.Page != null && (e.Page is DatasheetSAPReportTypeItem || e.Page is DatasheetSAPGenerationVariantItem))
sender.Validators.Add(new StaticValidator("Publishing this page will reindex all the products in background you can contnue your work during this time."));
}
But my event is never triggered
REgards,
Benjamin