Try our conversational search powered by Generative AI!

Make category required for page type

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

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.

Jun 16, 2008 11:01
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.
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.