I have a 1.1 asp.net project that has been converted by the conversion
wizard. By and large the app runs allright except for one page...
On one of the .aspx pages, the code behind file is not getting executed. It
looks identical to several of the other pages that are executing fine.
CodeFile="PageO ne.aspx.vb" is specified in this page the same way it is
specified in the other pages that are working.
When running the page gets rendered but no code has been executed (at least
not the Page_Load event, or InitializeCompo nent)
--
Regards,
Gary Blakely 5 1638
How are those events hooked up? Is AutoEventWireup set to true?
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
"GaryDean" <Ga******@newsg roups.nospam> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. I have a 1.1 asp.net project that has been converted by the conversion wizard. By and large the app runs allright except for one page...
On one of the .aspx pages, the code behind file is not getting executed. It looks identical to several of the other pages that are executing fine.
CodeFile="PageO ne.aspx.vb" is specified in this page the same way it is specified in the other pages that are working.
When running the page gets rendered but no code has been executed (at least not the Page_Load event, or InitializeCompo nent) -- Regards, Gary Blakely
of course, AutoEventWireup is set to FALSE as it is in all the pages.
My point was the code in this aspx page is identical to the other pages that
work including the codefile statement.
--
Regards,
Gary Blakely
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2******** *******@TK2MSFT NGP14.phx.gbl.. . How are those events hooked up? Is AutoEventWireup set to true?
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "GaryDean" <Ga******@newsg roups.nospam> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..I have a 1.1 asp.net project that has been converted by the conversion wizard. By and large the app runs allright except for one page...
On one of the .aspx pages, the code behind file is not getting executed. It looks identical to several of the other pages that are executing fine.
CodeFile="PageO ne.aspx.vb" is specified in this page the same way it is specified in the other pages that are working.
When running the page gets rendered but no code has been executed (at least not the Page_Load event, or InitializeCompo nent) -- Regards, Gary Blakely
I understand your point, but I figured you wanted help. It is possible
you've simply overlooked something - happens to me all the time.
Perhaps you can try to put your code inline <script runat="server"
language="VB">. ..</script> and see if it that works.
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
"GaryDean" <Ga******@newsg roups.nospam> wrote in message
news:eZ******** ******@TK2MSFTN GP14.phx.gbl... of course, AutoEventWireup is set to FALSE as it is in all the pages.
My point was the code in this aspx page is identical to the other pages that work including the codefile statement.
-- Regards, Gary Blakely
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:%2******** *******@TK2MSFT NGP14.phx.gbl.. . How are those events hooked up? Is AutoEventWireup set to true?
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "GaryDean" <Ga******@newsg roups.nospam> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..I have a 1.1 asp.net project that has been converted by the conversion wizard. By and large the app runs allright except for one page...
On one of the .aspx pages, the code behind file is not getting executed. It looks identical to several of the other pages that are executing fine.
CodeFile="PageO ne.aspx.vb" is specified in this page the same way it is specified in the other pages that are working.
When running the page gets rendered but no code has been executed (at least not the Page_Load event, or InitializeCompo nent) -- Regards, Gary Blakely
No, I have over a hundred complex codebehind files in this huge app. I
don't want to start putting them inline in the aspx pages just to make 2.0
work.
I have never had a problem like this in 1.1 - a codebehind file just failing
to execute. Probably due to the "improvemen ts"
:)
--
Regards,
Gary Blakely
Dean Blakely & Associates www.deanblakely.com
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:O8******** *****@TK2MSFTNG P09.phx.gbl... I understand your point, but I figured you wanted help. It is possible you've simply overlooked something - happens to me all the time.
Perhaps you can try to put your code inline <script runat="server" language="VB">. ..</script> and see if it that works.
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "GaryDean" <Ga******@newsg roups.nospam> wrote in message news:eZ******** ******@TK2MSFTN GP14.phx.gbl... of course, AutoEventWireup is set to FALSE as it is in all the pages.
My point was the code in this aspx page is identical to the other pages that work including the codefile statement.
-- Regards, Gary Blakely
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:%2******** *******@TK2MSFT NGP14.phx.gbl.. . How are those events hooked up? Is AutoEventWireup set to true?
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "GaryDean" <Ga******@newsg roups.nospam> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. I have a 1.1 asp.net project that has been converted by the conversion wizard. By and large the app runs allright except for one page...
On one of the .aspx pages, the code behind file is not getting executed. It looks identical to several of the other pages that are executing fine.
CodeFile="PageO ne.aspx.vb" is specified in this page the same way it is specified in the other pages that are working.
When running the page gets rendered but no code has been executed (at least not the Page_Load event, or InitializeCompo nent) -- Regards, Gary Blakely
I was suggesting you TRY it on that particular page so that we might better
narrow in on the specific issue.
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
"GaryDean" <Ga******@newsg roups.nospam> wrote in message
news:uQ******** ******@TK2MSFTN GP14.phx.gbl... No, I have over a hundred complex codebehind files in this huge app. I don't want to start putting them inline in the aspx pages just to make 2.0 work.
I have never had a problem like this in 1.1 - a codebehind file just failing to execute. Probably due to the "improvemen ts"
:)
-- Regards, Gary Blakely Dean Blakely & Associates www.deanblakely.com "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:O8******** *****@TK2MSFTNG P09.phx.gbl...I understand your point, but I figured you wanted help. It is possible you've simply overlooked something - happens to me all the time.
Perhaps you can try to put your code inline <script runat="server" language="VB">. ..</script> and see if it that works.
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "GaryDean" <Ga******@newsg roups.nospam> wrote in message news:eZ******** ******@TK2MSFTN GP14.phx.gbl... of course, AutoEventWireup is set to FALSE as it is in all the pages.
My point was the code in this aspx page is identical to the other pages that work including the codefile statement.
-- Regards, Gary Blakely
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:%2******** *******@TK2MSFT NGP14.phx.gbl.. . How are those events hooked up? Is AutoEventWireup set to true?
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX! "GaryDean" <Ga******@newsg roups.nospam> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. .. >I have a 1.1 asp.net project that has been converted by the conversion >wizard. By and large the app runs allright except for one page... > > On one of the .aspx pages, the code behind file is not getting > executed. It looks identical to several of the other pages that are > executing fine. > > CodeFile="PageO ne.aspx.vb" is specified in this page the same way it > is specified in the other pages that are working. > > When running the page gets rendered but no code has been executed (at > least not the Page_Load event, or InitializeCompo nent) > -- > Regards, > Gary Blakely > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Graham Allwood |
last post by:
I'm reading the Essential ASP.NET book by Fritz onion and he says that when
VS.NET creates a new .aspx page for you is uses the codebehind attribute on
the Page directive rather than the src attribute. From what I understand the
src attrib is standard ASP.NET but the codebehind attribute is only
understood by VS.NET. Doesn't this make the pages (source code) less
portable? Is there any reason for this?
Hope someone can help.
|
by: Thomas Connolly |
last post by:
I have 2 pages referencing the same codebehind file in my
project. Originally the pages referenced separate code
behind files. Once I changed the reference to the same
file, everything worked fine while the file was in the
project directory. When the obsolete file was removed
from the project directory, my application will no longer
compile. Can someone please help with this issue?
Thank in advance,
Tom
|
by: A.M |
last post by:
Hi,
Using VS.NET 2003, If i use SRC page attribute instead of CodeBehind, do i
still have intelisence and generally IDE support for that?
Thanks,
Ali
|
by: nevets2001uk |
last post by:
Hi. I've just started my second ASP.NET (VB) app and I'm using
codebehind this time.
I'm not using visual studio but am instead coding it all in notepad
(HTML, ASP.NET and CSS)
I'm trying to understand how to best use codebehind to do what I want
to achieve. Basically, so far I have a codebehind file for one page
which works as I wanted but I want other pages to share that
codebehind file. That's no problem except I want each one to...
|
by: Al Wilkerson |
last post by:
Hey,
How do you debug the codebehind file of a web application?
When I put breakpoints and run in debug mode nothing happens. I can't step
through because it looks like the line where the breakpoint is, does not get
executed or recognized as debug line.
I have debug set to 'true' in web.config.
I'm trying to debug why a HtmlTable object I dynamically create in the
| |
by: N. Demos |
last post by:
Hello,
I have a custom usercontrol, of which I have two instances of in my aspx
page. Both the usercontrol and page have codebehind. In the page
codebehind, I want a member variable for each usercontrol. My problem is
that I keep getting a compiler error on the usercontrol variables in my
page codebehind (BC30002: Type 'CityGeoPosSelectClass' is not defined.)
For whatever reason, my usercontrol class is not being declared in the
page...
|
by: wl |
last post by:
Hi,
For an asp.net application I would like to store the DB connectionstring to
be used in a configuration file.
I know I can use the web.config file for this (and know how to read from
it). However, because I have my asp.net application hosted all codebehind
DLL's need to be put into the same BIN directory.
Therefore I would like to store the db configuration string for each
application into it's own configuration file. This...
|
by: Randall Parker |
last post by:
Using VS 2003 and Cassini web server. I'm new to ASP.Net and so this may be a dumb
question.
I'm getting an error where the type 'FarmLand.WebForm1' is not found. The Codebehind
C# source file declares a namespace of FarmLand and a class of WebForm1.
Does one have to restrict which namespace one uses in Codebehind forms? Maybe match
the namespace the aspx file has?
When one adds a namespace then does one have to move the file to a...
|
by: =?Utf-8?B?TmVhbA==?= |
last post by:
Hi
How do I execute an existing script from the codebehind.. forcing a
different form to do a postback and refresh itself but in it's own frame
or alternatively
force a reload of an aspx form in a different frame from the aspx form
which has posted back.
TIA
Neal
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |