So I have a DataTable object that has data with rows & columns. My question is do I convert that into a RadGridView and then try to export it to Excel? Is that the easiest way to do it? Or is there another way I can export the DataTable object without having to convert it to a RadGridView? If so, how can I go about doing that? Is it using RadSpreadStreamProcessing library?



hey,
I'm using Windows 8 Theme in Telerik for Winforms 2018.1.116.40.
With this theme, in a GridViewCommandColumn, buttons are not really cutes, the cells likes grey and user doesn't see it's a button.
So, i want to reduce the size of buttons and center them in the cells.
I use command lines below in CellFormatting event
Dim button As RadButtonElement = CType(e.CellElement.Children(0), RadButtonElement)button.Margin = New Padding(2)In this case, some borders are no more visible (cf attached file).
Have you got an idea please ?
Subsidiary question : If on a condition, i only want my html text but without button i use the code in cellFormating event
element.CommandButton.ButtonFillElement.NumberOfColors = 1element.CommandButton.ButtonFillElement.BackColor = Color.FromArgb(255, 255, 255, 255)button.BorderElement.Visibility = ElementVisibility.Hiddenit works, but it's surely a poor code, i have tried too with
button.BorderElement.Visibility = ElementVisibility.Hiddenand i don't see button and text.
If you have a better code ;)
Thanks for your help
--
Romain
Hello,
Is it possible to change the color of the selected text in MaskedTextBox? If you check the attached photo it shows a blue color that doesn't fit with our app's look and feel.
Kind Regards.
Fernando.
Hi,
I need to open existing word document and show that document in RadRichTextEditor with extra information (like Name of the person at the top of the document), and also have to add signature and names at the end of the document and save the document. I did using Microsoft.Office.Interop.Word.Document before with DSOFramer control but DSOFramer is having some issues and trying to achieve same using RadRichTextEditor.
Appreciate your help as soon as possible.
thank you!

Hello,
I'm trying to make a list with alternating row colors like the one in the attached image but I'm having troubles making the rows with different colors, it only get the
last one.
I'm attaching the code:
Any help will be appreciated.
Kind regards.
Private Sub lstProductos_VisualItemCreating(sender As Object, e As ListViewVisualItemCreatingEventArgs) Handles listViewMSProductos.VisualItemCreating If Me.listViewMSProductos.ViewType = ListViewType.IconsView Then e.VisualItem = New CustomListViewItemIconType(IdApp) e.VisualItem.ImageLayout = ImageLayout.Center e.VisualItem.ImageAlignment = ContentAlignment.TopCenter e.VisualItem.TextAlignment = ContentAlignment.BottomCenter Else Dim aux As Integer = 1 For Each item In listViewMSProductos.ListViewElement.ViewElement.Items If aux Mod (2) = 0 Then e.VisualItem = New CustomListViewItemListType(Color.Red) Else e.VisualItem = New CustomListViewItemListType(Color.Blue) End If aux = aux + 1 Next End If End Sub
Public Class CustomListViewItemListType Inherits SimpleListViewVisualItem Public Sub New( pColor As Color) Me.BackColor = _color End Sub
End Class

how can I detect if the cellclick comes from the template or the master grid?
thanks
andre