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