Code: Select all
<asp:Literal ID="CategoryDescription" runat="server" EnableViewState="false"></asp:Literal>
Code: Select all
<asp:Literal ID="CategoryDescription" runat="server" EnableViewState="false"></asp:Literal>
Code: Select all
<div style="text-align:center; padding:8px;">
<asp:Literal ID="CategoryDescription" runat="server"></asp:Literal>
</div>
Code: Select all
private void BindPage()
{
//BIND THE DISPLAY ELEMENTS
if (IsValidCategory())
{
CategoryBreadCrumbs1.Visible = DisplayBreadCrumbs;
CategoryBreadCrumbs1.CategoryId = this.CategoryId;
if (_Category != null)
{
Page.Title = _Category.Name;
//Caption.Text = _Category.Name;
}
else
{
// IF IT IS ROOT CATEGORY
Page.Title = DefaultCaption;
//Caption.Text = DefaultCaption;
}
BindSubCategories();
}
else
{
CategoryHeaderPanel.Visible = false;
}
BindSearchResultsPanel();
}
Code: Select all
private void BindPage()
{
//BIND THE DISPLAY ELEMENTS
if (IsValidCategory())
{
CategoryBreadCrumbs1.Visible = DisplayBreadCrumbs;
CategoryBreadCrumbs1.CategoryId = this.CategoryId;
if (_Category != null)
{
Page.Title = _Category.Name;
CategoryDescription.Text = _Category.Description;
//Caption.Text = _Category.Name;
}
else
{
// IF IT IS ROOT CATEGORY
Page.Title = DefaultCaption;
//Caption.Text = DefaultCaption;
}
BindSubCategories();
}
else
{
CategoryHeaderPanel.Visible = false;
}
BindSearchResultsPanel();
}
Code: Select all
<asp:Literal ID="cdesc" runat="server"></asp:Literal>