This is a migrated thread and some comments may be shown as answers.

null text for textbox menu item

3 Answers 335 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
Gone2TheDogs asked on 24 Oct 2017, 05:34 PM

I don't see a null text property for a textbox menu item. I need to be able to label the textbox and the null text feature would be perfect for a tight situation like this.

Thanks!

 

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 25 Oct 2017, 08:03 AM
Hello Bob,

If you re adding RadTextBoxElement you can set null text like this:
radTextBoxElement1.TextBoxItem.NullText = "Test";

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
answered on 25 Oct 2017, 02:43 PM

Thanks Dimitar. I was using the designer tool to get the textbox, which is a "toolstripTextBox", which doesn't have a NullText property. This surprises me considering how it is used. How else would a user know what the textbox is for? 

 

 

 

0
Hristo
Telerik team
answered on 30 Oct 2017, 11:58 AM
Hello Bob,

Thank you for writing back.

Most of the properties are exposed on the control level. In the case of the RadTextBoxElement object which is a RadElement and not a control, one can access the hosted standard text box and its NullText property and assign it directly. Additional information about the architecture of our framework is available here: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/overview/overview.

I hope this helps. Please let me know if you have other questions.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Menu
Asked by
Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
Answers by
Dimitar
Telerik team
Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
Hristo
Telerik team
Share this question
or