Hello -
I have a very sophisticated RadElement hierarchy that contains RadTextBoxElements at the leaves. So far, I've only needed single line text boxes, but I now need to begin supporting multi-line text boxes. I see that RadTextBox has a Multiline property, but I don't see such a property on RadTextBoxElement even though I do see the MultilineChanged event. I'm hoping there is some way (even if through a backdoor) to make a RadTextBoxElement do multi-line text editing.
Thanks,
- Mike
5 Answers, 1 is accepted
0
Hi Michael,
It would be:
textBoxElementInstance.TextBoxItem.Multiline property
Actually most of RadTextBox control APIs are simply exposing the properties and events of RadTextBoxItem.
Sincerely yours,
Mike
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
It would be:
textBoxElementInstance.TextBoxItem.Multiline property
Actually most of RadTextBox control APIs are simply exposing the properties and events of RadTextBoxItem.
Sincerely yours,
Mike
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 2
answered on 24 Apr 2009, 06:49 PM
Mike -
I'm very glad to hear this. Initially, the multiline control did not size to the text, but then I realized that StretchVertically is set to false by default. Now my problem is that the text doesn't show up. I set the Text to a multi-line string, and I can see the value in the debugger, but the multi-line RadTextElement is blank. Is there some other field that I should be setting for multi-line? I'm using essentially the same code for both multi-line and single line, and text shows up in the single line, but the multi-line is blank.
Thanks,
- Mike
0
Hello Michael,
The behavior you are describing is not desired. I am not entirely sure I understood the case correctly, and you can help us a lot if you send some code to reproduce this issue. Thank you.
Sincerely yours,
Mike
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
The behavior you are describing is not desired. I am not entirely sure I understood the case correctly, and you can help us a lot if you send some code to reproduce this issue. Thank you.
Sincerely yours,
Mike
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 2
answered on 11 May 2009, 03:30 PM
Mike -
At this point, the only quick way for me to supply the code that reproduces it would be to send you our entire code base, which I would prefer not to do on a public forum. If it would help with my most recent request on the support ticket entitled "Stacking controls efficiently" posted May 11 at 8:20AM, I would be willing to spend time isolating the issue and sending a code sample. However, I'm guessing that our extreme usage of TPF is likely part of the problem.
- Mike
0
Ok Michael,
Thank you for the kind offer, but since this problem is no longer applicable to your app, I assume, you do not need to sped more time on it. I will however add an entry in our todo list for our QAs to handle and assure this feature works as expected.
Regards,
Mike
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for the kind offer, but since this problem is no longer applicable to your app, I assume, you do not need to sped more time on it. I will however add an entry in our todo list for our QAs to handle and assure this feature works as expected.
Regards,
Mike
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.