Hi,
How do I show text in Combo Box as shown in the attached pictures?
I have tried the following it didn't work:
settings.PreRender = (sender, e) => {
settings.Properties.NullDisplayText= "Quick Find";
};
Thanks
Kiran
Hi,
How do I show text in Combo Box as shown in the attached pictures?
I have tried the following it didn't work:
settings.PreRender = (sender, e) => {
settings.Properties.NullDisplayText= "Quick Find";
};
Thanks
Kiran
Hello Kiran,
You can use the ComboBoxSettings.Properties.NullText property instead. I also suggest that you use it outside the PreRender handler, because this event is not raised on callbacks and it may cause problems on subsequent requests to the server.
Hello,
As described in the ASPxComboBox - Support NullText for DropDown Mode thread, the NullText that allows you to accomplish this task is implemented only in the 13.1 version. As a workaround in the 12.1 version, you can use the approach suggested in this thread and the Show a text when ASPxComboBox value is null ticket.
I've attached a sample project illustrating it.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
I'm using Devexpress component version 12.1.6
Thanks
Kiran