ASP.NET MVC Controls
C1Json Method

The controller
The data
The content type
The content encoding
The json request behavior
Serialize data to json for C1 data.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function C1Json( _
   ByVal controller As Controller, _
   ByVal data As Object, _
   Optional ByVal contentType As String, _
   Optional ByVal contentEncoding As Encoding, _
   Optional ByVal behavior As JsonRequestBehavior _
) As JsonResult

Parameters

controller
The controller
data
The data
contentType
The content type
contentEncoding
The content encoding
behavior
The json request behavior

Return Value

The json result
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JsonConvertHelper Class
JsonConvertHelper Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback