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

partial class

When creating a web form in VS 2005, the IDE creates a partial class for
the code behind. My first question: Is there any way to disable this
feature? And if not, how does one easily locate the other part of the
class [.cs] file?

There are many cases where I might want to manually tweak event
handlers. Also, I like to be able to see the all of the declarations,
such as the form's control variables. With the partial class, I can't
seem to do any of this easily. Can anybody help?
*** Sent via Developersdex http://www.developersdex.com ***
Oct 6 '06 #1
1 1274
The pulldown box for Members in vis studio code view will show the methods
in the other partial part greayed, sleect them and it takes you to them and
greys the ones in the partial class you were just viewing
"Phil Townsend" <ph*******@gmail.comwrote in message
news:Oi**************@TK2MSFTNGP04.phx.gbl...
When creating a web form in VS 2005, the IDE creates a partial class for
the code behind. My first question: Is there any way to disable this
feature? And if not, how does one easily locate the other part of the
class [.cs] file?

There are many cases where I might want to manually tweak event
handlers. Also, I like to be able to see the all of the declarations,
such as the form's control variables. With the partial class, I can't
seem to do any of this easily. Can anybody help?
*** Sent via Developersdex http://www.developersdex.com ***

Oct 6 '06 #2

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

Similar topics

16
by: pawel.pabich | last post by:
Hajo, I would like to have 2 my own partial classes. For example: Default.aspx.cs Default2.aspx.cs and they both will relate to Default.aspx page.
3
by: George Meng | last post by:
Is there a way to build partial class on the fly, the partial class then extend the class which is already complied? For example: I have a class public class TheClass ...... End Class ...
2
by: Billy | last post by:
In .Net 2, when I have created a strongly typed dataset of a SQL table and then 'viewed' the code from the RHM menu. I am taken to the new partial class; as expected, but why do I have a partial...
9
by: blackdog | last post by:
I compiled *.cs which contains public partial class xxx: System.Web.UI.Page I got errors as below: xxx_cs.aspx.cs: error CS1518: Expected class, delegate, enum, interface, or struck. Please...
3
by: Lau Lei Cheong | last post by:
A few quick questions: Is there a limitation on how much partial class files we can have for a single class? And can a ASP.NET page file inherit a class from multiple code-behind files? if so,...
2
by: Hiten | last post by:
Is it possible to have more code behind file but that file will have same class in way of partial class, Default Structure I -------------- Homepage.aspx + Homepage.aspx.cs (this .cs file...
3
by: bradw2k | last post by:
In 2.0, can a partial class inherit from a partial class to override a virtual method? I do not have VS2005 installed to test, I'm just trying to plan with respect to upgrading to 2.0 later. If...
2
by: Joseph Geretz | last post by:
When I create a Form, the VB IDE creates the following files in the following hierarchy: Form1.cs Form1.Designer.cs Form1.resx Both Form1.cs and Form1.Designer.cs are partial implementations...
4
by: Phil Barber | last post by:
I have two web pages in a VS 2005 project. the first page has a struct defined and used in the partial class: public partial class InterIndex : System.Web.UI.Page { public struct TXMLData {...
5
by: SAL | last post by:
Hello, I would like to be able to set the WHERE clause of a select statement on the fly. I have a DataAccess layer designed using the DataSet designer and a BusinessLogic layer using classes. The...
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: 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
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
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
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
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.