Last post Apr 18, 2018 10:41 AM by mgebhard
Apr 18, 2018 09:42 AM|tredwebasp|LINK
Is it possible to create a web page without events such as Page_Load,
I'll explain, i have an empty page and, with if blocks i create controls and add it to main div of page based on a variable. All this file use code behind for add controls to a page, so if i want to use this process to create an amp version of my page i
I already tried to use the costructor, but with this method i can't use page.request and page.response, fundamental to my page, i tried to disable autoeventwireup but the page_load event don't raise and my page remain empty, i tried to add custom handler
Anyone have an idea for my problem?
Apr 18, 2018 10:41 AM|mgebhard|LINK
It sounds like ASP Web Forms is not a good fit for your project.
Look into MVC which will be easier to integrate with the AMP API.