I want to create a homepage for my already developed project. Since the project contains many forms, it is quite difficult to include the main page in each form ... Are there any possibilities to include the main page in any other simple way ...
Please give some advice.
Thanks in advance...
As far as I know, there is no easy way to do this.
You need to manually add the main page to the page directive
<%@ Page MasterPageFile="~/Masterpage.master" ... %>
add relevant sections of the content around the layout of your pages:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> </asp:Content>
and remove tags <html>, <head>, <body> and <form>from each page.
<html>, <head>, <body> and <form>
- ( ) , html aspx . , .
, @geoff. , . - (, , , , , ) . , 1 . , . -.
, , , . UserControls MasterPages ParentForm, , Init , ( Intellisense) . , , , ... . this.ParentForm.
this.ParentForm
, MasterPages , "" , " ".
Source: https://habr.com/ru/post/1762607/More articles:Sleeping interceptor message save? - javaHow to decode one Int64 back to two Int32? - c #Ternary operator in foreach - c #WIX - RegistrySearch возвращает неверную установку - searchHide or disable input gesture text in wpf - wpfQueue and process multiple requests on iphone - iphoneWhy does MSBuild require explicit configuration of the target platform? - .netсервер не читает обновленные данные из базы данных - javaGo to specific page when embedding PDF document in HTML - htmlshowing web view with transparent background - cocoaAll Articles