0

Acutallly I want to fire item editing events. But how do I find the control? I mean to say as we find the control in edititem event of DataList using EditItemIndex. What is the equivalent to EditItemIndex in a ListView?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
ram singh
  • 1
  • 4

1 Answers1

0

Maybe you mean this:

    protected void lvDocs_ItemEditing(object sender, ListViewEditEventArgs e)
    {
        lvDocs.EditIndex = e.NewEditIndex;
        //do whatever
    }//lvDocs_ItemEditing
Remy
  • 12,555
  • 14
  • 64
  • 104
  • it shows an error my dear that is :"property or indexer 'system.web.ui.webcontrols.listview.edititem' cannot be assigned to --it is read only" Now twll what i do to perform that what modifications require to correct that – ram singh Jan 12 '11 at 16:50