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

Text for drop down is not being cleared

Thread ID:





117121 Aug 18,2014 06:45 AM UTC Aug 18,2014 12:32 PM UTC WinForms 2
Tags: GridControl
Tuan Lam
Asked On August 18, 2014 06:45 AM UTC

I validate the value once the user entered a value or selected a value from the drop down (ie 1 to 100).  If the user enter 9999, I get the callback and I call BeginEdit() and change the value to 100 by calling SetValue().  When the user click on the dropdown again, the value 9999 will show on the text box, how do I clear it? or set the text value to 100.

Tuan Lam
Replied On August 18, 2014 06:45 AM UTC

I fixed the issue by changing ControlText of the control on TableControlCurrentCellShowingDropDown() event.  Maybe you have a better way of doing it.

Neelakandan Kannan [Syncfusion]
Replied On August 18, 2014 12:32 PM UTC

Hi Tuan,


Thank you for your interest in Syncfusion products.


As per your last update you are using TableControlCurrentCellShowingDropDown() to customize the DropDownCell. The mentioned way is the better way to customize the dropDownCell. We request you to use CurrentCellShowingDropDown event to customize the cell when dropdown button is pressed.


Please let me know if you have further concerns.





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