开发者

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

开发者 https://www.devze.com 2023-02-03 16:56 出处:网络
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开发者_如何学

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

精彩评论

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