A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.
must inherits my layout.master from "mojoPortal.Web.layout" ????
what does mojoPortal.Web.layout.?
Hi Nasser,
I download your work and see it. You MUST not change the CodeBehind of layout.master and no need to have a new layout.master.cs file . Do following changes in your layout.master file.
Replace this line:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="layout.master.cs" Inherits="Data_Sites_1_skins_mmcgee_uncreativesuite_3_layout" %>
With this:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="~/App_MasterPages/layout.Master.cs" Inherits="mojoPortal.Web.layout" %>
Hope helps
Asad
Hi,
Asad is correct, you should inherit from the built in App_MasterPages/layout.master which has code behind it that implements the automatic adaptation from 1 to 3 columns for the main layout by determining which columns have content and assiging css classes to the divs as needed. This is explained in the document http://www.mojoportal.com/understandingthelayoutmasterfile.aspx
Hope it helps,
Joe
thanks for your reply,
I copied one of existence layout.master contents to my layout.master page and it works now, I will change some other parts and then uplaod it for consideration of other mp users,