hi
i have a set of webparts for each loan.first i selected homeloan and loaded all the webparts like
for(-----------------)
{
usercontrol = "ProviderFactory." + usercontrol;//providerfactory is the project name where i wrote all the webpartsType objType = BuildManager.GetType(usercontrol, true, true);WebPart myPart = (WebPart)Activator.CreateInstance(objType);
MyWebpartManager.AddWebPart(myPart, WebPartZone1, 3); }
and it will load all the webparts into the aspx page and if i select other loantype then the webparts for the selectedloan and the previous webparts will load into the aspx page.
actually i want only the webparts for the selected laontype
what can i do???
Thanks
Arun