Posted on: 11/21/2014 5:07:58 PM | Views : 350

Hi Fourm, 
Does anybody know why this is happening
If I do this on my page
<asp:Panel ID="Panel2" runat="server"></asp:Panel> and this is my code behind
For Each ctrl As Control In Panel2.Controls Response.Write(Convert.ToString(ctrl.[GetType]()) & "<br>") Response.Write(Convert.ToString("**" & ctrl.ID & "**<br>")) Next Then I get this when I run the code
System.Web.UI.LiteralControl **** When I go through the controls inside a panel, I get an extra literal control with no id and it has not been added by the code 
I want to work it out because I only have checkboxes in the panel normally and I dont want to have to check if it is a checkbox when they should all be checkbo ...

Go to the complete details ...