Expand Minimize

SPC046901: Do not write in ASPX Pages 'Register' tags in a single line

ASPX pages should write the Register tag in separate lines to improve readability of the code.

CheckId SPC046901
TypeName ASPXPageShouldProvideRegisterTagsInSeparateLines
Severity Warning
Type Solution

The ASPX page should write Register tag in separate lines to improve readability of the code.

To suppress this violation in XML SharePoint code add the following comment right before the XML tag which causes the rule violation. Learn more about SuppressMessage here.

<!-- "SuppressMessage":{"rule":"SPC046901:ASPXPageShouldProvideRegisterTagsInSeparateLines","justification":"Provide reason for suppression here"} -->
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of RENCORE AB. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.