473,396 Members | 1,996 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.

Code render blocks: When rendered in asp.net page life cycle

Hi all,

when are code render blocks rendered in asp.net page life cycle?
what method does the code render block rendering?

thanks!
ingo
Nov 19 '05 #1
3 2304
Same as all the other controls -- in the Page's Render method.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi all,

when are code render blocks rendered in asp.net page life cycle? what
method does the code render block rendering?

thanks!
ingo


Nov 19 '05 #2
For the ASP.NET 1.1 page lifecycle, see :
http://msdn.microsoft.com/asp.net/ar...bjectmodel.asp

For the ASP.NET 2.0 page lifecycle, see :
http://msdn.microsoft.com/library/de.../internals.asp

Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
==========================

<ingo.beyer*nospam@pc-*nospam-*ware.de> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
Hi all,

when are code render blocks rendered in asp.net page life cycle?
what method does the code render block rendering?

thanks!
ingo

Nov 19 '05 #3
the render blocks are converted to code at the compile pass. the generated
code (except callbacks) is run during FrameworkInitialize, which is called
before any event processing. This is also when all the parsed (those defined
in the aspx page source) asp controls are created.

-- bruce (sqlwork.com)

<ingo.beyer*nospam@pc-*nospam-*ware.de> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
Hi all,

when are code render blocks rendered in asp.net page life cycle?
what method does the code render block rendering?

thanks!
ingo

Nov 19 '05 #4

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

Similar topics

4
by: lawrence | last post by:
Maybe its late and I'm tired but I don't understand what I'm seeing on the screen. I have this block of code: $choiceMade = $_GET; if ($simpleMode == "y" && $choiceMade == "") {...
17
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but...
2
by: Roshawn Dawson | last post by:
Hi, Does code contained in <% %> blocks cause postbacks to the server? Thanks, Roshawn
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
0
by: peridian | last post by:
Hi, I wanted a web page where I could post code to, and have it appear in coloured formatting based on the context of the code. Most of the techniques I have seen for this involve complex use...
1
by: | last post by:
I've built an application that scrapes JPG images of webpages and PDF instances of those webpages automatically from an RSS feed. References to the scraped resources are persisted to our database....
2
by: mad.scientist.jr | last post by:
In .NET 2.0, is there any way to include comments in the aspx file that do not get rendered to the client (ie no <!-- -->) ? When I try to include C# comments in a code block in an aspx page,...
2
by: Just Me | last post by:
Does anyone know if one can get to a representation of the rendered page ( after ) render. ?
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
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...
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
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.