Regions in webforms asp.net
3 answers
You can define tags #region
in your code behind files just like you can in any file .cs
- it doesn't matter if they are in a web project or any other project.
You cannot define them on the page .aspx
.
In the code .cs
behind the file:
#region "Name of region"
// Code comes here
#endregion
+2
a source to share