List Box and different color

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

  1. #1

    Default List Box and different color

    There is a way to give different color to listitems of a ListBox ?


    Alessandro Guest

  2. Similar Questions and Discussions

    1. problem with user color and people list component
      :confused; I trying to create a simple chat room. I am using flash components with the simple connection component. When I publish the file the...
    2. Color PDFs Print as Black & White (grayscale) color inkjets In AcroPro 6 Mac
      I am trying to print color pdf's created from a variety of sources (Quark, InDesign, Word, etc...) to my Canon inkjets (i9100 and i450) from Acrobat...
    3. Creating a Custom Color Property list
      Basically I can't figure out for the life of me how to display a custom list of colors in the property window. I have a property called ForeColor()...
    4. - Rendering a multi-color logo outline to a single spot color (of different shades)
      I have a question similar to the original poster, but with a twist. I have a logo in an AI file. All outlines. It has multiple colors (stroke and...
    5. changing text color of list component
      Does anyone know how to change the text color of individual elements in a list component. I know I can use setStyle to change all the text colors...
  3. #2

    Default Re: List Box and different color

    Yes, it is, but needs a bit work as basically it would need to be done so
    that every ListItem in the ListBox has custom style attributes. Those
    attributes are then rendered at the HTML. Only problem is that this works by
    default only in HtmlSelect control.

    See:
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;309338[/url]

    So if you absolutely need ListBox, you would need to rewrite some
    implementation for the control.

    --
    Teemu Keiski
    MCP,Designer/Developer
    Mansoft tietotekniikka Oy
    [url]http://www.mansoft.fi[/url]

    ASP.NET Forums Moderator, [url]www.asp.net[/url]
    AspAlliance Columnist, [url]www.aspalliance.com[/url]

    Email:
    [email]joteke@aspalliance.com[/email]

    "Alessandro" <gemini_two@hotmail.com> kirjoitti viestissä
    news:eNohrkhQDHA.2320@TK2MSFTNGP12.phx.gbl...
    > There is a way to give different color to listitems of a ListBox ?
    >
    >

    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