Button column

Discussion in 'ASP .Net Datagrid Control' started by Kiyomi, Nov 24, 2005.

  1. Kiyomi

    Kiyomi Guest

    Hello,

    Could we have more than one "Edit, Update, Cancel" button column in one
    DataGrid ?
    If it is possible, how can we manage in the code behind EditCommand,
    UpdateCommand and CancelCommand for each button ?

    I would like to have two buttons, "Validate" and "Reject", and make them as
    EditCommand for each button. Then I would like to have "OK" for each button
    as UpdateCommand (of course, the different codes for on click Validate OK
    and on click Reject OK), and "Cancel" for each button as CancelCommand.

    Would it be possible ? or is there any way to do the same with a single
    button column ?

    Thank you for your kind help,

    Kiyomi
     
    Kiyomi, Nov 24, 2005
    #1
    1. Advertising

  2. Kiyomi

    Kiyomi Guest

    Thank you, I will look at it.

    Kiyomi
    "S.M. Altaf [MVP]" <> wrote in message
    news:...
    > Hi Kiyomi,
    >
    > It's possible to have your own buttons. Have a look at TemplateColumns in
    > MSDN, for the datagrid.
    >
    > HTH
    > Altaf
    > --------------------------------------------------------------------------

    ------
    > All that glitters has a high refractive index.
    > www.mendhak.com
    >
    > "Kiyomi" <> wrote in message
    > news:...
    > > Hello,
    > >
    > > Could we have more than one "Edit, Update, Cancel" button column in one
    > > DataGrid ?
    > > If it is possible, how can we manage in the code behind EditCommand,
    > > UpdateCommand and CancelCommand for each button ?
    > >
    > > I would like to have two buttons, "Validate" and "Reject", and make them
    > > as
    > > EditCommand for each button. Then I would like to have "OK" for each
    > > button
    > > as UpdateCommand (of course, the different codes for on click Validate

    OK
    > > and on click Reject OK), and "Cancel" for each button as CancelCommand.
    > >
    > > Would it be possible ? or is there any way to do the same with a single
    > > button column ?
    > >
    > > Thank you for your kind help,
    > >
    > > Kiyomi
    > >
    > >

    >
    >
     
    Kiyomi, Nov 25, 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. Guest
    Replies:
    2
    Views:
    597
    Guest
    Nov 10, 2003
  2. Jim Hammond
    Replies:
    1
    Views:
    3,646
    bruce barker
    Nov 26, 2003
  3. Hai Nguyen
    Replies:
    0
    Views:
    409
    Hai Nguyen
    Jan 16, 2004
  4. carlos perez
    Replies:
    0
    Views:
    423
    carlos perez
    Jun 8, 2004
  5. =?Utf-8?B?V2FyYW4=?=

    HyperLink Column and Button Column in a DataGrid

    =?Utf-8?B?V2FyYW4=?=, Aug 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    612
    =?Utf-8?B?V2FyYW4=?=
    Aug 9, 2005
Loading...

Share This Page