aspx not loading in designer
I have been trying to learn asp.net and have copied a page from the
internet. It will not load in the designer. What am I missing? It
looks like it is missing a reference to a code behind page but I am
missing the syntax.
Any help greatly appreciated the page and the error are posted below.
Here is the error I am getting:
The file failed to load in the Web Form designer. Please correct the
following error, then load it again: Visual studio cannot open a
designer for the file because the class within it does not inherit
from a class that can be visually designed.
Here is the .aspx page:
<title>SimplePage3.aspx</title><% @Page src="simplepage3.aspx.vb"
<script language="VB" runat="server">
<form id="WebForm1" method="post" runat="server">
<table border="0" height="239">
<td><asp:textbox id="txtName" runat="server" /></td>
<td><asp:button id="Button1" Text="Send" runat="server" /></td>
<select id="lbHobbies" Multiple runat="server"
<asp:label id="lblOutput" runat="server" />
|All times are GMT. The time now is 10:15 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.