Tag Info

New answers tagged

1

Yes, the nodes are being alphabetically sorted and the Sequence property only applies when the Name property is exactly the same. To fix, use a little XPath trickery to get your nodes to sort in the correct order (first modules[1=1] then modules[2=2]): SPSecurity.RunWithElevatedPrivileges(delegate { SPWebService spWebService = ...


0

create your user control then add to masterpage: <%@ Register TagPrefix=”myUserControl” TagName=”myUserControlPage” Src=”~/_controltemplates/myUserControlFolder/myUserControlPage.ascx” %> now all you need todo is add the control to where ever you want using this: <myUserControl:myUserControlPage ID=”myUserControl” runat=”server” /> very ...


0

I already created different custom user control that I use in different web part or application page. Open Visual Studio and create an Empty SharePoint Project Right click on the project item and add a user control, visual studio creates different folder and files Write your code Publish (create a wsp file) Deploy it on your farm. The control is stored ...


2

While developing for SharePoint 2010/2013 using Visual Studio 2010/2012/2013, Microsoft provides an excellent integration to package third-party assemblies and safe control entries via package designer. Package designer not only helps you with packaging you SharePoint solutions but also allows you to add the assembly references, SafeControl entries and ...


0

This is the best way to do it. You can programmatically modify the web config on feature activated/deactivated to maintain and update whatever web config is being used when you activate your feature. Keep in mind the scope of your feature however. A few more options but I don't suggest manual updating.



Top 50 recent answers are included