Tag Info

Hot answers tagged

3

You can, however it'll require adding code to the parent page and utilizing window.postMessage(). You will have to add an event listener on the parent page to listen for the message, and then open the dialog: window.addEventListener("message", receiveMessage, false); var receiveMessage = function(event) { if (event.origin !== "your app") return; ...


3

As Pradip has already told the reason for this behaviour I won't repeat it here again. But there are a couple of things you can try. Have a look at this article, Inconvenient Content Query Web Part and server-relative URLs, which suggests - Another way to get around this issue is to use a Feature Receiver. After activating the Feature that provisions ...


2

If you enter a URL into the Content Editor Web Part as a relative link, the link converts to an absolute URL when the entry is saved. This automatic conversion can be an issue if you are deploying content from a staging environment to production, where absolute URLs reference the original server's name. To address this automatic conversion issue, You ...


1

You can save User data as below string[] userarray = a.CommaSeparatedAccounts.ToString().Split(',');; SPFieldUserValueCollection usercollection = new SPFieldUserValueCollection(); for (int i = 0; i < userarray.Length; i++) { SPFieldUserValue usertoadd = ConvertLoginAccount(userarray[i]); usercollection.Add(usertoadd); } ...


1

Change the path to include reference from 15 hive i.e private const string _ascxPath = @"~/_CONTROLTEMPLATES/15/


1

The web part gallery is a special document library that is located at the root of each site collection. I dont think you can create another custom Web Part Gallery, because this library having direct links with web.config files safe control section. Web Parts are server-side controls that run inside the context of site pages in Microsoft SharePoint ...


1

Picture Library Slideshow web part In SP2013, there is a check box Show Toolbar use that to hide next previous and pause control



Only top voted, non community-wiki answers of a minimum length are eligible