I've tried using findcontrol on the listview but it comes back as null.I'm trying to get access controls in the Edit Item Template of a listview when the user edits an item. After we call Data Bind method Item Data Bound event is fired.This code is the second part of "if statements" in the Item Data Bound event handler.We will follow the previous post example for the data editing.The first thing you have to do to add the data editing capabilities is defining the Edit item and Insert item templates.
In this post I will show you the full data editing capabilities of and code.
In addition I will explain how to dynamically attach event handlers to Text Box control in Here Mudassar Ahmed Khan has explained how to bind ASP.
Net Drop Down List control in Edit Item Template of Grid View.
property is set to "Edit".) This enables you to perform a custom routine whenever this event occurs, such as canceling the edit operation.
A List View Edit Event Args object is passed to the event handler, which enables you to determine the index of the current item.