Ticket Q243279
Visible to All Users

Refresh view after popup is closed

created 15 years ago

Hi,
I've read the question http://www.devexpress.com/issue=Q212633 but I don't understand how to apply this to my scenario or maybe I don't know if it apply to my scenario.
I have a file import process. I've implemented a popup action controller that implement the import process and finally it opens a new popup window with the process summary. (ListView --> "Import" click --> Popup1 is open. select file, process, etc --> Popup2 is open --> Refresh ListView when it closes)
How I can refresh the ListView after the user close the second popup?
Thanks in advance,
Marcelo

Show previous comments (3)
MS MS
Marcelo Schostik 15 years ago

    Hi Dennis,
    thanks for your reply.
    I've replaced the single action for a popup action but I don't know how to execute the new popup action by code.
    I've read the article E1393 but the DoExecute method needs a Window parameter that I do not have. (see the attached image)
    Thanks in advance,
    Marcelo

    Dennis Garavsky (DevExpress) 15 years ago

      Hello Marcelo,
      Thanks for the update. We are researching your problem and will answer ASAP. Please bear with us.
      Thanks,
      Dennis

      Dennis Garavsky (DevExpress) 15 years ago

        Hello Marcelo,
        Thanks for your patience and sorry for the inconvenience, caused by pointing you to a wrong direction. Further research showed that it's not possible to utilize the approach, described in the Q212633 issue, in your particular scenario, in the Web application.
        It's possible to execute the PopupWindowShowAction in the Windows Forms via a specific helper, but it's not possible to do this on the Web, because the Web scenario doesn't support this functionality.
        However, it's possible to implement your scenario (ListView --> "Import" click --> Popup1 is open. select file, process, etc --> Popup2 is open --> Refresh ListView when it closes) using another solution. It's demonstrated in the attachment.
        Take special note that the main ListView can be only refreshed before the second popup is shown, because later when you click the OK button, it's not possible to update the main page on the client side.
        Let me know if this solution meets your needs.
        Thanks,
        Dennis

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.