• Posts Tagged ‘SharePoint’

    Custom JavaScript validation in SharePoint

    by  • April 7, 2010 • MOSS 2007 • 0 Comments

    In this article we will see how to implement client side validation in SharePoint list with out using SharePoint designer. For this follow the below steps Navigate to the newform.aspx or editform.aspx page and open it in edit mode Note: you can append the following query string &pageview=shared&toolpaneview=2 to the URL (http://mysite/ Lists/job/NewForm.aspx?pageview=shared&toolpaneview=2) to open [...]

    Read more →

    SharePoint Security Trimming using SPSecurityTrimmedControl

    by  • April 5, 2010 • MOSS 2007 • 1 Comment

    If you want to hide SharePoint Controls (eg.Site Actions menu ) based on the user’s permission level or assign specific access to a user then you can use the SharePoint’s builtin control SPSecurityTrimmedControl. Below code will allow the user to view site usage report. Some permission string attributs are ManageLists CancelCheckout AddListItems EditListItems DeleteListItems ViewListItems ApproveItems [...]

    Read more →