title: error Unable to cast object of type 'ASP.cp_adminsmaster_master' to type 'System.Web.UI.HtmlControls.HtmlControl'
body: <p>i created html generic controls as (ul) and (il)
  at runtime 
  then iwanna to loop inside my page to get all ul and il crated in run time 
  wrote this code to loop inside page controls</p>
  
  <pre><code>foreach (HtmlGenericControl item in Page.Controls)
  {
  
  
  }
  </code></pre>