as the last thing to do in the page load paste this code.
ArrayList controlsList = new ArrayList();
foreach (string str in controlsList)
Response.Write(str + "");
Response.Write("Total Controls:" + controlsList.Count);
Add this method to the class:
private void AddControls(ControlCollection page,ArrayList controlsList)
foreach (Control c in page)
if (c.ID != null)
What problem are you trying to solve?
Copyright (c) 2006-2016 SplendidCRM Software, Inc. All Rights Reserved.