Event

S

shapper

Hello,

I have a ListView with an EditItemTemplate.

Usually 2 buttons are added to the EditItemTemplate: Cancel widh
CommandName="Cancel" and Update with CommandName="Update".

However, inside a EditItemTemplate I added instead a custom control
which creates a form with the Cancel and Update buttons.

I created an event inside this custom control named Command that when
raised looks as folllows:

Private Sub fTag_Command(ByVal sender As Object, ByVal e As
CommandEventArgs)

Select Case e.CommandName
Case "Cancel" End Select ' e.CommandName

End Sub

When I cancel or update nothing happens.
How can I make the form to cancel edit or update?

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top