473,385 Members | 1,655 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,385 software developers and data experts.

WHERE IS *.ASPX.DESIGNER.VB FILES???????

I am so frustrated, as is USUAL using Visual Studio.
NONE, NOOOOONE of my aspx files have associated designer.vb files available
(And yes, they all have the .vb code behind files).
All of my aspx files were created with the seperate code file option. I
never needed to access the designer files before, so I have no idea if they
were ever there. If they are not, how are events being wired up? They MUST be
present. Now that I DO need them, I cannot access them at all. I have tried
clicking the "show all files" in solution exporer, which is always dimmed out
but is clickable. And what makes it worse is I have just spent 2 hours
pulling my hair out on google with no results, as is usual when dealing with
Visual Studio issues. It's times like this that I SOOOOOOO REGRET not
learning UNIX/JAVA instead!!!!!!!!!
Please help me, if for anything, the $1,000's of dollars that I have spent
on MSDN subscriptions!
Jan 18 '08 #1
3 7169
Hello pickedaname, if you create a new website (not a web application) then
there will not be any designer file and event wiring is through the aspx.
Can you post your page, if wiring is not event present in aspx?

Thanks,
Harshal

"pickedaname" <pi*********@community.nospamwrote in message
news:38**********************************@microsof t.com...
>I am so frustrated, as is USUAL using Visual Studio.
NONE, NOOOOONE of my aspx files have associated designer.vb files
available
(And yes, they all have the .vb code behind files).
All of my aspx files were created with the seperate code file option. I
never needed to access the designer files before, so I have no idea if
they
were ever there. If they are not, how are events being wired up? They MUST
be
present. Now that I DO need them, I cannot access them at all. I have
tried
clicking the "show all files" in solution exporer, which is always dimmed
out
but is clickable. And what makes it worse is I have just spent 2 hours
pulling my hair out on google with no results, as is usual when dealing
with
Visual Studio issues. It's times like this that I SOOOOOOO REGRET not
learning UNIX/JAVA instead!!!!!!!!!
Please help me, if for anything, the $1,000's of dollars that I have spent
on MSDN subscriptions!
Jan 19 '08 #2
You've most likely made an ASP .NET Web "Site", rather than an ASP .NET "Web
Application Project" (only available in VS 2005 SP1 or VS 2008).

With web "sites", there is no .designer.vb file because the code is
dynamically compiled when it is called. You'll notice that in the Page
Directives (in the .aspx source code) that the AutoEventWireUp directive is
set to true, this means that as long as your event handler names are a
combination of the control name, an underscore and the event name, along
with appropriate parameters, the event will automatically "wire up" to the
event handler.

Any controls you put on your page are created "declaratively" and so, no
..NET code actually exists for them at design-time.

What is it that you need to do that you can't do with this model?

-Scott
"pickedaname" <pi*********@community.nospamwrote in message
news:38**********************************@microsof t.com...
>I am so frustrated, as is USUAL using Visual Studio.
NONE, NOOOOONE of my aspx files have associated designer.vb files
available
(And yes, they all have the .vb code behind files).
All of my aspx files were created with the seperate code file option. I
never needed to access the designer files before, so I have no idea if
they
were ever there. If they are not, how are events being wired up? They MUST
be
present. Now that I DO need them, I cannot access them at all. I have
tried
clicking the "show all files" in solution exporer, which is always dimmed
out
but is clickable. And what makes it worse is I have just spent 2 hours
pulling my hair out on google with no results, as is usual when dealing
with
Visual Studio issues. It's times like this that I SOOOOOOO REGRET not
learning UNIX/JAVA instead!!!!!!!!!
Please help me, if for anything, the $1,000's of dollars that I have spent
on MSDN subscriptions!
Jan 20 '08 #3

Hi Scott,
I was trying to add a MultiMenu control to a test page (I want to test
before I move it to the production master page) within the same site. I
cannot handle events for this control. in the code behind, when I create a
sub for the multiMenu1_MenuItemClicked, the "Handles MultiMenu1.Clicked"
portion is underlined. "Handles clause requires a withevents variable defined
in the containing type or one of its base types." So what you are saying is
if I create a sub
MultiMenu1_MenuItemClicked Sub without the Handles clause and
autoeventwireup is true it will create this on the fly. The question is, am I
free to create this sub in the code behind file, where the others are, or
must I insert this into a script block in the .aspx file? Thanks.

"Scott M." wrote:
You've most likely made an ASP .NET Web "Site", rather than an ASP .NET "Web
Application Project" (only available in VS 2005 SP1 or VS 2008).

With web "sites", there is no .designer.vb file because the code is
dynamically compiled when it is called. You'll notice that in the Page
Directives (in the .aspx source code) that the AutoEventWireUp directive is
set to true, this means that as long as your event handler names are a
combination of the control name, an underscore and the event name, along
with appropriate parameters, the event will automatically "wire up" to the
event handler.

Any controls you put on your page are created "declaratively" and so, no
.NET code actually exists for them at design-time.

What is it that you need to do that you can't do with this model?

-Scott
"pickedaname" <pi*********@community.nospamwrote in message
news:38**********************************@microsof t.com...
I am so frustrated, as is USUAL using Visual Studio.
NONE, NOOOOONE of my aspx files have associated designer.vb files
available
(And yes, they all have the .vb code behind files).
All of my aspx files were created with the seperate code file option. I
never needed to access the designer files before, so I have no idea if
they
were ever there. If they are not, how are events being wired up? They MUST
be
present. Now that I DO need them, I cannot access them at all. I have
tried
clicking the "show all files" in solution exporer, which is always dimmed
out
but is clickable. And what makes it worse is I have just spent 2 hours
pulling my hair out on google with no results, as is usual when dealing
with
Visual Studio issues. It's times like this that I SOOOOOOO REGRET not
learning UNIX/JAVA instead!!!!!!!!!
Please help me, if for anything, the $1,000's of dollars that I have spent
on MSDN subscriptions!
Jan 20 '08 #4

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

Similar topics

1
by: Umut Tezduyar | last post by:
Where is the designer generated 'partial' class. I want to see it also. But i only see my .aspx class and it's partial code behind class. There must be another class that the designer binds events...
5
by: mj | last post by:
Hi, I use VS 2005 to create a Web site, there should be some .designer.cs files for the Web Forms, but I can't find them. And I want to override the Page class's PreInit method, how can I do...
1
by: rampabbaraju | last post by:
In my project I have two web pages with the same functionality, but the controls are placed in different places in each page. Application compiles and runs properly and produces the results I am...
21
by: Goofy | last post by:
I see that the code behind is now a partial class. So where is the code associated with the server controls declaration etc ? Is this generated on the fly now, or am I missing something ? --...
1
by: Nathan Sokalski | last post by:
I have an ASP.NET application in which I register several of my usercontrols in the Web.config file's <system.web><pages><controls></controls></pages></system.websection. However, my usercontrols...
2
by: JB | last post by:
I have existing aspx pages that I'm editing in VS 2005 that I add a server control to - like a label. I include the runat="server" and it doesn't seem to create the reference in the code behind for...
1
by: Nathan Sokalski | last post by:
Visual Studio 2005 recently stopped generating the *.designer.vb files for my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe I did anything differently than normal prior to...
0
by: Nathan Sokalski | last post by:
I have several UserControls (*.ascx files) that I register in my Web.config file under the <system.web><pages><controlselement. If I mistype the src attribute in the Web.config file, the pages that...
2
by: AAaron123 | last post by:
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.