Two quick questions:
1) Is there any way to adjust the height of the panel that pops open when you include DetailsText?
2) MessageText seems to be "HTML Aware" but DetailsText isn't - is this a bug or as designed?
Thanks!
-Curtis
4 Answers, 1 is accepted
0
Hello, Curtis,
By default, the details section's height is set to 100. It is not supposed to be adjusted. However, you can use reflection and manipulate the details section's height:
As to the HTML-like text formatting, note that a RadTextBox is used for displaying the detailed message. It hosts the standard MS TextBox. Hence, it doesn't support HTML-like text.
I hope this information helps. If you have any additional questions, please let me know.
Regards,
Dess
Progress Telerik
By default, the details section's height is set to 100. It is not supposed to be adjusted. However, you can use reflection and manipulate the details section's height:
private
void
radButton1_Click(
object
sender, EventArgs e)
{
typeof
(RadMessageBoxForm).GetField(
"detailsSectionHeight"
, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(RadMessageBox.Instance, 200);
string
details =
"details"
;
RadMessageBox.Show(
"Message"
,
"Caption Text"
, MessageBoxButtons.AbortRetryIgnore, details);
}
As to the HTML-like text formatting, note that a RadTextBox is used for displaying the detailed message. It hosts the standard MS TextBox. Hence, it doesn't support HTML-like text.
I hope this information helps. If you have any additional questions, please let me know.
Dess
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
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 13 Jul 2018, 05:27 PM
I tore the control apart last night to see if I could discover for myself how to make the adjustment - and discovered the Details was actually a RadTextBox which is actually kind of cool - as to the height adjustment that's perfect for those special occasions :)
Thank you!
0
Hello, Curtis,
It was already noted in my previous post that the details part of RadMessageBox is actually a RadTextBox which hosts the standard MS TextBox. That is why the HTML-like text formatting is not supported
If you have any additional questions, please let me know.
Regards,
Dess
Progress Telerik
It was already noted in my previous post that the details part of RadMessageBox is actually a RadTextBox which hosts the standard MS TextBox. That is why the HTML-like text formatting is not supported
If you have any additional questions, please let me know.
Dess
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
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 23 Jul 2018, 03:20 AM
Yes ma'am...I was saying 'Thank you' in my previous post :)