I am working with the RadPdfViewer and RadPdfStreamWriter components, and I have the need to be able to display thumbnails of each page of a group of PDF documents and allow a user to re-arrange the thumbnails to group together into new documents. This is the digital equivalent of taking a stack of papers and laying them out on a table to pick and choose how to assemble the pages back into distinct documents
I understand how to display the individual documents and the thumbnails of the pages, and I understand how to merge and split PDF documents using the PdfStreamWriter and PdfStreamReader, but I have not found a way to load multiple documents into a single viewer control and allow users to re-order the thumbnails. Is this functionality that is supported in the current WinForms controls?
Hi All,
I am using a datatable as datasource for my telerik gridview
Mygrd.Datasource=myDatatable
Mygrd.TableElement.Update(GridUINotifyAction.BatchDataChanged)
Mygrd.MasterTemplate.Refresh()
I've set the row span style, the selection is applied only for the single cell but I need it for the whole merged cell. I've added the code for your reference. Please check image & do the needful.
code :
MergeVertically(Me.rdgvRGrid, New Integer() {0, 1})
Private Sub MergeVertically(radGridView As RadGridView, columnIndexes As Integer())
Dim Prev As GridViewRowInfo = Nothing
For Each item As GridViewRowInfo In radGridView.Rows
If Prev IsNot Nothing Then
Dim firstCellText As String = String.Empty
Dim secondCellText As String = String.Empty
For Each As Integer In columnIndexes
Dim firstCell As GridViewCellInfo = Prev.Cells(i)
Dim secondCell As GridViewCellInfo = item.Cells(i)
firstCellText = (If(firstCell IsNot Nothing AndAlso firstCell.Value IsNot Nothing, firstCell.Value.ToString(), String.Empty))
secondCellText = (If(secondCell IsNot Nothing AndAlso secondCell.Value IsNot Nothing, secondCell.Value.ToString(), String.Empty))
setCellBorders(firstCell, Color.FromArgb(209, 225, 245))
setCellBorders(secondCell, Color.FromArgb(209, 225, 245))
If firstCellText = secondCellText Then
firstCell.Style.BorderBottomColor = Color.White
secondCell.Style.BorderTopColor = Color.White
secondCell.Style.ForeColor = Color.Transparent
Else
secondCell.Style.ForeColor = Color.Black
Prev = item
Exit For
End If
Next
Else
Prev = item
End If
Next
End Sub
Private Sub setCellBorders(cell As GridViewCellInfo, color As Color)
cell.Style.CustomizeBorder = True
cell.Style.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders
cell.Style.BorderLeftColor = color
cell.Style.BorderRightColor = color
cell.Style.BorderBottomColor = color
If cell.Style.BorderTopColor <> Color.Transparent Then
cell.Style.BorderTopColor = color
End If
End Sub
Hi,
I am working on RadListView, reading files from folder, and display file in the folder along with icon(image), Issue is the icon doesn't resize according to the item size. Code is given below
the result is as following:
Kindly guide me how can I display the image according to the size of item;
Regards
I am hoping to have a city, state, and name on a page as text box controls. How would I got about setting the datasource to only the results of the other textbox controls if there is a value entered?
So if i have 5 people with the following info
City State Name
Mil WI Tools
Mil IL Tools
Chi WI LLC
Chi IL ORG
La CA LLC
I want to be able to type into the city box
MIL and then if i go to the State or Name on it should only have the values of the top two rows
Hello!
Why does RowFormating event does not override the color for the pinned columns?
It only formats the unpinned columns of the GridView. The RowFormatting code bellow.
Can someone point me in the right direction?
Thank you very much!
Private Sub RadGridView1_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RadGridView1.RowFormatting
If e.RowElement.RowInfo.Cells("Status").Value = "Finalizata" Then
e.RowElement.DrawFill = True
e.RowElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid
e.RowElement.BackColor = Color.DimGray
Else
e.RowElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local)
e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, Telerik.WinControls.ValueResetFlags.Local)
e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, Telerik.WinControls.ValueResetFlags.Local)
End If
End Sub
I found multiple requests back in 2009 for this feature and it appears it has been implemented.
According to this page, the DateTimePicker does have the ability to show both dates and times to choose.
https://www.telerik.com/products/winforms/datetimepicker.aspx
The page is marked as UI for Winforms and I have been trying to find out how to make the DateTimePicker to show both dates and times.
There is no code for it and no articles. This is for winforms.
Is this even possible?
Thanks.