exBuilder.Clear();
exBuilder.Append(exception.Message + Environment.NewLine);
RadRichTextBox richTextBox =
new
RadRichTextBox();
//RichTextBox richTextBox = new RichTextBox();
richTextBox.ThemeName =
"Office2007Black"
;
richTextBox.Text = line +
":"
+ exBuilder.ToString();
richTextBox.Dock = DockStyle.Fill;
richTextBox.IsReadOnly =
true
;
//richTextBox.ReadOnly = true;
richTextBox.ForeColor = Color.Red;
Hi
I am adding RadDesktopAlerts programmable using the following code a button is added along with a handler when the button is clicked I would like to process the event and then close the alert! Is this possible?
Regards
Joe
Dim Popup As New RadDesktopAlert
Popup.AlertImage = Me.ImageList1.Images(3)
Popup.AlertImage.Tag = 1
Popup.CaptionText = PopData.Rows(i).Item("msgTitle").ToString
Popup.ContentText = PopData.Rows(i).Item("msgBody").ToString
Dim bt As New RadButtonElement
bt.Text = "Dismiss " & PopData.Rows(i).Item("ID").ToString
bt.Tag = PopData.Rows(i).Item("ID").ToString
AddHandler bt.Click, AddressOf SetPop
Popup.ButtonItems.Add(bt)
Popup.Show()