Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. No Web content form for ASP.NET website template

No Web content form for ASP.NET website template

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-net
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Blumen
    wrote on last edited by
    #1

    Hi, I created a new web application and added a Master page. But when I tried to add a content page, Right click project - Add New Item - there is no content page listed there in the Open box. But the same is visible in a ASP.NET web application. How do I add a web content page on to a ASP.NET website? Regards, Blumen

    “The thing for you is a burial permit. You have only to speak and I will see that you get it.”

    A 1 Reply Last reply
    0
    • B Blumen

      Hi, I created a new web application and added a Master page. But when I tried to add a content page, Right click project - Add New Item - there is no content page listed there in the Open box. But the same is visible in a ASP.NET web application. How do I add a web content page on to a ASP.NET website? Regards, Blumen

      “The thing for you is a burial permit. You have only to speak and I will see that you get it.”

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Blumen wrote:

      Right click project - Add New Item - there is no content page listed there in the Open box.

      No, You will not get Content page in Open Box. Just Select a Web Form and Checked The "Select Master Page" Checkbox on Note : It should only be enabled if you have added a Master page on your web application. or even you can add a web form, delete all aspx code and add those code

      <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
      <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      </asp:Content>
      

      Note : Change code according to your requriment.

      cheers, Abhijit Read My Latest Article

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups