Hi sorry for the late response
the error i am getting is that it cant find the class to cast
the code i am using is
Control c1 =
LoadControl("~/Controls/MemberPageControls/Uploader/Email/DBUploader.asc
x");
((DBUploader)c1).CurrentCampaign = null;
PlaceHolder1.Controls.Add(c1);
i tried to put the cs code behind the ascx file into a namespace then
import that namespace but that gives me this error...any body any
idea..it would work if the aspx file is in the same dir as the actual
control i am trying to load up
the error===>
Error 4 'ASP.Hello.FrameworkInitialize()': no suitable method found to
override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temp orary ASP.NET
Files\website3\33dec574\6f269059\nhfoxkh2.0.cs 136
---
Best Regards
Amir
*** Sent via Developersdex
http://www.developersdex.com ***