Documentation
SolutionDeveloperComplianceProjects
  • Getting Started
  • Technology
    • Application Framework
    • Object-Relational Mapping
    • Security Framework
    • Architecture Pattern
    • API Management
  • Environment
    • Development Tool
    • Database Server
    • Web Server
  • PRESENTATION
    • Design Material
    • HTML Helpers
    • Icon Images
    • Custom CSS
    • JQuery Plugin
      • DataTables
      • Tabs
      • Date Picker
      • Calendar
      • Chart
      • Treeview
    • Client Script
      • Open Modal
      • Close Modal
      • Handle return data
      • Load Content
      • Change Hash
      • Change Title
      • Get actual Hash
      • Get Content
      • Update Content
      • Delete Content
      • Get Partial Content
      • Get Partial Content Async
      • Update Partial Content
      • Update Partial Content Async
      • Delete Partial Content
      • Get Action
      • Update Action
      • Delete Action
      • Cascading Dropdown
      • Display Document
    • MVC View
  • BACKEND
    • Base Controller
    • Controller
    • Base Model
    • View Model
    • Class Utility
      • Constant Values
      • Global Properties
      • Option Helper
      • Setting Helper
    • Data Repository
      • Read Columns
      • Read All Columns
      • Read First Record
      • Read by Primary Key
      • Find Record
      • Insert Record
      • Update Record
      • Delete Entity
      • Delete by Criteria
      • Delete by Primary Key
      • Counting Record
      • Check Exist
      • Generate Row-Id
    • Unit Of Work
    • Data Entity
  • Application Features
    • Account Management
    • Navigation Editor
    • Access Control
  • Examples
    • Simple Page
    • Master Detail
    • Editor Template
Powered by GitBook
On this page
  • Syntax
  • Arguments
  • Description
  • Example
  1. PRESENTATION
  2. Client Script

Update Partial Content Async

Syntax

$.putPartialAsync = function (url, id)

Arguments

url

String

URI of the action whose content should be updated.

id

String

Identifier of the Page Section whose content should be updated.

Description

Loads data from the Server into the Page Section specified in the parameter “id” by sending an HTTPPUT request to the action of the URI specified in “url” asynchronously, i.e. the screen will not be blocked, so the user can simultaneously execute other actions while loading occurs. It should be used when the action of the URI updates data from the database.

Example

The following program illustrates the function call:

$.putPartialAsync("main/partialupdateasync/" + 1234, "div-container-example");

It will send a request to “main/partialupdateasync” along with the parameter of the action set to 1234 (specifying the data to be updated) and load the response into the Page Section by the id of “div-container-example” replacing the content that is currently displayed in that Page Section. During this process, the screen will not be blocked, so the user can simultaneously execute other actions while updating occurs.

PreviousUpdate Partial ContentNextDelete Partial Content

Last updated 2 years ago