>>>
>>> 'System.EventArgs' does not contain a definition for 'FindControl' and no extension method 'FindControl' accepting a first argument of type 'System.EventArgs' could be found (are you missing a using directive or an assembly reference?)
>>>
>>>Also my problem is that control is not being found so it would still return null.
>>>
>>
>>Dang, serves me right for pasting code into the editor on the UT then making changes. The code should be:
>>
>>protected void DropDownList2_DataBound(object sender, ListViewItemEventArgs e)
>
>Hi Paul
>
>now I get
>
>System.Web.UI.WebControls.ListViewItemEventArgs' does not contain a definition for 'FindControl' and no extension method 'FindControl' accepting a first argument of type 'System.Web.UI.WebControls.ListViewItemEventArgs' could be found (are you missing a using directive or an assembly reference?)
Dang, twice in a row.
DropDownList list = e.Item.FindControl("DropDownList2") as DropDownList;