tag:blogger.com,1999:blog-6831292026292542607.post5475404152323834420..comments2023-04-11T08:05:39.253-07:00Comments on Avinash: Hide Web part titleAvinashhttp://www.blogger.com/profile/12901530400733922399noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6831292026292542607.post-51168609578793779942010-12-10T09:55:05.887-08:002010-12-10T09:55:05.887-08:00Hi Makarand,
Try this code...
using (SPSite site...Hi Makarand,<br /><br />Try this code...<br /><br />using (SPSite site = new SPSite("site"))<br /> {<br /> using (SPWeb web = site.OpenWeb())<br /> {<br /> SPLimitedWebPartManager manager = web.GetLimitedWebPartManager(“url”,System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared);<br /> foreach (System.Web.UI.WebControls.WebParts.WebPart part in manager.WebParts)<br /> {<br /> part.ChromeType = PartChromeType.None;<br /> try<br /> {<br /> manager.SaveChanges(part);<br /> }<br /> catch (Exception e)<br /> { }<br /> }<br /> }<br /> }Avinashhttps://www.blogger.com/profile/12901530400733922399noreply@blogger.comtag:blogger.com,1999:blog-6831292026292542607.post-22039938009644528852010-12-08T03:00:50.107-08:002010-12-08T03:00:50.107-08:00Hi.. Myself Makarand
the information which u have...Hi.. Myself Makarand<br /><br />the information which u have given is correct. I am also doing the same but programmatically.. <br /><br />After doing this the title & border disappears but the problem is that some blank space is generated in place of Title. I dont want this blank space. <br /><br />Do you hav any solution for this<br />If yes then do mailto: makarandthengdi@gmail.com <br /><br />Thanx in adv<br />MakMαkαrαηd Theηgdi's Bℓσghttps://www.blogger.com/profile/11094392951231028289noreply@blogger.comtag:blogger.com,1999:blog-6831292026292542607.post-83537994098178549692008-04-24T07:48:00.000-07:002008-04-24T07:48:00.000-07:00Hello AvinashCan you give me your email id or phon...Hello Avinash<BR/><BR/>Can you give me your email id or phone? I have some queries related with Sharepoint search and infopath list?Ashish Kanoongohttps://www.blogger.com/profile/06318917800859175845noreply@blogger.com