Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The above page does not look like a standard SharePoint page?

look page SharePoint standard
0
Posted

The above page does not look like a standard SharePoint page?

0

In order to get the SharePoint look and feel we need to inherit from a SharePoint master page. As a rule you should always inherit from a SharePoint master page so that your sites have a consistent look and feel. So let’s modify our ‘SimplePage.aspx’. To get the SharePoint style we need to inherit from the SharePoint master page ‘Application.Master’. We have now tailored the ‘simplepage.aspx’ source code as shown below. We need to do the following:- • First refer the assembly using the ‘Assembly directive. • Refer the masterpage files as ‘Application.master’. • Import the sharepoint namespace. If we had used the behind code we would have imported this in the behind code itself. • There are three placeholder one for title , one for centre area and one for the page title. We need to define the placeholders in the child page. <%@ Assembly Name="Microsoft.SharePoint,Version=12.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123