RhythmAddict112
Programmer
hey all...New vs.net and .net user here...Please bare with me. Im about to go back to notepad! okay...everytime I create a new web form vs.net puts a line like this at the top..
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm6.aspx.vb" Inherits="WebForm6"%>
That's all fine and well. When I start adding server controls to WebForm6.aspx, they do get added to the codebehind...When I try to load the page, i always get this 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: Could not load type 'WebForm6'.
It only finds the codebehind when I change that top line to
<%@ Page Language="vb" AutoEventWireup="false" src="WebForm6.aspx.vb" Inherits="WebForm6"%>
Whats up with this? What am I missing here? I have a feeling this has somethin to do with the other error I get when I try to open a webForm that I had previously saved..
"The file failed to load in the Web Form designer. Please correct the following error...Visual studio cannot open designer for the file because the class within it does not inherit from a class that can be visually designed.
I dont necessarily care about even using "design" mode, but without it none of my controls get created on my codebehind..if someone can shed some light on these, I would really be appreciative.
Use your resources, you're on the internet!
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm6.aspx.vb" Inherits="WebForm6"%>
That's all fine and well. When I start adding server controls to WebForm6.aspx, they do get added to the codebehind...When I try to load the page, i always get this 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: Could not load type 'WebForm6'.
It only finds the codebehind when I change that top line to
<%@ Page Language="vb" AutoEventWireup="false" src="WebForm6.aspx.vb" Inherits="WebForm6"%>
Whats up with this? What am I missing here? I have a feeling this has somethin to do with the other error I get when I try to open a webForm that I had previously saved..
"The file failed to load in the Web Form designer. Please correct the following error...Visual studio cannot open designer for the file because the class within it does not inherit from a class that can be visually designed.
I dont necessarily care about even using "design" mode, but without it none of my controls get created on my codebehind..if someone can shed some light on these, I would really be appreciative.
Use your resources, you're on the internet!