A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Make category required for page type

Vote:
 
I'd like to make category (PageCategory) a required property of one of my page types. Can this be done? If yes, how?
#20740
Jun 10, 2008 13:04
Vote:
 

Maybe custom page validation by adding a new PageValidateEventHandler in Application_Start in Global.asax? You could then check the Page object in PageValidateEventArgs for Category values and react accordingly.

#20854
Jun 16, 2008 11:01
Vote:
 
We ended up solving it a completely different way, but using the PageValidate event seems like a smart thing. I'll try it when a similar problem occurs.
#21350
Jun 27, 2008 10:57
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.