Discover things
Loading Sequence of the three methods, from top to bottom
Page_init
Page_load
Page_prerender
In addition
The order of loading pages and user controls page_load needs to be changed.
Modify user control page_load (protected-> Public)
Call UCID. page_load (null, null) in page_load of the page );
There is a problem in calling the user control. If ispostback is not added,ProgramWill be run repeatedly
The best thing is to write a public method in the user control and call it on the page.
If you want to verify logon on the motherboard page, you can write the verification method to page_init. The page_init method can run before page_load on the Child page, you have not tested the page_init of the child page and the page_init of the parent page. However, you should run the child page first. If you have time, try it and write it back.