vcsharp
  • Posts: 77
  • Joined: 03/10/2017
I have noticed that user controls exist under both these folders: pages and controls.

Why are the user controls separated under both these folders? Normally a page in ASP.Net would mean a file ending in aspx extension, but under pages all extensions are ascx and none are aspx. So, I am confused about this.
tha_watcha
  • Posts: 4044
  • Joined: 06/03/2010
Everything in yaf it's just controls. This is the normal structure that the pages are in the pages folder because this are the actual pages for the forum. But of course this has nothing to do with normal aspx pages you are referring to..
UserPostedImage
vcsharp
  • Posts: 77
  • Joined: 03/10/2017
Originally Posted by: tha_watcha

Everything in yaf it's just controls. This is the normal structure that the pages are in the pages folder because this are the actual pages for the forum. But of course this has nothing to do with normal aspx pages you are referring to..



You mean the user controls under pages folder act as containers of user controls under controls folder and also that the user controls under pages folder define the contents of a page?
tha_watcha
  • Posts: 4044
  • Joined: 06/03/2010
Correct, there are no real aspx pages in yaf everthing is loaded as control dynamical.
UserPostedImage
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved