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
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.
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.