-2

I have read many articles explaining ASP.NET page life cycle but I found really confusing results about render method in ASP.NET page life cycle. I am at a basic level and I just want to know the simplest meaning and working of the render method.

mneri
  • 2,127
  • 2
  • 23
  • 34
  • Your question is probably too broad. Please, consider editing it: which part do you find confusing? – mneri Nov 08 '19 at 23:46
  • 1
    if you're talking about asp.net webpages I wouldn't use it anymore. try to focus on aps.net core (mvc, razor pages, blazor, web api) – gsharp Nov 09 '19 at 06:30

1 Answers1

0

In ASP.Net WebForms, most of the time you are working against an object model (Label controls, TextBox controls, Repeaters, ...). However, the browser wants to get HTML.

The job of the Render phase is to translate the control-tree into a single HTML text, which then gets sent to the browser.

If you are a beginner, you shouldn't need to do anything special here.

Hans Kesting
  • 38,117
  • 9
  • 79
  • 111