ASP.NET C# DataList FindControl & Header/Footer template causes error
- by m3n
Hello,
whenever I use the Header or Footer template of DataList, FindControl is unable to find a label part of the DataList, and throws a NullReferenceException.
My SQLDataSource and DataList (no Header and Footer template - works):
<asp:SqlDataSource ID="sdsMinaKop" runat="server"
ConnectionString="<%$…