Greetings,
There seems to be an issue with the RadDesktopAlert on Windows 7.
The code below illustrates how I create an instance of RadDesktopAlert and setting its properties to my desired values :
Dim dskAlert As New RadDesktopAlert
Sub ShowAlert()
dskAlert.ResetLocationModifier()
dskAlert.IsPinned = True
dskAlert.AutoClose = False
dskAlert.CanMove = True
dskAlert.Opacity = 1
dskAlert.Popup.Parent = ME
dskAlert.ThemeName = "VisualStudio2012Light"
dskAlert.FadeAnimationFrames = 10
dskAlert.FadeAnimationType = FadeAnimationType.FadeIn
dskAlert.PopupAnimationFrames = 20
dskAlert.PopupAnimationEasing = Telerik.WinControls.RadEasingType.InOutCubic
dskAlert.PopupAnimationDirection = RadDirection.Down
dskAlert.ShowCloseButton = True
dskAlert.ContentText = "This is a test"
dskAlert.RightToLeft = System.Windows.Forms.RightToLeft.No
dskAlert.ScreenPosition = Telerik.WinControls.UI.AlertScreenPosition.Manual
dskAlert.ShowOptionsButton = False
dskAlert.ShowPinButton = False
dskAlert.PlaySound = False
dskAlert.AutoSize = True
dskAlert.Popup.AlertElement.Font = New Font("Tahoma", 10, FontStyle.Regular)
dskAlert.Popup.AlertElement.ContentElement.TextAlignment = ContentAlignment.MiddleCenter
dskAlert.Popup.AlertElement.ForeColor = Color.Red
dskAlert.Popup.AlertElement.ContentElement.Font = New Font("Tahoma", 10, FontStyle.Regular)
AddHandler dskAlert.Popup.PopupOpening, AddressOf dskAlert_PopupOpening
dskAlert.Show()
End Sub
Private Sub dskAlert_PopupOpening(sender As Object, args As CancelEventArgs)
Dim arg = TryCast(args, RadPopupOpeningEventArgs)
arg.CustomLocation = New Point((Me.Width - dskAlert.Popup.Width) \ 2,
(Me.Height - dskAlert.Popup.Height) \ 2)
End Sub
It works fine on my Windows 8.1, however, the RadDesktopAlert box doesn't show up on Windows 7 as I tested many times. After several attempts to find out what causes the issue, I found the code line below to be the cause :
dskAlert.Popup.Parent = ME
It seems that setting parent property of the popup property makes the popup box invisible. I preferred to write "INVISIBLE", because there seems to be an invisible from showing up in front of the main form and this makes all the controls of the main form UnClickable.
What's your opinion about this issue ?
Hi,
Is the cell formatting option Shrink to fit available for this control?
In the format cell section there are formatting options available, usually there is -Wrap Text -Shrink to fit etc. in your dialog box there is wrap text but no shrink to fit
I would like to make available for my excel template editor, I am just not sure whether it is hidden somewhere else or unavailable.
Thanks.
Good morning
I wanted to follow the tutorial to make a RadButtonTextBox password control with a button to the right of the textbox to show the password.
I found a tutorial but can't find how to add the image. The tutorial page is this
https://docs.telerik.com/devtools/winforms/knowledge-base/create-password-textbox
, can someone please tell me how to add the image?
Thanks so much
Fabrizio
Please how to Load Microsoft word content including boarder around header text and style into a radrichtextbox. I tried loading from a folder to radrichtextbox. It loads but removes the boarder around header text and does not maintain line spacing. I want it to maintain exactly what I have in the word document. Below is my attempt which loaded but did not adapt header text border style and linespace. After loading the attached file to RadRichTextBox it does not display the double boarder around the text in the header.
Dim provider2 As DocxFormatProvider = New DocxFormatProvider()
Using inputStream As FileStream = File.OpenRead(My.Computer.FileSystem.SpecialDirectories.MyDocuments & "\duk\Dictionary" & txtDirCount.Text & ".docx")
Me.RadRichTextEditor1.Document = provider2.Import(inputStream)
End Using
Dim provider As TxtFormatProvider = New TxtFormatProvider()
RadRichTextEditor1.LayoutMode = DocumentLayoutMode.Paged
'Dim sectionColumnCollection As SectionColumnCollection = New SectionColumnCollection(2, 30, False) 'Without line in the middle
Dim sectionColumnCollection As New Telerik.WinForms.Documents.Model.SectionColumnCollection(2, 75, True) ' With line in the middle
Dim editor As RadDocumentEditor = New RadDocumentEditor(RadRichTextEditor1.Document)
editor.ChangeSectionColumns(sectionColumnCollection)
Dim header As New Header()
Hi
Please Help
Language: VB.Net (VS2017)
Telerik Version: 2017.3.1017
I have a RadGridView and two RadRichTextEditors in a form. In the printout, is it possible to display the texts from RadRichTextEditors just after the RadGridView printed? I mean, it should print on Report Footer. I don't have Telerik Reports License, so using RadPrintDocument. I am able to print Customized Headers & Footers with GridView data. Sample document attached.
Thanks in advance.
Arun
Hi Team,
As per SDK samples, we have downloaded ERP demo application for WinForms, there i have seen TelerikProviderForGoogleAnalytics .dll usage..
Can you please guide us how to set up "Google Analytics Dashboard" with your ERP demo application as you shown in https://docs.telerik.com/devtools/winforms/analytics/google-analytics-integration . We understand code base, but not able to understand the
dashboard setup.
public void CreateGoogleTracker()
{
var trackerManager = new TrackerManager(new PlatformInfoProvider());
tracker = trackerManager.CreateTracker("UA-111455-55");
tracker.AppName = "WinForms ERP";
}
Or Can you send me sample Analytics application with End to end use cases.
I have gone through link https://docs.telerik.com/devtools/winforms/analytics/analytics-support but didn't see much information for dash board setup..
Regards,
SrinivasR
Hi all,
I'm reading the documentation page about using Google Analytics to save the tracking data.
Here: https://docs.telerik.com/devtools/winforms/analytics/google-analytics-integration
Question: why not an example using the official Google.Apis.Analytics?
Instead, there's a reference to a third-party library, which has few commits and downolads.
Why this choice? Is there something I'm missing?
I think everyone would be more comfortable in adopting the official way, if possible.
Thanks.
If I use a regular MS Text box I can use textbox.lines.count() but this is invalid when using either of the Telerik textbox controls.
Is there a way to get the Number of Lines of a Textbox or TextboxControl?
Sample Code used with MS TextBox control
var lines = txtEQCodes.Lines.Count();
lines -= String.IsNullOrWhiteSpace(txtEQCodes.Lines.Last()) ? 1 : 0;
This code does not work with Telerik textbox Controls.
I get compile errors on the Lines.Count() and Lines.Last() properties.
I am using telerik winforms.ui version 2021.2.615.40
Thanks,
Roger