hey guys!
I am creating the webpart(as usercontrol) dynamically and add them to the dummy zone and then close that zone, so basically It will go to the page catalog part... My code is something like below :
Control
control = LoadControl("~/UserControl/" + strFName);
control.ID =
"control";
WebPart myWebPart = WebPartManager1.CreateWebPart(control);
myWebPart.Title = strFName;
WebPart newPart = WebPartManager1.AddWebPart(myWebPart,WebPartManager1.Zones[0], 0);
WebPartManager1.CloseWebPart(newPart);
and also it is being added to the page catalog part very well...... But..... there is always but....
but it is being only added to that particular users's Pagecatalog only.... and What I am trying to implement is Administer can upload the webpart like above and that webpart will be available to All users's pagecatalogpart...
any Idea or any disucussion ??????
Please help....
work smarter, Not Harder.
Bhavesh Patel