I have a nested
DataList in MasterPage.
I'm trying to Findcontrol,
but it returns null
for DataList2.
What I tried so far :
DataList DataList1 = Page.Master.FindControl("DataListMain") as DataList;
DataList DataList2 = DataList1.FindControl("DataListNested") as DataList;
How can I fix this?