Questions tagged [page-lifecycle]

When a page is requested on the web the server goes through a number of stages before sending back a response. Thus, the page life cycle is runs between request to response on the server.

Main steps in lifecycle are:

  1. Page request
  2. Start
  3. Initialization
  4. Load
  5. Postback event handling (if it is a postback request)
  6. Rendering
  7. Unload

More information: http://msdn.microsoft.com/en-us/library/ms178472.aspx

471 questions
0
votes
2 answers

JSF El expression retaining old value (JSF life cycle)

I have create a test project with JSF2.0 and richfaces. I am trying to plot chart. Now, I got value from database to bean and to datatable. Now when I wanted to pass this value to javascript varible and found this answer from The BalusC very…
kinkajou
  • 3,664
  • 25
  • 75
  • 128
0
votes
2 answers

Models not updating on initial load of homepage in Wicket

I'm having some problems understanding what I'm doing wrong. What I do: Override getHomePage() in my Application. I return MyStartPage.class. MyStartPage is a subclass of MySubPage. MySubPage is a subclass of MySuperPage. In MySuperPage I add a…
bumaklion
  • 171
  • 12
0
votes
3 answers

Custom SharePoint WebPart - Custom Property Setting Issue

I am developing a custom list-search tool. I have multiple custom properties to retain which list the search queries, as well as which fields to query in the search. EXAMPLE UI DROPDOWN(Selected fields in list) TEXTBOX(Query) SEARCHBUTTON My…
0
votes
2 answers

Is there a Performance Difference in having Code in the ASPX file?

Putting code at aspx files is slower? The code is recompiled every access? At my mind, code at aspx file is compiled at first access together their dll(maybe in Page_Init) and moved to Temp Asp.Net folder. And .aspx file just is necessary for IIS…
Felipe Pessoto
  • 6,855
  • 10
  • 42
  • 73
0
votes
1 answer

How to load in order of Master Master->Nested Master->Page

My setup require 2 level of master page because I am loading data in Master Master which is shared across my application with different Nested Masters. So right now I need Master Master to load my data first, then load stuff in Nested Master, then…
Bill Software Engineer
  • 7,362
  • 23
  • 91
  • 174
0
votes
3 answers

Loading Nested UserControls in ASP.NET

I've got an issue with nested controls not loading properly. I've tried various page methods and nothing seems to work. EDIT: The site compiles and runs fine--it just leaves a blank screen though. Basically I have a wrapper control for a Chart that…
Chet
  • 21,375
  • 10
  • 40
  • 58
0
votes
1 answer

Sharepoint web-form submit Thanks Message issue

I have a web-part that includes a simple web form. After submitting the web form, the user sees a thank you or an error message. It is in a codeBehind on Click_event: lblMessage.Text = "Your Profile Details were updated successfully"; And code in…
Serhio g. Lazin
  • 9,442
  • 6
  • 25
  • 33
0
votes
1 answer

How to Load IFrame after PageLoad

I have one page .aspx, and in page , I have put an iframe on header page. Is it possible that iframe loads after page load finishes?
Empty
0
votes
2 answers

Textbox not updating on page load ASP.net

I have a dynamically built table on the page load of my web page containing textboxes with defaults that can be changed by the user. There is also some validation on the user input values (e.g., input can not be less than zero). When the user…
jas
  • 537
  • 1
  • 7
  • 12
0
votes
1 answer

How to allow portion of the page load at the very last?

I working in application development using ASP.NET in C#. I have a Grid View which I wanted it to load at the very last of the page load. The page should load the master page first, where all images and other functionality was loaded, then only load…
sams5817
  • 1,037
  • 10
  • 34
  • 49
0
votes
1 answer

How to use PreviousPage?

On pippo.aspx and pippo2.aspx pages (Webform, .NET 3.5) I have this code, in the Page_Load : Response.Write("Result: " + Page.PreviousPage.Request["idconcorso"] + ""); Well, I call pippo.aspx, and the result is Result:. Than, I call from pippo.aspx…
markzzz
  • 47,390
  • 120
  • 299
  • 507
-1
votes
2 answers

How does an aspx page is execute?

Possible Duplicate: What is the 'page lifecycle' of an ASP.NET WebForm? I have studied a lot of article on execution process in .net. What i found is that Language code(C#,vb, j# etc.) ----> language compiler ---> MSIL code -----> now this MSIL…
Ankush Jain
  • 71
  • 2
  • 9
-1
votes
1 answer

Adding response header after Page load

I am working on a legacy service that has 30 aspx pages with years of business logic There is a parent aspx page which acts as a base page that the above aspx pages inherit from. I need to add a Response header and I am having trouble finding the…
user3451476
  • 297
  • 1
  • 4
  • 17
-1
votes
1 answer

Why is Page_Load() hit twice on long-loading page?

I have a page that depending on the data it is bringing back can take a very long time (minutes) to load, with the majority of this time spent in a method called from Page_Load(). I have noticed that once a certain time threshold is hit,…
-1
votes
1 answer

Global variable value not persisting on page postback in asp.net

I'am implementing a quiz portal type web application. First question is fetching fine from db. clicking on next button,next question is fetching fine. Now again clicking on next or prev button nothing happens! Concept used - made a global variable…
Jai hind
  • 85
  • 1
  • 11
1 2 3
31
32