Tuesday, August 31, 2010

Free Guide [Installing and Configuring SharePoint 2010] PDF Version

It's limited time offer, Free download Now, PDF version:
Free Download: http://tinyurl.com/Install-Config-SharePoint-2010

Saturday, August 28, 2010

Creating User Control For Sharepoint 2007 With Ajax

Please have a look on smart part, This is the best control to be used and easily deployed.

http://smartpart.codeplex.com/

To enable Ajax in Sharepoint .

Steps:
1 # download ajax tool kit and library from microsoft site and install it.
2 # change entries in web.config which is the most difficult part as there are many of them.
3 # you can use Ajax in User Controls you develop in visual studio , but the problem here is if you downloading ajax tool kit 1.1 and creating control in ajax tool kit in greater version then it will not work , try to work with same tool kit you have installed on sharepoint server.


Steps

1 : Install smart part feature from above link.
2 : Create Custom User Control ( ASCX ) in Visual Studio.
3 : Use those controls

Note : if you dont want ajax then simply install smart part and create usercontrols and deploy them

Enjoy !

for details email me @ rahimkhowaja@hotmail.com

Wednesday, August 25, 2010

How to hide "New" button from from MOSS 2007 List ??

Following are some of the things you can do to resolve this ..

1# Use Javascript to hide the New button. ex.
var oNewButton = docuement.getElementById('zz14_New0');

2# This can also be done Out of the Box: just allow the management of Content Types, delete the List Content Type 'Document' and hide the New Folder button via the Advanced Settings.

3# Just give "Read" permissions to the users you don't want to see new button , your problem is solved , But when you give read permissions, the users also can't upload documents anymore.

4# set the Toolbar Type to "Summary Toolbar", only upload is allowed by doing this.