Telerik Forums
UI for WinForms Forum
2 answers
117 views

I have tried to use <span style="font-family: 'Segoe UI'; color:gray; font-size: 12">Forename</span> but I do not believe the font is being applied. I use this style when the row is selected within a WinForms RadGridView. If the row is not selected (as a test) I have the same HTML markup without the font-family style and a different font is loaded (not sure which).  

The screenshot shows the highlighted row in purple. Notice the lower curl of the g and y is present - whereas on the unselected rows - these letters have that part missing.

 

Note: The rendering of the grid take a very long time - as if it is failing to render rows with this font and so falls back to a default

 

Could you explain the problem?

Paul
Top achievements
Rank 1
Iron
 answered on 08 Jul 2021
1 answer
120 views

I am trying to work on a scheduler interface that will allow a user to enter appointments.

The system is working when I apply no filter and load data through the following:

try
{
entities.Appointments.Load();
schedulerBindingDataSource1.EventProvider.DataSource = entities.Appointments.Local.ToBindingList();//filteredAppointmentsByLocation;
this.radScheduler1.DataSource = schedulerBindingDataSource1;
}

The above works and allows me to add, edit and delete without issues.

If I try to add a filter to get specific information:
var filteredAppointmentsByLocation = entities.Appointments.Local.ToBindingList().Where(x => x.LocationID.Equals(ActiveLocation));

and set this as the datasource, I cannot add new items when I do entities.SaveChanges().  I get an error saying it cannot add to a read-only or fixed-size list.  Edits are saved, deletes are not done.

Please advise

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

Hello

When i use RadprintDocument to print a radgridview in a winform ,i have a problem that the logo used in the left header section shrinking m
I have found a question in your forum,and i follow your instructions to solve this problem but still not working;

can you give me some help by sending a small sample in vb.net please...

thx in advance

Regards

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

So I use the RadAutoCompleteBox to list many options a user can pick that are then added to another textbox.

So once they select it, I take that "Token" and copy it to a "Selected Box".

How would I go about Removing the token after I have copied it in the token validating event.

 

Thanks

 

Rog

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jul 2021
1 answer
149 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
108 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
455 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
129 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
194 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
187 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
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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?