I am new to asp.net
I have a website where first line of web user control is:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Login.ascx.cs" Inherits="PERLS.User_Controls.BeforeLogin.Login" %>
Can anyone explain the "Inherits" part in above line?
@NightStalker_DNS; would know better than I, but my guess is it's "inherits" as in OOP class object inheritance. i.e. the code inherits methods and properties from the class.
Do you see an
The problem is when I make any changes to Login.ascx.cs file, it does not take affect. Even if I remove all code in login.ascx.cs file the site still works fine. Please see attached screenshot below:
"Inherits" will point to the code-behind class that the controls are trying to reference. Your code behind file will most likely have a namespace of "PERLS.User_Controls.BeforeLogin" and a class name of "Login".
This topic is now closed. New replies are no longer allowed.