Sir, first of all you have only opening tag of the <HeaderTemplate> tag .
So make approriate closing tag & then try again............
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucBrandsList.ascx.cs" Inherits="Admin_CatalogManagement_Controls_ucProductList" %>
<table style="width:100%; border:0" cellpadding="0" cellspacing="0">
<tr>
<td style="width:100%" align="left">
<asp:LinkButton ID="lbtnAddRecord" Text="Add New Record" runat="server"></asp:LinkButton>
</td>
</tr>
<tr>
<td style="width:100%" align="left">
<asp:Panel ID="pnlProductList" runat="server" ScrollBars="None" Width="100%">
<asp:DataList ID="dlResult" runat="server" RepeatColumns="1" Width="100%" OnSelectedIndexChanged="dlResult_SelectedIndexChanged">
<HeaderStyle BackColor="Navy" />
<ItemStyle BackColor="ActiveBorder" />
<AlternatingItemStyle BackColor="ButtonFace" />
<HeaderTemplate>
<table style="width:100%; border:0" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
Regards,
Vikash Pathak
Reddysankark@Yahoo.Com, if this helps please login to Mark As Answer. |
Reply | Alert Moderator