L
L
lolik202020-10-23 15:40:54
ASP.NET
lolik20, 2020-10-23 15:40:54

How to load page without _Layout?

There are two HTML pages, a main page with a NAV block and a registration page.
when I go to the registration page, I need Layout not to load. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RouR, 2020-10-23
@lolik20

@{
    Layout = "";
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question