We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to fire commands of the footer buttons in the SfPopup Layout

Platform: Xamarin.Forms |
Control: SfPopup |
Published Date: March 19, 2018 |
Last Revised Date: March 19, 2018 |
.NET Framework: 4.5.1
Tags: general

In SfPopupLayout for Xamarin.Forms you can handle the click of the accept and decline buttons in the footer area, by writing custom commands derived from ICommand. You can then perform any desired operation in the Execute override of your custom command.


Refer the following code example to write a custom command.


Assign the custom commands to the footer buttons as follows,


We have prepared a sample where we have loaded a popup in button click in the main page. Clicking on the accept button of the popup navigates to the next page and clicking on the decline button dismisses the popup.

We have internally fixed the issue “ Accept and Decline button commands not firing”, and the fix will be available from the 2018 Volume 1 Service Pack 1 release.
However use the assemblies from the below link until then to overcome the above mentioned issue.

Custom assemblies link : http://www.syncfusion.com/downloads/support/directtrac/general/ze/Popup_dll672297334

The above assembly should replace the dll in the below mentioned location.            


{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\pcl\Syncfusion.SfPopupLayout.XForms.dll     

{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\android\Syncfusion. SfPopupLayout.XForms.dll    

{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\android\Syncfusion. SfPopupLayout.XForms.Android.dll    

{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\ios-unified\Syncfusion. SfPopupLayout.XForms.dll   

{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\ios-unified\Syncfusion. SfPopupLayout.XForms.iOS.dll     

{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\uwp\Syncfusion. SfPopupLayout.XForms.dll   

{Syncfusion Installed location}\Essential Studio\ \Xamarin\lib\uwp\Syncfusion. SfPopupLayout.XForms.UWP.dll 

Disclaimer: Please note that we have created this assembly for the version specifically to resolve the accept button and decline button commands not fired issue.

You can download the working sample with the necessary references added from the below link.


2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon