Re: Help casting a dynamic user control to the type i need
- From: "Tarun Mistry" <nospam@xxxxxxxxxx>
- Date: Sat, 25 Feb 2006 12:38:38 -0000
It appears the following code works:
MyPlaceHolder.Controls.Add(LoadControl("AddTestReferralTestData.ascx"));
AddTestReferralTestData refControl =
(AddTestReferralTestData)MyPlaceHolder.Controls[i];
.
- References:
- Help casting a dynamic user control to the type i need
- From: Tarun Mistry
- Help casting a dynamic user control to the type i need
- Prev by Date: How to change data displayed in one GridView depending on selection made in the second one? (ASP.NET 2.0)
- Next by Date: Beginner ASP.NET help
- Previous by thread: Help casting a dynamic user control to the type i need
- Next by thread: How to change data displayed in one GridView depending on selection made in the second one? (ASP.NET 2.0)
- Index(es):