Advertisement

10.03.2008 at 01:31PM PDT, ID: 23786371
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

ASP.Net Server Control Development and Fixed Property Values Intellisense

Asked by WebGeeksUnlimited in WebApplications, Programming for ASP.NET, Microsoft Visual Basic.Net

Tags: ,

When you develop your own asp.net server control, it's easy enough to define the properties that allow the user to set design time property settings. In some cases the property values are fixed.

The question is, how would you define that in the control property at design time in the intellisense?

I've included a code fragment of a property that has only two possible valuesStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
<Bindable(True), Category("Appearance"), DefaultValue("Text"), Description("Gets or Sets the controls list display type.")> _
        Public Property ListDisplayType() As String
            Get
                If Me._linkList Then
                    Return "Hyperlink"
                Else
                    Return "Text"
                End If
            End Get
            Set(ByVal value As String)
                If value.Length > 0 Then
                    Select Case LCase(value)
                        Case "text"
                            Me._linkList = False
                        Case "hyperlink"
                            Me._linkList = True
                        Case Else
                            Me._linkList = False
                    End Select
                Else
                    Me._linkList = False
                End If
            End Set
        End Property
 
Loading Advertisement...
 
[+][-]10.03.2008 at 02:40PM PDT, ID: 22638319

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: WebApplications, Programming for ASP.NET, Microsoft Visual Basic.Net
Tags: ASP.Net VB.Net, N/A
Sign Up Now!
Solution Provided By: ASPSQLServerCOM
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628