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

MySql variables and php -

c# - How can I find out if there are windows above a control? -

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