Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Questions about SC samples

    am looking into your samples showing how to modify records in XML bound grid: Data integration\XML\Edit and Save. In these examples data applied to a ListGrid is hard coded. It's not what happens in reality. How can I use same approach but with the data that is actually entered by a user?

    Thanks

    #2
    Hi Mark
    For this kind of straight XML databinding, the pattern is as follows:

    When the user updates the grid, an update operation will be kicked off, sending details of the update to the specified dataURL. The format in which those changes are sent to the server is governed by the specified dataProtocol for your dataSource (or for the specific binding).
    You will then need code on your server which responds to the URL being hit by:
    - taking the data passed in as part of the request, and updating your server storage (for example updates a record in a database)
    - writes out an XML response dynamically, which will be the same format as in the examples.

    If you want more information on this, the docs on client side data integration are a good place to start.

    Comment

    Working...
    X