Define a filter based on record value

Discussion in 'ASP .Net Datagrid Control' started by PaulNaude, Oct 17, 2005.

  1. PaulNaude

    PaulNaude Guest

    I have a datagrid with two columns visible, both being dropdown boxes linked
    to other tables.

    Is it possible to filter the datasource of the second column, based on the
    value chosen in the first column?
     
    PaulNaude, Oct 17, 2005
    #1
    1. Advertising

  2. PaulNaude

    Elton Wang Guest

    Hi Paul,

    Yes. You can set datasource of the second column besed on value chosen in
    the first column in datagrid_ItemDataBound event.

    HTH


    "PaulNaude" <> wrote in message
    news:...
    >I have a datagrid with two columns visible, both being dropdown boxes
    >linked
    > to other tables.
    >
    > Is it possible to filter the datasource of the second column, based on the
    > value chosen in the first column?
    >
    >
    >
     
    Elton Wang, Oct 17, 2005
    #2
    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. =?Utf-8?B?UGVkb3I=?=

    datagrid filter for specific record(s)

    =?Utf-8?B?UGVkb3I=?=, Jan 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    3,285
    =?Utf-8?B?UGVkcm8=?=
    Jan 23, 2004
  2. RockNRoll
    Replies:
    1
    Views:
    3,469
    Raterus
    Aug 2, 2004
  3. theotyflos
    Replies:
    3
    Views:
    508
    Thomas Matthews
    Feb 19, 2004
  4. zax75
    Replies:
    1
    Views:
    1,142
  5. Doownai

    Can I filter a list based on Profile Value

    Doownai, Nov 23, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    205
    Doownai
    Nov 23, 2005
Loading...

Share This Page