开发者

Show the same divs on different pages in ASP.net

开发者 https://www.devze.com 2023-03-07 03:37 出处:网络
I have, for example, 3 different pages. All pages should have a menu div, a logo div and a footer div. All divs should be the same on every page. 开发者_如何学JAVA

I have, for example, 3 different pages. All pages should have a menu div, a logo div and a footer div. All divs should be the same on every page.

开发者_如何学JAVA

Is there any way to develop only one page and when I make a change on that page, this change should appear on every other page, in ASP.NET?


You can use Master Pages. As well as that MSDN page, you can view more tutorials on the official ASP.NET site.


If you use a master page then you get that same effect. Or you can use user controls and then include them in all 3 pages.

0

精彩评论

暂无评论...
验证码 换一张
取 消