开发者

What is the equivalent to EditItemIndex of DataList in a ListView control?

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?


Maybe you mean this:

    protected void lvDocs_ItemEditing(object sender, ListViewEditEventArgs e)
    {
        lvDocs.EditIndex = e.NewEditIndex;
        //do whatever
    }//lvDocs_ItemEditing
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜