Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Can't edit properties in VS.net


Message #1 by "Kan Yu Ting" <yu-ting.kan@p...> on Fri, 31 May 2002 09:04:18
Dear all,

I created a ascx file in VS.net with following codes. However it don't 
display the properties of specific control(say toolbar) iunder the 
solution explorer.Can someone help figuring out what am I missing?

<%@ Control Language="c#" AutoEventWireup="false" 
Codebehind="PWR_XPToolBar.ascx.cs" 
Inherits="LoginAuth.UserControl.PWR_XPToolBar" 
TargetSchema="http://schemas.microsoft.com/intellisense/ie5" debug="True"%>
<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls" 
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<!--Tool Bar-->
<tr bgcolor="#F7F3EF">
	<td width="4" height="20" 
background="../../images/Frame_lb.gif">&nbsp;</td>
	<td width="720">
		<table border="0" cellspacing="0" cellpadding="0" 
align="left">
			<tr>
				<td width="8">&nbsp;<img 
src="../../images/XP_points.gif" width="2" height="19"></td>
				<td>
					<ie:Toolbar id="myToolbar" 
runat="server"

						Font-Name="Arial, 
Helvetica, sans-serif"
						Font-Size="8pt"
						BackColor="#F7F3EF"
						ForeColor="#FFFFFF"

					
	DefaultStyle="color:black;border:solid 1px 
#F7F3EF;background:#F7F3EF"
						HoverStyle="border:solid 
1px #BDBEB5;background:#FFF7E7"
					
	SelectedStyle="border:solid 1px #BDBEB5;background:#D6D7C6"

					>

					<ie:ToolbarButton 
ImageUrl="../../images/XP_back.gif" />
					<ie:ToolbarSeparator />
					<ie:ToolbarButton 
Text="<i>Rich</i><b>Content</b>" />
					<ie:ToolbarSeparator />

					<ie:ToolbarCheckButton 
Text="CheckButton" />
					<ie:ToolbarSeparator />

					<ie:ToolbarCheckGroup>
						 <ie:ToolbarCheckButton 
Text="GroupA-1" />
						 <ie:ToolbarCheckButton 
Text="GroupA-2" />
						 <ie:ToolbarCheckButton 
Text="GroupA-3" />
					</ie:ToolbarCheckGroup>

				</ie:Toolbar>

				</td>
			</tr>
		</table>
	</td>
	<td width="4" background="../../images/Frame_rb.gif">&nbsp;</td>
</tr>

Thanks a lot

  Return to Index