473,799 Members | 3,065 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clarification Needed

Hi all,

I have a developer that likes to work using all code behind forms no matter
the size of the page, whereas I don't usually use this format.

Today when I went to remove a field from one of his sections I ran into a
problem. It kept referencing this field even though it was totally gone off
of the codebehind page and the actual form.

It was my understanding that the codebehind would compile when needed and a
small change such as this would not affect the application. What am I
missing?
Thanks a bunch :)
Nov 18 '05 #1
3 1104
Lerp,

When a page is using code behind, it will look for the page it inherits from
in the dlls in the bin folder. The .cs files do not even need to be in the
web application folder when the app is deployed. Any changes made to code
behind files must be recompiled in order for them to take effect.

Edd.

--
Edd Connolly

MCP 70-315

"Lerp" <ad***@officien ce.ca> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi all,

I have a developer that likes to work using all code behind forms no
matter
the size of the page, whereas I don't usually use this format.

Today when I went to remove a field from one of his sections I ran into a
problem. It kept referencing this field even though it was totally gone
off
of the codebehind page and the actual form.

It was my understanding that the codebehind would compile when needed and
a
small change such as this would not affect the application. What am I
missing?
Thanks a bunch :)

Nov 18 '05 #2
Anything in code-behind must be compiled manually (through either csc.exe or
VS.NET). Any changes in the ASPX page are compiled dynamically by ASP.NET
and seen immediatly.

"Lerp" <ad***@officien ce.ca> wrote in message
news:#5******** ******@TK2MSFTN GP11.phx.gbl...
Hi all,

I have a developer that likes to work using all code behind forms no matter the size of the page, whereas I don't usually use this format.

Today when I went to remove a field from one of his sections I ran into a
problem. It kept referencing this field even though it was totally gone off of the codebehind page and the actual form.

It was my understanding that the codebehind would compile when needed and a small change such as this would not affect the application. What am I
missing?
Thanks a bunch :)

Nov 18 '05 #3
Thank you gentlemen, I was beginning to suspect such conditions.

Cheers, Lerp :)
"Lerp" <ad***@officien ce.ca> wrote in message
news:#5******** ******@TK2MSFTN GP11.phx.gbl...
Hi all,

I have a developer that likes to work using all code behind forms no matter the size of the page, whereas I don't usually use this format.

Today when I went to remove a field from one of his sections I ran into a
problem. It kept referencing this field even though it was totally gone off of the codebehind page and the actual form.

It was my understanding that the codebehind would compile when needed and a small change such as this would not affect the application. What am I
missing?
Thanks a bunch :)

Nov 18 '05 #4

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

Similar topics

5
1482
by: ma740988 | last post by:
Consider a number of instances of template class vector<a>, vector<b> ..., vector<f> The types are - of course different. Of interest is an efficient way to access them at runtime. One approach. if ( condition A is satisfied ) use vector<a>
8
6201
by: Victor | last post by:
I need a JavaScript timer - I have five events I need to time, that can be triggered by a mouseclick event, or a keypress event. Each event is separated by only one to two seconds. The first event (mouse or key) starts the timer. Then, each time the event (mouse or key) occurs, I need to display the present time in the corresponding spot on the screen (so when it's over, the screen is displaying five times for each corresponding event)....
15
1941
by: deko | last post by:
With all due respect to Stan Leszynski and Greg Reddick, I'm still wondering how to name controls on forms in my Access MDB. Correct me if I'm wrong... If a textbox or other control on a form is *bound* to a table field named "FullName", then it should *not* be named "txtFullName", but rather just "FullName" - that is, the name of the textbox on a form should always be the *same as the name of the table field* it's bound to. And...
21
2014
by: aegis | last post by:
7.4#1 states The header <ctype.h> declares several functions useful for classifying and mapping characters.166) In all cases the argument is an int, the value of which shall be representable as an unsigned char or shall equal the value of the macro EOF. If the argument has any other value, the behavior is undefined. Why should something such as: tolower(-10); invoke undefined behavior?
8
1848
by: Sai Kit Tong | last post by:
In the article, the description for "Modiy DLL That Contains Consumers That Use Managed Code and DLL Exports or Managed Entry Points" suggests the creation of the class ManagedWrapper. If I need to build multiple mixed mode dll's used by a consumer application, do I have to implement multiple ManagedWrapper's (each embedded in indiviudal DLL project) and call all of them in my consumer application?
3
1282
by: Jon Booth | last post by:
I have just started programming .NET having come from ASP. We used to create a connection and store it in a session.This meant for each user logging into the site there was only one connection Now with ASP.NET using the SqlClient libraries this is not possible (No doubt for good reasons). So for each page before I need to access the DB I call objConnect = new SqlConnection(connectionString);
4
1476
by: vivekian | last post by:
Hi, Have this following hierarchy which am implementing for a networking program. The base class 'ASocket' is the base class from which 'AListener' and 'ATalker' inherit . None of the functions in the derived classes would override functions from the base class. The derived classes would extend the base class. A couple of doubts : 1. Should the functions in the base class be declared virtual ?
2
2924
by: ravir | last post by:
Hi, I am new to this group. I am working in Perl and shellscripts. I have a clarification regarding perl grep and pattern matching. I am writing a perl script to automate the process of code review upto some level so that the reviewer and developer's time can be reduced during the code review. In my script, I am using pattern matching and grep in many places. So, my clarification is : Is it fine to make use of grep to find a pattern in a...
51
3579
by: fjm | last post by:
Hey everyone. I'm back in search of a better understanding of OOP. I feel like these past couple of months have paid off for me because I am at a point where I am really beginning to understand how this all works. I'd like to get some clarification on a few things first. My questions stem from wanting to use private members and methods. I know that there is a reason for making methods and members public and private and honestly I'm still not...
0
9688
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10247
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10031
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7571
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5593
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.