How to Find Ajaxfileupload Control Inside Listview When in Editmode

I am trying to find ajaxcontroltoolkit: ajaxfileupload that is placed inside a ListView in EditItemTemplate mode. I need to say that I already tried to find this control in my ListView in these two events with no result: ItemEditing and ItemDataBound. Should I forget to use ajaxfileupload inside a ListView or GridView? or is there a solution to this problem ?!

+1
source share
1 answer

Try the TemplateControl property:

 ListView1.TemplateControl.FindControl("contrlID"); 
0
source share

All Articles