I want to create a custom aspx page and have certain topics display in the page.
I found this and created the custom page:
customPage.aspx
<%@ Page language="c#" Inherits="AspDotNetStorefront.customPage" CodeFile="customPage.aspx.cs" %>
<html>
<head runat="server">
</head>
<body runat = "server" >
The information that you code in here will be shown in the content section of the skin that you are using.<br />
You can use <strong>html</strong> within this section.<br />
<asp:Label ID="customlbl" runat="server" />
</body>
</html>
customPage.aspx.cs
// ------------------------------------------------------------------------------------------
// Copyright AspDotNetStorefront.com, 1995-2008. All Rights Reserved.
// http://www.aspdotnetstorefront.com
// For details on this license please visit the product homepage at the URL above.
// THE ABOVE NOTICE MUST REMAIN INTACT.
// ------------------------------------------------------------------------------------------
using System;
using System.Text.RegularExpressions;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Globalization;
namespace AspDotNetStorefront
{
public partial class customPage : SkinBase
{
protected void Page_Load(object sender, System.EventArgs e)
{
customlbl.Text = "You can also use asp controls on the page which can be accessed in the code behind file";
}
}
}
--------------------------
that works for the custom page. But now I want to be able to have certain topics display in this page too.
How can I put this: <aspdnsf:Topic ID="IDName" runat="server" TopicName="TopicName" />
and make it work?
I also would like this page to be only displayed with a valid discription.
is thsi possible?