Ticket Q288581
Visible to All Users

I don't know how can do to pass the xafapplication parameter when I call the show method from the module project

created 12 years ago

In regard to solution provided in ticket Q427991, I have a new question - can I call the show method from the module project??
How can I do it?

My problem is that I don't know how can do to pass the xafapplication paramenter.

Thanks.

Answers

created 12 years ago (modified 12 years ago)

An XafApplication instance is available within a controller via the Controller.Application property, and within a module via the ModuleBase.Application property.
If this does not help, please explain your scenario in greater detail.

    Comments (2)
    D D
    Dps Developper Dps 12 years ago

      Ok thanks,
      Can you explain me how can I call a simple action that I include in the controller by code?
      Many thanks.

      DevExpress Support Team 12 years ago

        You can execute a simple action via the SimpleAction.DoExecute method.

        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.