Giri
Giri

Reputation: 65

Showing a DevExpress AspxPopUpControl when user clicks a button

I have added a aspxpopupcontrol to my website.

I want to show this pop when a user clicks a button. I don't know how to invoke the controller.

How can this be done?

Upvotes: 2

Views: 18459

Answers (1)

DevExpress Team
DevExpress Team

Reputation: 11376

There are two ways to show the ASPxPopupControl - using the server side and client side code. To show the ASPxPopupControl from the server code, set the ASPxPopupControl.ShowOnPageLoad property to true. To invoke the ASPxPopupControl from a client side code, call the ASPxPopupControl's Show method. The How to show the ASPxPopupControl example demonstrates both ways.

Upvotes: 5

Related Questions