Datagrid - setting edit template for multiple records based on condition

Discussion in 'ASP .Net' started by lj, Jan 26, 2006.

  1. lj

    lj Guest

    How do I get an asp.net datagrid to set certain records as
    tedittemplate based on a certain condition.

    It is for a simple workflow. The user will have permission to see a
    list of records. He will be able to select all records he has
    permission to approve and that have not already been approved and click
    on a button to approve them. These records I want to display in
    edittemplate mode with a checkbox. The others I just want to display
    as itemtemplate.

    Also how do I get a list of the selected items in the datagrid.

    Thanks in advance.
     
    lj, Jan 26, 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. Dieter Depuydt

    DataGrid All Records in Edit Mode ?

    Dieter Depuydt, Jul 6, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    591
    Axel Dahmen
    Jul 9, 2003
  2. Vijay Pathak via .NET 247

    Insert Multiple Records at a time based on checkbox selection

    Vijay Pathak via .NET 247, Sep 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    652
    Vijay Pathak via .NET 247
    Sep 22, 2004
  3. Schultz
    Replies:
    3
    Views:
    747
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  4. -
    Replies:
    12
    Views:
    953
    Remon van Vliet
    Jun 15, 2005
  5. Ezee
    Replies:
    6
    Views:
    1,728
  6. Paul D. Fox

    Hyperlink template column and change link text based on Condition

    Paul D. Fox, Jun 15, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    569
    Kim Quigley
    Jun 16, 2005
  7. archuleta37

    edit multiple records in a gridview with one postback

    archuleta37, Feb 9, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    1,399
    archuleta37
    Mar 2, 2007
  8. Bill W.
    Replies:
    13
    Views:
    541
    Phillip Gawlowski
    May 9, 2011
Loading...