How to reload store data using mvc controller?

  1. #1

    How to reload store data using mvc controller?

    Hi myu friends! Im into this "soap" a fill days, my scenario is:
    Portal > TabPanel > Panel (over here we have the store) > Window

    What wanna: we edit data into Window and when click button Save, the data go to the database (by entity) and we wanna reload the store into Panel to show the new record added.

    Can anybody send a example or a template?
  2. #2
    Hello!

    Try to do the following in the DirectMethod when you save your entities:

    this.GetCmp<Store>("StoreId").Reload();

Similar Threads

  1. Replies: 5
    Last Post: Nov 14, 2012, 5:08 PM
  2. Replies: 1
    Last Post: Jul 02, 2012, 6:19 PM
  3. Replies: 6
    Last Post: Apr 25, 2012, 11:05 AM
  4. [CLOSED] How to access/reload store in razor views/controller
    By machinableed in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 02, 2012, 1:38 PM
  5. [CLOSED] passing data from controller to 'RemoteActionSuccess'
    By jesperhp in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 16, 2011, 6:48 PM

Posting Permissions