V
Vannela
I HAVE WRITTEN THE CODE FOR USER CONTROL MENU BUT I AM
UNABLE TO SEE IT IN DESIGN VIEW WHY WHERE WAS I WRONG.
THE CODE IS AS FOLLOWS:
<%@ Register TagPrefix="iewc"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Control language="c#" AutoEventWireup="false"
Codebehind="m_ut_popup.ascx.cs"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5
" Inherits="m_ut_popup.m_ut_popup" %>
<aspanel id="Menu" runat="server" Height="417px"
Width="272px" CssClass="StyleSheet1">
<iewc:Toolbar id="Mm_ut_popup" style="Z-INDEX: 100; LEFT:
17px; OVERFLOW: auto; WIDTH: 254px; POSITION: absolute;
TOP: 19px; HEIGHT: 400px" Orientation="Vertical"
Color="Blue" Width="265px" Height="384px" runat="server">
<iewc:ToolbarLabel Text="Edit" ID=" m_edit"
DefaultStyle="border-right:#AD1021 2px Solid;border-
top:#AD1021 2px Solid;font-size:12px;border-left:#AD1021
2px Solid;border-bottom:#AD1021 2px Solid;font-
family:Tahoma;color:Teal;"></iewc:ToolbarLabel>
<iewc:ToolbarButton Text="New" ID=" m_new"
DefaultStyle="border-right:#AD1021 2px Solid;border-
top:#AD1021 2px Solid;font-size:12px;border-left:#AD1021
2px Solid;border-bottom:#AD1021 2px Solid;font-
family:Tahoma;color:Teal;" HoverStyle="border-
right:#Yellow 2px solid;border-top:#Yellow 2px solid;font-
size:12px;border-left:#Yellow 2px solid;border-
bottom:#Yellow 2px solid;font-
family:Arial;color:Teal;background-
color:Yellow;"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="Add Item" ID=" m_newitem"
DefaultStyle="border-right:#AD1021 2px Solid;border-
top:#AD1021 2px Solid;font-size:12px;border-left:#AD1021
2px Solid;border-bottom:#AD1021 2px Solid;font-
family:Tahoma;color:Teal;" HoverStyle="border-
right:#Yellow 2px solid;border-top:#Yellow 2px solid;font-
size:12px;border-left:#Yellow 2px solid;border-
bottom:#Yellow 2px solid;font-
family:Arial;color:Teal;background-
color:Yellow;"></iewc:ToolbarButton>
</iewc:Toolbar>
</aspanel>
UNABLE TO SEE IT IN DESIGN VIEW WHY WHERE WAS I WRONG.
THE CODE IS AS FOLLOWS:
<%@ Register TagPrefix="iewc"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Control language="c#" AutoEventWireup="false"
Codebehind="m_ut_popup.ascx.cs"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5
" Inherits="m_ut_popup.m_ut_popup" %>
<aspanel id="Menu" runat="server" Height="417px"
Width="272px" CssClass="StyleSheet1">
<iewc:Toolbar id="Mm_ut_popup" style="Z-INDEX: 100; LEFT:
17px; OVERFLOW: auto; WIDTH: 254px; POSITION: absolute;
TOP: 19px; HEIGHT: 400px" Orientation="Vertical"
Color="Blue" Width="265px" Height="384px" runat="server">
<iewc:ToolbarLabel Text="Edit" ID=" m_edit"
DefaultStyle="border-right:#AD1021 2px Solid;border-
top:#AD1021 2px Solid;font-size:12px;border-left:#AD1021
2px Solid;border-bottom:#AD1021 2px Solid;font-
family:Tahoma;color:Teal;"></iewc:ToolbarLabel>
<iewc:ToolbarButton Text="New" ID=" m_new"
DefaultStyle="border-right:#AD1021 2px Solid;border-
top:#AD1021 2px Solid;font-size:12px;border-left:#AD1021
2px Solid;border-bottom:#AD1021 2px Solid;font-
family:Tahoma;color:Teal;" HoverStyle="border-
right:#Yellow 2px solid;border-top:#Yellow 2px solid;font-
size:12px;border-left:#Yellow 2px solid;border-
bottom:#Yellow 2px solid;font-
family:Arial;color:Teal;background-
color:Yellow;"></iewc:ToolbarButton>
<iewc:ToolbarButton Text="Add Item" ID=" m_newitem"
DefaultStyle="border-right:#AD1021 2px Solid;border-
top:#AD1021 2px Solid;font-size:12px;border-left:#AD1021
2px Solid;border-bottom:#AD1021 2px Solid;font-
family:Tahoma;color:Teal;" HoverStyle="border-
right:#Yellow 2px solid;border-top:#Yellow 2px solid;font-
size:12px;border-left:#Yellow 2px solid;border-
bottom:#Yellow 2px solid;font-
family:Arial;color:Teal;background-
color:Yellow;"></iewc:ToolbarButton>
</iewc:Toolbar>
</aspanel>