Dropdown Property List??

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default Dropdown Property List??

    I'm writing an aspx server control and I need to have a property that
    displays a dropdown list of things I have in an arraylist. I'm trying to do
    the kind of thing that, for instance, the datagrid component does where it
    shows a list of all of the datasets on the page that could be chosen for
    binding.

    I have examples of doing property dropdowns this with a static enum and also
    using a collection property but I don't want a collection property.

    How is this done?
    Thanks,
    T


    Tina Guest

  2. Similar Questions and Discussions

    1. How to display a property of a custom control with a dropdown styl
      Hello, I have written my own custom control and I want one of its properties to display as a dropdown list when clicked, so the user can select...
    2. UserControl property as dropdown at design time?
      Hi I'm creating an ASP.NET UserControl that contains a DropDownList control. I'd like to be able to set the DataSourceID property of this...
    3. Dropdown list
      I would like to display 15 items (lines) in the dropdown list, but by default the list displays only 11 lines. How can I have all the 15 items...
    4. DataGrid with Dropdown list
      Any Help is appreciated! I have a datagrid with Drop down list and a remove hyperlink as two columns. When I remove the row of the datagrid by...
    5. Find the biggest value property in a property list
      Hello the group If I have a list like; You can see there's three properties that are simalar '1.1' & '1.2' & '1.3' Question 1: Now if...
  3. #2

    Default Re: Dropdown Property List??

    Hi,

    maybe it is a TypeConverter you are looking for e.g when you use VS.NET's
    designer and select something from property browser (if you mean HTML View
    this isn't possible because it checks the intellisense from static XSD
    schema per control basis)

    Here is an example how to list datagrids of a page using a type converter
    [url]http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=214342[/url]

    --
    Teemu Keiski
    ASP.NET MVP, AspInsider
    Finland, EU

    "Tina" <tinamseaburn@removespamexcite.com> wrote in message
    news:u0XG3PN%23EHA.936@TK2MSFTNGP12.phx.gbl...
    > I'm writing an aspx server control and I need to have a property that
    > displays a dropdown list of things I have in an arraylist. I'm trying to
    > do the kind of thing that, for instance, the datagrid component does where
    > it shows a list of all of the datasets on the page that could be chosen
    > for binding.
    >
    > I have examples of doing property dropdowns this with a static enum and
    > also using a collection property but I don't want a collection property.
    >
    > How is this done?
    > Thanks,
    > T
    >

    Teemu Keiski Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139