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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Floating Label

Thread ID:

Created:

Updated:

Platform:

Replies:

128640 Feb 2,2017 11:00 AM UTC Feb 6,2017 12:21 PM UTC ASP.NET Core 3
loading
Tags: Autocomplete
Vengatramanan
Asked On February 2, 2017 11:00 AM UTC

Hi There 
Is there an option to achieve  the floating label for all kinds of editor like select box, textboxes etc.

Arun Palaniyandi [Syncfusion]
Replied On February 3, 2017 11:48 AM UTC

Hi Vengatramanan,   
  
Thanks for contacting Syncfusion Support.   
   
Yes, there is an option to add floating labels for all our editor controls. By default, our control does not have floating label support, but we can customize our controls to provide this floating label. For now, we have provided floating label for our Autocomplete control for demo purpose below.   
   
   
In this Autocomplete, we have created a label on the Autocomplete create event and inserted it before the Autocomplete element. Then on the change event, we have added a class to display it on the top of the control. Then finally used the focusOut event to remove the class form the label.   
   
 If this shared sample isn’t your scenario, please let us know further details with the expected behavior on how you want the floating labels so that we can provide you an appropriate solution.   
  
Regards,   
Arun P.   


Vengatramanan
Replied On February 3, 2017 01:54 PM UTC

Hi Vengatramanan,   
  
Thanks for contacting Syncfusion Support.   
   
Yes, there is an option to add floating labels for all our editor controls. By default, our control does not have floating label support, but we can customize our controls to provide this floating label. For now, we have provided floating label for our Autocomplete control for demo purpose below.   
   
   
In this Autocomplete, we have created a label on the Autocomplete create event and inserted it before the Autocomplete element. Then on the change event, we have added a class to display it on the top of the control. Then finally used the focusOut event to remove the class form the label.   
   
 If this shared sample isn’t your scenario, please let us know further details with the expected behavior on how you want the floating labels so that we can provide you an appropriate solution.   
  
Regards,   
Arun P.   


The Demo link is not working for me i cant be able to see the elements perfectly and also i would like to know is there an default text box control in tag helper for .net core.

Arun Palaniyandi [Syncfusion]
Replied On February 6, 2017 12:21 PM UTC

Hi Vengatramanan,    
   
Thanks for your update.    

Query1:” The Demo link is not working for me i can’t be able to see the elements perfectly 
 
We have checked our shared link and it is working correctly. However, we have now modified the previously shared sample to ASP.NET core and attached here for your convenience. 



Query2:” also i would like to know is there an default text box control in tag helper for .net core. ” 

Yes, there is default text box with the tag helper for ASP.NET core. Please add the tag helper for the simple text box like below. 
 
 
<input asp-for="Search" /> 
 
 
 
You can also get more references from the below links: 
 
 
 
Please let us know if you have any more queries.      
   
Regards,     
Arun P.  


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.

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

;