Posts

Showing posts from 2012

Microsoft SharePoint 2010 Training Tutorial

Image
Microsoft SharePoint 2010 Training Tutorial  [Sites and Templates] Microsoft SharePoint 2010 Training Tutorial [Working with Wikis] Note :credits goes to original uploader

Apply CSS styles to SharePoint Web parts

Image
In SharePoint we are using various types of web parts. List View web part are one of major type which uses to populate data on the web page from a SharePoint list. By default all the web parts of the page use the styles inherits from the site theme. Here I explain a simple workout to apply a CSS style to a web part only using out of the box features of SharePoint 2010. There are only 3 steps for you to follow. 1. Get the ID of web part you wants to apply CSS style 2. Add Content Editor web part 3. Apply CSS style as you required Step 1 ♣ Go to “view source” of the browser you are using and search for the web parts name. In my scenario, it’s “Emergency”.   ♣ Now grab the ID number mentioned there at the end of WebPartTitleWPQ 2 . “2” is the ID of “Emergency” web part in my web page. Step 2 ♣ Now add a Content Editor Web Part by go to edit mode of the page. ♣ Set the Chrome Type as None of the added Content Editor Web Part. Step

SharePoint Number Column Without Commas

Image
Avoiding thousand separator(Comma) in SharePoint Number field SharePoint number fields having thousand separators(Comma) which may not want us to need every time. But there are no possibility to avoid the thousand separator(Comma) in the number fields.  To avoid this comma we can do a small workout as following.. Suppose our Number field named as "Student No." Create another Calculated column and name it as "Student Number" Then you have to type the formula according to the following format     = TEXT( Number_Column_Name, "0") And click Save In our scenario it will show as =TEXT([Student No],"0") Note : If the Student No field will empty, the value will be shown as "0".... Or if you want to keep it blank you have to adjust the formula as   =IF( [Student No] <>"",TEXT( [Student No] ,"0"),"") 

Create SharePoint New Site in FOUR steps

Image
Step One :  Go to the SharePoint site collection you want to create the new site. And click Site Action button to drop down the Site Action menu. The select New Site in Site Action menu Step Two : Select the type of the site template you want to create. Team Site template is the most popular template among those Step Three :  Enter the Title of the site you are going to create and the URL of it        (If you are planning to manage the permission uniquely, click More Option rather than Create ) Step Four : Enter the Site Title and the URL you are going to create. Then select Use unique permission to introduce a different permission structure which not use in the parent site of this newly creating site Click Create button to create the new site.   That's ALL......!

Raising a Button Click event programmatically

Image
When developing windows (C#) forms, as developers we are very much concerning about speedup data entering of users. Minimizing use of mouse, use of tab key to move courser from one text box to another, etc. are main methods can increase data entering speed. Other than that use shortcut key for button operations is also speed up the data entering. As an example thinks that we can assign F2 key for data saving and F3 for deleting addition to having Save and Delete buttons. According to our common practice we are write the code to save the record under button click event of “Save” button. private void btnSave_Click( object sender, EventArgs e) { //The code goes here } private void btnEdit_Click( object sender, EventArgs e) { //The code goes here } To execute same method for F2 key press event, we have to override inherited method of the form which called ProcessDialogKey. Parameters keyData One of the  Keys  values that represents th

Suppress field in Crystal Reports

Image
When implementing a system we are normally inserting default value for the fields in Database rather than inserting NULL values. But when we retrieving data from the database and visualize them from a report, all the default values come to the report. To overcome the situation we can use two methods. One method is mention that default value on a report and says consider it as default value to that relevant field. The other method is use the Suppress option given by the Crystal report engine. To use that option, first you have to create the report in the normal way.  Then select the field you have to suppress and right click on it.  Then you have to select Format Object menu item from the popup menu. Then it will open Format Editor window which will enable to do formatting. Now navigate to Common tab of the window. Now check the Suppress check-box and click the button in front of the suppress check box. Then Formula Workshop window will

Use of Information Rights Management (IRM) in SharePoint

SharePoint is a Collaborating web platform provider which helps us to share documents and other information with the users of the SharePoint site. Information security is a main concern when sharing documents with various people. Information Right Management server facilitate to overcome the information right violation and restrict the access of the documents. Followings are the main advantages of IRM which mentioned on Microsoft.com site 1. Helps to prevent an authorized viewer from copying, modifying, printing, faxing, or copying and pasting the content for unauthorized use 2. Helps to prevent an authorized viewer from copying the content by using the Print Screen feature in Microsoft Windows 3. Helps to prevent an unauthorized viewer from viewing the content if it is sent in e-mail after it is downloaded from the server 4. Restricts access to content to a specified period of time, after which users must confirm their credentials and download the content again ·   

Information Right Management - SharePoint 2010

Image
Applying Information Right management (IRM) policy to your document library in SharePoint 2010 Set IRM policy Create a SharePoint group and set permission level Stop permission inheritance from the parent site Allow newly created group to access the document library which you want to apply IRM policy Add users to the group 1. Go to the Document library which you want to apply information Right Management server ( IRM server)Click the Library tab Then you have to click on the Library Settings icon of the Library tab You can see the following interface under the Library settings Then select Information Right Management under Permissions and Management which will open IRM Policy creation page Permission Policy Title: Give a title to identify the policy you will create. (Give a meaningful name for it) Permission Policy Description: Give a short description to the policy Allow Users to print docum