asp.net - controls in code behind -


I was working on a vb.net project and I could not find some control in the code-behind file (*. Vb). I was thinking that this is because I was working in the page_load function, so the controls are not loaded after the page_control event. Although I was able to find them with the findcontrol function of the launch object.

Controls inside the template (such as in your form, in verse, or in gridview) Are not eligible. You will have to use FindControl to access those controls.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -