3 Answers, 1 is accepted
0
Hello Max,
Currently, RadTextBox does not support NullText in Multiline mode. We will consider adding such functionality in one of our next releases.
If you have additional questions, do not hesitate to contact me.
Greetings,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Currently, RadTextBox does not support NullText in Multiline mode. We will consider adding such functionality in one of our next releases.
If you have additional questions, do not hesitate to contact me.
Greetings,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
superold
Top achievements
Rank 1
answered on 03 Oct 2008, 03:12 PM
Hi. I am on 2008 Q2 SP 1.
Is there any progress on this issue? There is no correct way to have "sample" text on multiline mode, and if the textbox is in multiline so should the sample text as I see it. And of course adding \r\n has its consequences when the font is changed.
Thanks
- j
0
Hello Jorge Delgado-Lopez,
At this time the NullText functionality for a multiline RadTextBox is not implemented. However, you make your own implementation, which will give you the same visual results. I have demonstrated it in the sample project attached. The approach concerns setting Text and ForeColor properties of the RadTextBox.
Regarding the "\r\n" escape sequence, you do not need it when setting Text in RadTextBox. The text which cannot be put on the current line will automatically be transferred to a new line.
If you have additional questions, feel free to contact me.
Regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
At this time the NullText functionality for a multiline RadTextBox is not implemented. However, you make your own implementation, which will give you the same visual results. I have demonstrated it in the sample project attached. The approach concerns setting Text and ForeColor properties of the RadTextBox.
Regarding the "\r\n" escape sequence, you do not need it when setting Text in RadTextBox. The text which cannot be put on the current line will automatically be transferred to a new line.
If you have additional questions, feel free to contact me.
Regards,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.