ListView. Update and Cancel.

Discussion in 'ASP .Net' started by shapper, Jan 31, 2008.

  1. shapper

    shapper Guest

    Hello,

    I created a ListView at runtime by implementing the ITemplate.

    Inside my Edit Item template I have custom control, named MyForm,
    that contains two buttons:
    "Update" and "Cancel"

    When one of the buttons is clicked a Command event of MyForm is fired.
    Inside this event I can detected which button was clicked.

    My question is: how to fire the cancel or update action of my
    ListView?

    My ListView is connected to a LinqDataSource.

    Thanks,
    Miguel
     
    shapper, Jan 31, 2008
    #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. shapper

    ListView ... Update and Insert

    shapper, Feb 8, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    1,162
    shapper
    Feb 8, 2008
  2. shapper
    Replies:
    1
    Views:
    683
    shapper
    Feb 12, 2008
  3. shapper

    ListView. Cancel. It does not!

    shapper, Mar 6, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    377
    shapper
    Mar 6, 2008
  4. Lubomir

    ObjectDatasource - Cancel, ListView

    Lubomir, Feb 2, 2010, in forum: ASP .Net
    Replies:
    0
    Views:
    545
    Lubomir
    Feb 2, 2010
  5. .
    Replies:
    0
    Views:
    734
Loading...

Share This Page