Server Error in '/asppub' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'ASP.mis3200_unit4_ringu4pos_aspx' does not contain a definition for 'rblSnacks_SelectedIndexChanged' and no extension method 'rblSnacks_SelectedIndexChanged' accepting a first argument of type 'ASP.mis3200_unit4_ringu4pos_aspx' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 102: Would you like any snacks?</td>
Line 103: <td class="style7">
Line 104: <asp:RadioButtonList ID="rblSnacks" runat="server"
Line 105: RepeatDirection="Horizontal" Width="96px" AutoPostBack="True"
Line 106: onselectedindexchanged="rblSnacks_SelectedIndexChanged">
Source File: c:\Users\Ryan\Desktop\asppub\MIS3200\Unit4\RingU4POS.aspx Line: 104
The given error message in my coding class was this:
Snacks: toggle visiblity based on yes/no selection: -2
The list of snacks should only be visible when somebody selects Yes (otherwise, it should be invisible). You needed to double-click the RadioButtonList to create a method which had functionality to toggle the visibility property of the CheckBoxList. For this method to work, you must enable AutoPostBack for the RadioButtonList. "
What am I doing wrong? Any help would be appreciated.