Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Literal content ('<asp:ListItem Value="4 Text="All"></asp:ListItem>') is not allowed within a 'System.Web.UI.WebControls.ListItemCollection'.

Source Error:


Line 381:                        <asp:ListItem Value="2" Text="26th March 2022 Saturday"></asp:ListItem>
Line 382:                        <asp:ListItem Value="3" Text="27th March 2022 Sunday"></asp:ListItem>
Line 383:                        <asp:ListItem Value="4 Text="All"></asp:ListItem>
Line 384:                    </asp:CheckBoxList>
Line 385:                    </div>

Source File: /Registration_Form/School_Registration.aspx    Line: 383


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0