473,399 Members | 4,254 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,399 software developers and data experts.

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 1090
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***@officience.ca> wrote in message
news:%2****************@TK2MSFTNGP11.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***@officience.ca> wrote in message
news:#5**************@TK2MSFTNGP11.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***@officience.ca> wrote in message
news:#5**************@TK2MSFTNGP11.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
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...
8
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...
15
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...
21
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...
8
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...
3
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 ...
4
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...
2
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...
51
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...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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.