Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

PopupControl - How to display the control after executing controller code

$
0
0
This example illustrates several approaches to display the PopupControl extension after performing server-side processing. In the simplest scenario we use the PopupControlSettingsBase.ShowOnPageLoad option to display the popup control initially. Note that we can pass any dynamic settings or content for the popup control through the ViewData dictionary. To show the popup control on the client side, we can call the ASPxClientPopupControlBase.Show() method. In addition we can use the ASPxClientPopupControlBase.SetContentHtml method to modify popup content on the client side.

Finally, there is a scenario when the popup control should be displayed after a callback of some other extension. Please review the T159638 - GridView - How to show a message after CRUD operations code example, where we have illustrated how this can be implemented.

See also:
How to make PopupControl stay open after submitting a form using Ajax.BeginForm

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>