Welcome To Snipplr
Everyone's Recent Snippets Tagged sharepoint
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath
<form>
        
        
        
            0 
        
        
            1315 
        
                    posted 15 years ago by rumremix
            This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
        
        
        
            0 
        
        
            1635 
        
                    posted 15 years ago by rumremix
            This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
        
        
        
            0 
        
        
            1438 
        
                    posted 15 years ago by rumremix
            converts date/time that sharepoint kicks out to m/d/y format.
        
        
        
            0 
        
        
            1211 
        
                    posted 15 years ago by rumremix
            <input>
 
When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user.
 
You could also put any URL in the __redirect={} that yo...
        
        
        
            0 
        
        
            1092 
        
                    posted 15 years ago by rumremix
            this snippet allows you to dynamically set the value of a SharePoint lookup field based on a URL parameter
        
        
        
            0 
        
        
            1618 
        
                    posted 15 years ago by digiteyes
            An important thing to keep in mind about adding groups is that you add groups to site collections and not webs. To do this, we access the SiteGroups collection rather than the Groups collection.
In order to assign permissions, each group you add n...
        
        
        
            0 
        
        
            1475 
        
                    posted 15 years ago by blackf0rk
            This will delete all items in a SharePoint list. Better than looping through a SPListItemCollection and doing a .delete();
        
        
        
            0 
        
        
            1579 
        
                    posted 15 years ago by blackf0rk
            In order to accurately get the next ID from a SharePoint list you need to access the content database for one reason: If you delete all the items from a list, and execute this simple code: list.Items[list.ItemCount -1].ID) + 1 the ID will always retu...
        
        
        
            0 
        
        
            1247 
        
                    posted 15 years ago by blackf0rk
            This command will fix the “The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes." error when saving a list (including content) that's too big.
        
        
        
            0 
        
        
            1156 
        
                    posted 16 years ago by blackf0rk
            
