![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
Hi, I am trying to load a control (.ascx) that also has an associated code-behind file. I use Page.LoadControl to do so, but I'm seeing some weird results. Only the markup in the .ascx file is loaded and everything in the control's associated code-behind file is ignored. If I add a break point to even the OnInit function, it doesn't get hit. Is there a way to load a control (dynamically) and have it's code-behind work as expected? Thanks Jim |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |