The following is my ascx file.And which is showing an error -';The directive 'control' is unknown.';
%26lt;%@ Control Language=';C#'; AutoEventWireup=';true'; CodeFile=';header.ascx.cs'; Inherits=';header'; %%26gt;
%26lt;%
string clsMenuHome=';';;
string clsMenuAboutUs=';';;
string clsMenuAdmin=';';;
string clsMenuLogin=';';;
string clsMenuContactUs=';';;
clsMenuHome=(menuPage==';Home';)?';liSelect…
clsMenuAboutUs=(menuPage==';AboutUs';)?';li…
clsMenuAdmin=(menuPage==';Admin';)?';liSele…
clsMenuLogin=(menuPage==';Login';)?';liSele…
clsMenuContactUs=(menuPage==';ContactUs';)…
%%26gt;
%26lt;ul%26gt;
%26lt;li class=';%26lt;%=clsMenuHome %%26gt;';%26gt;%26lt;a href=';#';%26gt;Home%26lt;/a%26gt;%26lt;/li%26gt;
%26lt;li id=';liSep';%26gt;%26lt;/li%26gt;
%26lt;li class=';%26lt;%=clsMenuAboutUs %%26gt;'; %26gt;%26lt;a href=';AboutUs.aspx';%26gt;About Us%26lt;/a%26gt;%26lt;/li%26gt;
%26lt;li id=';liSep';%26gt;%26lt;/li%26gt;
%26lt;%if(Session[';UserType';].ToString()==';Ad…
{
%%26gt;
%26lt;li class=';%26lt;%=clsMenuAdmin %%26gt;';%26gt;%26lt;a href=';UserManagementUI.aspx';%26gt;Admin%26lt;/a%26gt;%26lt;/…
%26lt;li id=';liSep';%26gt;%26lt;/li%26gt;
%26lt;% } %%26gt;
%26lt;li class=';%26lt;%=clsMenuLogin %%26gt;'; %26gt;%26lt;a href=';Login.aspx';%26gt;Logout%26lt;/a%26gt;%26lt;/li%26gt;
%26lt;li id=';liSep';%26gt;%26lt;/li%26gt;
%26lt;li%26gt;%26lt;a href=';#';%26gt;Contact Us%26lt;/a%26gt;%26lt;/li%26gt;
%26lt;/ul%26gt;
Please help me.User Control error in ASP.Net?
There is something wrong in your MYSQL Server try to fix it from ur hosting control Panel
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment