Hi there,
I'm a bit of a noob when it comes to asp.net and c# coding as I've just started learning it so please excuse me if this quesiton sounds stupid. The code I have entered below works fine in an .aspx file, however when I seperate the C# code into an aspx.cs file I get the red underlining for both 'UserAccountWizard' and 'RegisterPatientWizard'. Is there any solution to this as I'm completely baffled right now. Here is all of the code in the .aspx file:
<%@ Page Title="" Language="C#" MasterPageFile="~/BCUHealthCentreOnline.master" CodeFile="~/App_Code/PatientRegister.aspx.cs" Inherits="PatientRegister" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<script runat="server">
protected void CreateUserWizard_CreatedUser(object sender, EventArgs e)
//This event handler grabs the new Patient's username from the 'UserAccountWiza ...
Go to the complete details ...