how to update xml datasource in GridPanel?

  1. #1

    how to update xml datasource in GridPanel?

    There is no datasource update sample for xml in Coolite Examples Explorer (only one sample - SqlDataSource). Can you add a sample in it or tell me how to update xml datasource in GridPanel? Thank you!
  2. #2

    RE: how to update xml datasource in GridPanel?

    Hi,

    As I know the XmlDataSource does not have ability to change source.

    You should to Handle BeforeStoreChanged event of Store on server side and to add your custom logic for save

    You can use in handler
    e.DataHandler.JsonData
    e.DataHandler.XmlData
    e,DataHandler.ObjectData<YourType>
    Vladimir Shcheglov
    Sr. Developer
  3. #3

    RE: how to update xml datasource in GridPanel?

    Thank you! I try.

Similar Threads

  1. Replies: 12
    Last Post: Aug 09, 2013, 2:25 PM
  2. Replies: 2
    Last Post: Apr 11, 2012, 11:10 AM
  3. Replies: 5
    Last Post: Feb 01, 2012, 11:54 AM
  4. update datasource for grid with conbobox value
    By rlasker3 in forum 1.x Help
    Replies: 0
    Last Post: Jun 06, 2010, 9:35 PM
  5. How to Update the GridPanel data to the DataSource
    By animalisme in forum 1.x Help
    Replies: 2
    Last Post: Jun 22, 2009, 3:09 AM

Posting Permissions