Why does my webform not detect the contents of my listbox until OnSaveStateComplete? How can I detect them earlier?
I have an ASP.NET webform with two dropdownlists and a listbox cascading from each other in this order:
I have an ASP.NET webform with two dropdownlists and a listbox cascading from each other in this order:
On postback, how can I check which control cause postback in Page_Init event.
I’m looking to get a more thorough understanding of the ASP.NET page lifecycle. I’m in the process of building custom form controls and have found my knowledge in this area to be lacking. Are there any resources, tutorials, etc. that you’ve used to better understand this area? Are there any tools you’ve used to improve … Read more
Question #1
Is there an event that is triggered after all Page_Load events have completed?
I’ve recently ran into some code that checks Page.IsCallBack but I wasn’t sure how it is different from Page.IsPostBack. Can anyone enlighten me?
Consider the scenario:
I have an aspx and inside it an ascx.
From a short testing I see the PageLoad of the aspx is called before the PageLoad of the user-Control but the opposite is true for OnInit.
I keep on hearing this words “Viewstate Chunking”.
What is Viewstate Chunking?
I found that if you press F5 or refresh from browser window, the last event fires again. For ex. I have clicked on a button the button event is carried out normally, but if i press F5 from browser window then the same event is fired again.