DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Stats
Total Count : 7
Resources Publish New Article  
 
converting generic list/object to JSON and JSON to list/Object using JavaScriptSerializer in .NET
Ashok Nalam
In this article we will see how to convert an .NET object or generic list to JSON and JSON to .NET object or list using JavaScriptSerializer class.
By: Ashok Nalam | 17 Dec 2012 | C# | Views: 40134 | Comments: 0 | Tags:conversion  generics  JSON  list 
_spPageContextInfo javascript variable in sharepoint
Ashok Nalam
_spPageContextInfo variable provides few properties which will be useful in JavaScript and client object model code.
By: Ashok Nalam | 28 Mar 2013 | Silverlight | Views: 14830 | Comments: 0 | Tags:javascript  list  properties 
What is custom list template in sharepoint site
Ashok Nalam
Inbuilt SharePoint provides some predefined list of templates like Announcements,Calendar,Picture Library,Links...etc. If none of templates are meeting you requirement, you can create your own custom list instance and define columns/views for the list. This list is called Custom List.

In-order to create new custom list, Go to Site Contents -> Add an App -> Select Custom List -> Provide Name for Your Custom list.After creating list, add columns and views to it.
Create Column/View for List: Open created Custom List -> List Settings -> Create Column/View

Note: By default every Custom List will have 5 columns (Title, Modified, Created, Created By and Modified By).
By: Ashok Nalam | 20 Jun 2013 | Sharepoint | Views: 2617 | Comments: 0 | Tags:.NET  list 
What are the default columns added to SharePoint Custom List template
Ashok Nalam
When we create a Custom List in SharePoint site, By default 5 columns are added to custom list which are
  1. Title (Single line of text) - Mandatory field that defines a title for each list item.
  2. Created (Date and Time) -  When the user has created the current item.
  3. Modified (Date and Time) - When the last user has modified the current item.
  4. Created By (Person or Group) - User who created the current item.
  5. Modified By (Person or Group) - User who last modified the current item.
We can modify the column properties by clicking on Column Name from List Settings.
By: Ashok Nalam | 20 Jun 2013 | Sharepoint | Views: 3293 | Comments: 0 | Tags:.NET  list 
What are the view formats for SharePoint Custom List template
Ashok Nalam
When we create a Custom List in SharePoint site, we need to map the list to View. By default when we create List, it will be mapped to "All Items" standard view. But we can change the view for the list. 

Each view is created from View Type and below are the available view types
  1. Standard View  - View data on a Web page. You can choose from a list of display styles.
  2. Calendar View -  View data as a daily, weekly, or monthly calendar.
  3. Datasheet View  - View data in an editable spreadsheet format that is convenient for bulk editing and quick customization. 
  4. Gantt View  - View list items in a Gantt chart to see a graphical representation of how a team's tasks relate over time. 
  5. Custom View in SharePoint Designer  - Start SharePoint Designer to create a new view for this list with capabilities such as conditional formatting. 
In order to see the available view types, Go to Custom List Settings -> Create View -> View Type.
By: Ashok Nalam | 20 Jun 2013 | Sharepoint | Views: 3453 | Comments: 0 | Tags:.NET  list 
.NET program to convert list string to comma separated string
Ashok Nalam
The snippet shows how to convert list of string values to comma separated string values in quicker way using String.Join method.
By: Ashok Nalam | 29 Jan 2014 | C# | Views: 3805 | Comments: 0 | Tags:list  string 
Program to remove duplicate values from a generic list using C# and VB.NET
Ashok Nalam
This snippet shows how to remove duplicate values from a generic list.
By: Ashok Nalam | 14 Apr 2014 | LINQ | Views: 5308 | Comments: 0 | Tags:C#  enumerable  generics  linq  list  VB.NET