I am working with the listview control. By default I am showing the itemtemplate with an edit button. When the edit button is pressed the listview switches to the edititemte
protected void ListView1_ItemUpdating(object sender, ListViewUpdateEventArgs e) { ListBox myListBox = (ListBox)(((ListView)sender).EditItem.FindControl("ListBox1")); }