Can styles be binded to a datasource?

Discussion in 'ASP .Net Building Controls' started by dominic@vitrasoft.com, Feb 1, 2006.

  1. Guest

    I am building a custom control that renders an HTML table with
    accounting info in it. Very similar to a datagrid. I want to give
    developers IDE properties for styles, say a RowStyle. Say a developer
    wants the RowStyle-BackColor bound to the datasource so that if the row
    has a negative value in the Balance column, then the entire BackColor
    of the row will be red. I just can't seem to figure out if there is a
    way to get this to work. A template solution is a hack because I'll
    lose the style properties in the IDE and anything other than style
    elements in such a template are meaningless. I'm at a loss. Any help
    is appreciated.

    Thanks, Dominic.
     
    , Feb 1, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mira Vizjak

    Binded DropDown list

    Mira Vizjak, Jul 15, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    474
    Anatoly
    Jul 16, 2003
  2. Amar

    How Determine Binded Column

    Amar, Feb 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    310
  3. Hunter Hou
    Replies:
    8
    Views:
    1,198
    AlesD
    Aug 10, 2004
  4. amirmi
    Replies:
    0
    Views:
    835
    amirmi
    Aug 1, 2006
  5. billiejoex
    Replies:
    4
    Views:
    582
    billiejoex
    Mar 21, 2007
Loading...

Share This Page