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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

example of SfDataForm in a dialog context

Thread ID:

Created:

Updated:

Platform:

Replies:

145690 Jul 3,2019 09:10 PM UTC Jul 4,2019 11:15 AM UTC Xamarin.Forms 1
loading
Tags: SfDataForm
John Livermore
Asked On July 3, 2019 09:10 PM UTC

We are creating a Xamarin Forms UWP app that will use dialogs for data entry. We are considering the SfDataForm, but it appears to want to live in a full sized page. How would this control be used in a dialog context where the dialog pops over the rest of the screen?

We have used therg.plugins.popup control freely available on GitHub to create dialogs in the past. How does an app created using SyncF controls do it?

Farjana Parveen Ayubb [Syncfusion]
Replied On July 4, 2019 11:15 AM UTC

Hi John, 
  
Thank you for contacting Syncfusion support. 
  
Based on the shared information we suspect that your requirement is to “achieve popup dialog”, for that you can use Syncfusion’s SfPopupLayout control. Kindly refer our UG documentation to know more about SfPopupLayout. 
  
  
We have prepared a simple sample using DataForm inside SfPopupLayout. 
 
Code Snippet: 
  
<sfpopup:SfPopupLayout x:Name="popUpLayout" StaysOpen="True" > 
      <sfpopup:SfPopupLayout.PopupView> 
           <sfpopup:PopupView  > 
                 <sfpopup:PopupView.ContentTemplate> 
                      <DataTemplate> 
                          <sfdataForm:SfDataForm x:Name="dataform" 
                                                   DataObject="{Binding Dialog}"/> 
                      </DataTemplate> 
                 </sfpopup:PopupView.ContentTemplate> 
           </sfpopup:PopupView> 
      </sfpopup:SfPopupLayout.PopupView> 
</sfpopup:SfPopupLayout> 
  
Sample link: DataFormPopup 
  
We hope this helps. Please let us know if you would require any further assistance. 
  
Regards, 
Farjana Parveen A 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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