Tag Archives: how to

Pepole picker validation at client side in javascript or JQuery.

User can validate a people picker/editor created from server side code while submitting the page using javascript.   if ($(“div[id$=’pePeoplePickerName_upLevelDiv’]”).find(‘span’).text() == “”) { valid = false; alert(‘Please enter user in people picker.’) } Advertisements

Posted in SharePoint | Tagged , , , , , , , , , , , , | Leave a comment

Custom Error Page in SharePoint 2013/2010

Open Web.Config file for your web application. For Custom Error – I change in web config tags <SafeMode MaxControls=”200″ CallStack=”false” DirectFileDependencies=”10″ TotalFileDependencies=”250″ AllowPageLevelTrace=”true”> <customErrors mode=”On” /> For Custom Error – II change in web config tags <SafeMode MaxControls=”200″ CallStack=”true” DirectFileDependencies=”10″ … Continue reading

Posted in SharePoint | Tagged , , , , , , , , , | Leave a comment