473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

I can not produce the file *.aspx.designer.vb

Useing vs2008 I created a new web site.

I opened .aspx file to get the tab titled Default.aspx, which has the
views: Source, Split and Design

I draged a couple of components on to the .aspx (design) surface.
I right-clicked default.aspx and selected View Component Designer to get a
tab titled Default.aspx.vb[Design]

Which contains the message: To add components to your class drag them from
the toolbox....
I also opened the .vb file to get the tab titled: Default.aspx.vb
I've run the program and also clicked show all files.
But I can not produce the file *.aspx.designer.vb

The contents of the .vb and the .aspx files are listed below.
I checked the website folder there is no *.aspx.designer.vb file there.
Do I have something setup wrong??

Thanks

Partial Class _Default

Inherits System.Web.UI.Page

End Class

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title></title>

</head>

<body>

<form id="form1" runat="server">

<div>
</div>

<asp:Button ID="Button1" runat="server" Text="Button" />

<asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>

</form>

</body>

</html>
Oct 13 '08 #1
2 2593
Did you create a Web Site Project or a Web Application Project. The Web Site
Project, which was introduced with VS 2005, doesn't have designer files.
That could be the issue you're running into. If you go to File | New | We
Site, then that's the type of application that will be created. You'll want
the Web Application Project which is under the File | New Project and is
then under the C# | Web or VB.Net | Web project trees.

Hope this helps,
Mark Fitzpatrick

"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP02.phx.gbl...
Useing vs2008 I created a new web site.

I opened .aspx file to get the tab titled Default.aspx, which has the
views: Source, Split and Design

I draged a couple of components on to the .aspx (design) surface.
I right-clicked default.aspx and selected View Component Designer to get a
tab titled Default.aspx.vb[Design]

Which contains the message: To add components to your class drag them from
the toolbox....
I also opened the .vb file to get the tab titled: Default.aspx.vb
I've run the program and also clicked show all files.
But I can not produce the file *.aspx.designer.vb

The contents of the .vb and the .aspx files are listed below.
I checked the website folder there is no *.aspx.designer.vb file there.
Do I have something setup wrong??

Thanks

Partial Class _Default

Inherits System.Web.UI.Page

End Class

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title></title>

</head>

<body>

<form id="form1" runat="server">

<div>
</div>

<asp:Button ID="Button1" runat="server" Text="Button" />

<asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>

</form>

</body>

</html>

Oct 14 '08 #2
Thanks a lot. That clears up that confusion. I have a Web Site Project. I
read about the Web Application Project and see no reason to go that way. Is
it used often?
I'm trying to learn why, when I open an .aspx file in Design mode only the
Master page shows. That is the asp:Content does not show! I started with the
Personal Web Site Starter Kit which I found under New/Web Site. It gave the
option to convert to 3.5 but I stayed with 2.0.

I just created another new project like that and it shows the content OK.

So I did something to cause the problem but can't image what!

Got ant ideas?
Thanks again
"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Did you create a Web Site Project or a Web Application Project. The Web
Site Project, which was introduced with VS 2005, doesn't have designer
files. That could be the issue you're running into. If you go to File |
New | We Site, then that's the type of application that will be created.
You'll want the Web Application Project which is under the File | New
Project and is then under the C# | Web or VB.Net | Web project trees.

Hope this helps,
Mark Fitzpatrick

"AAaron123" <aa*******@roadrunner.comwrote in message
news:eu**************@TK2MSFTNGP02.phx.gbl...
>Useing vs2008 I created a new web site.

I opened .aspx file to get the tab titled Default.aspx, which has the
views: Source, Split and Design

I draged a couple of components on to the .aspx (design) surface.
I right-clicked default.aspx and selected View Component Designer to get
a tab titled Default.aspx.vb[Design]

Which contains the message: To add components to your class drag them
from the toolbox....
I also opened the .vb file to get the tab titled: Default.aspx.vb
I've run the program and also clicked show all files.
But I can not produce the file *.aspx.designer.vb

The contents of the .vb and the .aspx files are listed below.
I checked the website folder there is no *.aspx.designer.vb file there.
Do I have something setup wrong??

Thanks

Partial Class _Default

Inherits System.Web.UI.Page

End Class

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title></title>

</head>

<body>

<form id="form1" runat="server">

<div>
</div>

<asp:Button ID="Button1" runat="server" Text="Button" />

<asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>

</form>

</body>

</html>


Oct 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ericvdb | last post by:
Hi all, I'm trying to fill a PDF form with asp.net using the FDF Toolkit. I have a simple form with a textbox and a button. When the button is clicked, the pdf should open with the field filled...
10
by: Brian Henry | last post by:
Hi, I am having a problem with an attachment system I made... it works with files up to ~3MB in size then after that if you try to upload a file it just goes to a "Page can not be displayed" page...
1
by: BW | last post by:
I am creating an upload/download function for an extranet site. Files will be uploaded to directory based upon the users login and associated project. The function works as long as I use "c:\Temp"...
1
by: Anonieko | last post by:
Here are some of the approaches. 1. Transform DataGrid http://www.dotnetjohn.com/articles.aspx?articleid=36 3. Use the Export approach ...
6
by: john | last post by:
The standard method to transmit a file from an aspx page to a browser is to stream the file to the response then end the response. The HTML code generated by the aspx page is discarded, and the...
7
by: tshad | last post by:
I have a problem with a VS 2003 project. This project was designed and works fine in VS 2003. But trying to open the project I get the following error....
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
7
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them...
0
by: bharathreddy | last post by:
Here I will given an example on how to access the session, application and querystring variables in an .cs class file. Using System.Web.HttpContext class. 1) For accesing session variables :...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.