0

hello frends...

well...i have got a prob here...im building a webuser Control and want to create a property for the same..i want to set multiple choices in the property box.i mean when ill use it on a .aspx form it should allow user to select to a value from multiple values in its property box.im attaching a pic to clear my idea.

i want a dropdown list to be appeared with multiple values. Please do reply soon.im really stuck here just because of that only..

Thank you..

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by love_dude1984
0

i have got the answer for the same.. it goes as follows..

public enum abc { val1, val2, val3 };

   private abc testP;  // prop var.

    public abc Test_Prop //write prop.
    {
        get
        {
            return testP;
        }
        set
        {
            testP = value;
               
        }
    }

Edited by love_dude1984: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.