user controls
-
Hi, I have an aspx web application and few usercontrols. I was wondering if there is a way I can show load these controls at runtime. Forexample, in one case I want to show one control, but in other case I want to show different control in the same web page?? can anyone help me? thenx
-
Hi, I have an aspx web application and few usercontrols. I was wondering if there is a way I can show load these controls at runtime. Forexample, in one case I want to show one control, but in other case I want to show different control in the same web page?? can anyone help me? thenx
Ctrl1.visible = false Ctrl2.visible = true
-
Ctrl1.visible = false Ctrl2.visible = true
-
Yes but in this way both controls will be loaded in which case download time will increase!
Look at your output. Controls with visibility set to false do not get rendered.