Header and Footer with ASP. Net C#

Asked

Viewed 206 times

0

I’m doubtful to separate my code,I did some tests of having separated the header and footer but in visual studio I did that can only have only one <% Page, as I can separate the header and footer and join in one

  • You cannot use tags from html5, header and footer?

  • can,but I want to split into different files and then call them for all pages I want to use

1 answer

0

In ASP. Net you do not include pages, as is done in PHP, you have to create a Layout page, which is a complete page, both with Helder and footer, and your page will be a fragment within this Layout page.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.