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

Catch Completed Event in SfAutoCompleteRenderer

hi guys
im usingSfAutoCompleteRenderer to change key return to search icon
it works fine but im unable to catch the Completed even
ive tried this but its not firing
public class AutoCompleteRenderer : SfAutoCompleteRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs e)
{
base.OnElementChanged(e);
if (Control != null)
{
Control.GetAutoEditText().ImeOptions = Android.Views.InputMethods.ImeAction.Search;
}
Control.Completed += Control_Completed;
}
private void Control_Completed(object sender, EventArgs e)
{
//nothing fired
}
}
thanks

3 Replies

MK Muneesh Kumar G Syncfusion Team September 12, 2019 09:33 AM UTC

Hi Msd, 
  
Greetings from Syncfusion 
  
We have prepared a sample to replicate the issue based on the provided scenario, but we are afraid, that we are not able to reproduce the issue at our end.  The sample we tried can be downloaded from the below location. 
  
  
Since we are not aware of your exact application scenario, we were not able to reproduce this at our end, can you please revert us by modifying the sample based on your application along with replication procedure. This will be helpful for us to provide you a better solution at the earliest.   
 
Thanks,  
Muneesh Kumar G 



MS msd September 12, 2019 02:37 PM UTC

thanks Muneesh your sample solved the issue




MK Muneesh Kumar G Syncfusion Team September 13, 2019 05:19 AM UTC

Hi Msd,  
 
Thanks for the update. 
  
We are glad to know that the given solution works. Please let us know if you need any further assistance. 
 
Thanks,  
Muneesh Kumar G 


Loader.
Live Chat Icon For mobile
Up arrow icon