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..

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;
               
        }
    }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.