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
close icon

Integrating of SfPicker and Textbox

would like to check how do i integrate SfPicker with textbox?

was looking at Appointment Editor sample, but cant seems to find how it is done

3 Replies

HM Hemalatha Marikumar Syncfusion Team November 21, 2019 12:42 PM UTC

Hi Benjamin, 
 
Greetings from Syncfusion. 
 
We would like to let you know that we have achieved this requirement by opening the picker to the Entry’s focus and that the selected value of the picker is also set to the Entry’s text value. We have made a simple sample to understand that better. Please download the same in the link below 
 
Sample link: 
 
Please let us know if you have any other queries. 
 
Regards, 
Hemalatha M. 



BE Benjamin replied to Hemalatha Marikumar January 13, 2020 10:15 AM UTC

Hi Benjamin, 
 
Greetings from Syncfusion. 
 
We would like to let you know that we have achieved this requirement by opening the picker to the Entry’s focus and that the selected value of the picker is also set to the Entry’s text value. We have made a simple sample to understand that better. Please download the same in the link below 
 
Sample link: 
 
Please let us know if you have any other queries. 
 
Regards, 
Hemalatha M. 


Apology for the late reply. Tried the sample. while integrating the code to mine, when I click on the text box or button, the picker dialog is not opening.

Attached is my solution

Do note I have removed my license info from App.xaml.cs


Attachment: TestProject_8ac9eaaa.rar


AS Anandraj Selvam Syncfusion Team January 14, 2020 12:55 PM UTC

 Hi Benjamin,
 
We would like to let you know that we have checked the reported query with the provided sample and we have modified the sample. We have just initialized the SfPickerRenderer in AppDelegate and the SfPicker is working fine.

Code Snippet: 

 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
Syncfusion.SfPicker.XForms.iOS.SfPickerRenderer.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}

 

Please revert us for further investigation.

Thanks,
Anand Raj 


Loader.
Live Chat Icon For mobile
Up arrow icon