Codebehind and inherit questions

  • Thread starter Thread starter Thomas Scheiderich
  • Start date Start date
T

Thomas Scheiderich

I have page that works fine, but I am not sure how it is working.

At the top of the page I have:

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="phonelist.aspx.vb" Inherits="openworx._phonelist" %>

I can find the "phonelist.aspx.vb", which I understand.

But it errors on trying to find "openworx._phonelist". There is no file
called that. What is it? and where would I look for it?

Also, what is AutoEventWireup?

Thanks,

Tom.
 
Thomas Scheiderich said:
I have page that works fine, but I am not sure how it is working.

At the top of the page I have:

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="phonelist.aspx.vb" Inherits="openworx._phonelist" %>

I can find the "phonelist.aspx.vb", which I understand.

But it errors on trying to find "openworx._phonelist". There is no file
called that. What is it? and where would I look for it?

"openworx" is a namespace. Check the properties of your web project to see
what the root namespace is set to.

Also, make sure you build the project. Remember that codebehind needs to be
compiled.
Also, what is AutoEventWireup?

I'm not 100% sure. I don't use it.
 
hi,

AutoEventWireup is a boolean property available to an ASP.NET page to bind
different page events to their respective handlers automatically (if you set
it true).

rgds
joyjit
 
Back
Top