Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Nathan Sokalski #1
Making Custom Control Properties Visible in Visual Studio's Properties Palette
I am learning how to use the System.ComponentModel class in VB.NET so that I
can add my ASP.NET controls to Visual Studio .NET 2003. I have managed to
make my control properties visible in the Properties Palette when in Design
View by adding the following before each Property declaration:
<Bindable(False), Browsable(True), DefaultValue(60), Description("Specifies
the width of the area surrounding the thumbnail image")>
However, when in HTML view they are not visible in the Properties Palette
and Visual Studio does not display a dropdown list of available properties
when you start to type them as attributes. How can I make the properties
appear in the Property Palette regardless of which view I am in? Thanks.
--
Nathan Sokalski
[email]njsokalski@hotmail.com[/email]
[url]http://www.nathansokalski.com/[/url]
Nathan Sokalski Guest
-
Accessing properties in custom control
Hi all, This is probably a newbie question, but... I have a custom control inherited from System.Web.UI.WebControls.Table. Here is the code: ... -
asp.net page not seeing custom control, can't set properties
I have a asp.net.vb page with a custom control, and for some reason the codebehind is not seeing the control. The control is in a file... -
Accessing custom control properties
Hello, I've created a custom control and want to set properties in the aspx page. <%@ Page language="c#" Codebehind="test_control2.aspx.cs"... -
Multiple Collection Properties in a Custom Control
I am attempting to create control with 2 collection properties that are persisted with mode PersistenceMode.InnerProperty. When I create the... -
Getting custom properties on a user control
I created a user web control, and here is the line in my ASPX that consumes that control. <joe:RunningSummary CurrentStep=2 id=myRunningSummary...



Reply With Quote

