How to load a user control dynamically in runtime?
Answer / Mohd.asif
To load a UserControl dynamically at runtime, you can use the LoadControl method of the Page class. Here's an example:nnUserControl myControl = (UserControl)Page.LoadControl("~/PathToTheUserControl.ascx");
| Is This Answer Correct ? | 0 Yes | 0 No |
What is multiThreading in .NET?
How to find methods of a assembly file (not using ILDASM) Reflection
How ASP .NET different from ASP?
Major role of CLR for CAS
What is the purpose of IClonable interface in .NET?
1 Answers Sans Pareil IT Services,
What is Event Bubbling in .NET?
What is close method? How its different from finalize and dispose?
What is the procedure to add assemly to gac to make it shared one?
How will you register com+ services?
How server form post-back works?
how we can capture the value in textbox when selectedvluechanged event of gridview is fired
What is a garbage collector?