I have created one application page and deployed that.But ribbon is not appearing at the same page? Any guesses or solution for this?

  • 1
    can you show your aspx code? – Ali Jafer Jan 15 '14 at 9:33
  • Is this 2010 or 2013? – Robert Lindgren Jan 15 '14 at 9:33
  • @ali Sharepoint I just have created application page not written anything on page – Prasad Gavande Jan 15 '14 at 9:41
  • @RobertLindgren Its Sharepoint 2013 and have used visual studio 2012 – Prasad Gavande Jan 15 '14 at 9:41

sorry im not being clear!:

there are two types of application pages!

the first contains no inherited masterpage and contains a reference to the .cs page but that is about it... it has head, body tags, looks somthing like this:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Meeting.aspx.cs" Inherits="meeting.Meeting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <form id="form1" runat="server">


the other what im trying to get to is different, it inherits from a masterpage on the server and it also inherits the page layouts and styles!

<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Meeting.aspx.cs" Inherits="meeting.Meeting" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Application Page

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
My Application Page

the first does not inherit any styles but the second does (layout, ribbon, masterpage,css), i use both methods in 2010 which is pritty much the same for 2013... first shows no ribbon, no master nothing. second on the other hand does show the default master, layouts associated with that master and its corresponding ribbon as its witin the master page ;)

here is a quick tut on creating the correct app page:


Saying all this i belive that you have created an application page (second example) but it still hasnt shown up.... you cold add it in by using this method:


sorry cant copy post here the method as its tooo long and detailed!

or here:


| improve this answer | |
  • I have created the page as you stated in second page like sharepoint-journey.com/application-page-in-sharepoint-2013.html but it does not showing ribbon as when we create a page in out of box. I want something it should show me ribbon like out of box (Page,Browse,format etc) I dont want to create my own ribbon element please guide – Prasad Gavande Jan 15 '14 at 10:27
  • its dependant on the maste page! do you have this within the aspx DynamicMasterPageFile="~masterurl/default.master" , that will show the default ribbon! – Ali Jafer Jan 15 '14 at 10:52
  • i would like to know what do you want to show on the ribbon? by default nothing should be shown as there is not list no webpart ect! ribbon will add tabs accordingly dependant on what you have on the page aslong as your inheriting the default master! – Ali Jafer Jan 15 '14 at 10:55
  • as there is no ribbon, the end user can not modify the page. So for that purpose I wants to have ribbon there And is not inheriting from master page. – Prasad Gavande Jan 15 '14 at 11:03
  • it has to inherit from masterpage to get default ribbon from the aspx xaml! – Ali Jafer Jan 15 '14 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.