Telerik Forums
UI for WinForms Forum
1 answer
128 views

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 ?

 

 

 

Stoyan
Telerik team
 answered on 06 Jul 2021
2 answers
91 views

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.

Tanya
Telerik team
 answered on 06 Jul 2021
1 answer
368 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jul 2021
1 answer
101 views

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()

Peshito
Telerik team
 answered on 05 Jul 2021
2 answers
158 views
Hello! I am trying to upload a beam from a recursive table with the following fields:
ID; NAME; ID_FK; TYPE;
1;   CARLOS NULL  0
2;    PETER   NULL  0
3;    JHON     1          1
4;    MARY     1          1

Now I would like it to be loaded according to the relationship, how could I do it?
Nadya | Tech Support Engineer
Telerik team
 answered on 02 Jul 2021
2 answers
154 views
Hello

please can you send me a sample to illustrate how to use radvirtualgrid to add a new row with an enter key to move to next column in vb.net
thank you
Nadya | Tech Support Engineer
Telerik team
 answered on 02 Jul 2021
1 answer
202 views

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

Todor
Telerik team
 answered on 01 Jul 2021
1 answer
48 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 01 Jul 2021
2 answers
121 views

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.

Nadya | Tech Support Engineer
Telerik team
 answered on 01 Jul 2021
2 answers
904 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Jun 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?