Dynamic control creation in datagrid based on data in that column

Discussion in 'ASP .Net Building Controls' started by mitramay@gmail.com, Sep 20, 2006.

  1. Guest

    I am creating a dynamic datagrid. The controls in some of the template
    columns will have to be generated based on the data contained in them
    (i.e. the data for that respective DataField column). For example, if I

    have a column called Available, the possible values for it are Yes or
    No. In case it is "Yes" I need a label in that column and in case it is

    "No" I need a hyperlink. Pls help.
     
    , Sep 20, 2006
    #1
    1. Advertisements

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. carlos perez
    Replies:
    0
    Views:
    564
    carlos perez
    Jun 8, 2004
  2. John E.
    Replies:
    3
    Views:
    4,728
    masoud bayan
    Mar 25, 2005
  3. vishnu
    Replies:
    1
    Views:
    1,435
    Patrick.O.Ige
    Mar 25, 2006
  4. Replies:
    0
    Views:
    417
  5. Replies:
    0
    Views:
    365
  6. Replies:
    1
    Views:
    441
    Baski
    Sep 22, 2006
  7. johnsonlim026
    Replies:
    0
    Views:
    1,086
    johnsonlim026
    Feb 27, 2010
  8. John E.

    Move bound column to right of dynamic column in datagrid?

    John E., Mar 24, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    458
    Elton Wang
    Mar 28, 2005
Loading...