Telerik Forums
UI for WinForms Forum
1 answer
580 views

Hi,

I need to make OCR recognition from a picture taken from a video camera (license plate) is there a tool in telerik winforms that can do OCR?

 

Thanks!

Dimitar
Telerik team
 answered on 12 Jun 2017
9 answers
219 views

Hi I'm Saeid. Programer in Iran.

Q:

How to Right To Left All Items in radMessageBox?

radMessagebox.Show("Text","Caption Message", MessageBoxIcon.Ok, radMessageIcon.Info, ::::::RightToLeft:::::);

saeid
Top achievements
Rank 1
 answered on 09 Jun 2017
11 answers
1.1K+ views
I'm trying to convert for DockingManager to RadDock.

As the user adds new dynamically created Tab pages to a base page, we create a DockingManager dynamically on the tab.  Into this Docking manger, the user then drags pre-defined UserDockPanels or UserDockForms onto them.  We create the dockpanel or dockform by modifying a standard Windows form, for example by :
 
Partial Class CustomerForm 
  Inherits Telerik.WinControls.Docking.UserDockForm 
.... 
or
Partial Class ProductsPanel 
    Inherits Telerik.WinControls.Docking.UserDockControl 
..... 
These we can then dynamically add to the DockingManager when the user selects the option from a menu.  But I can find no equivalent way of pre-defining the DockWindows or DockPanels which can then be dynamically added to  the RadDock.

My idea for a solutuon was to dynamically create a DockWindow or DockPanel, then add the pre-defined panels (now redefined as RadForms) into the  DockWindow or Dockpanel.   

Your code sample suggests I can create DockWindows with this code
            Dim docWindow As DockWindow = New DockWindow() 
 
gives the warning: 
The designer must create an instance of type 'Telerik.WinControls.UI.Docking.DockWindow' but it cannot because the type is declared as abstract. 
 

If I ignore the warning (which I don't want to do) , I can find no way of adding a standard windows or radform into the contents of this DockWindow.  Have I missed the plot entirely?  How do I (Can I?) add an existing form by code into a Docking Window or Docking Panel?  Or should I continue using the Docking Manager?

Hristo
Telerik team
 answered on 09 Jun 2017
2 answers
209 views

I have a grid with a checkbox column. If a user marks the checkbox and then clicks on the "Save" button, I'm pulling the value of the checkbox, but it returns FALSE. It seems like the row is not being committed even when I have left the grid. What is trick for this?

(see screenshot)

 

Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
 answered on 09 Jun 2017
2 answers
119 views

Hi All,

 

Good day!

I have a RadForm which shows 6 or more RadChart in it.

Now, I want to export these chart in to powerpoint. 

Can you help me out on how to achieve this? Is this possible?

 

Thanks.

Regards,

Meo

Wonder
Top achievements
Rank 1
 answered on 09 Jun 2017
1 answer
212 views

Hello,

How Draw into cell of gridview ???

Thanks for you help

My sample of code below :

Dim oRadGridView as RadGridView = new RadGridView()

Dim oPDFExporter As New GridViewPdfExport(oRadGridView)
With oPDFExporter
   AddHandler .CellFormatting, AddressOf oPDFExporter_CellFormatting
   AddHandler .CellPaint, AddressOf oPDFExporter_CellPaint
   .PageMargins = New Padding(10, 10, 10, 10)
   .ExportSettings = oPdfExportSettings
   If bLandScape Then
     .PageSize = New SizeF(297, 210)
   Else
     .PageSize = New SizeF(210, 297)
   End If
  .ShowHeaderAndFooter = True
  .FileExtension = ".pdf"
  .HiddenColumnOption = HiddenOption.DoNotExport
  .ShowHeaderAndFooter = True
  .HeaderHeight = iHeightHeader
  .HeaderFont = New System.Drawing.Font("Arial", 8, FontStyle.Regular)
  .LeftHeader = sLeftHeader
  .MiddleHeader = sMiddleHeader
  .RightHeader = sRightHeader
  .ReverseHeaderOnEvenPages = True
  .FooterHeight = 30
  .FooterFont = New System.Drawing.Font("Arial", 8, FontStyle.Regular)
  .SummariesExportOption = SummariesOption.ExportAll
  .ExportGroupedColumns = True
  .ExportHeaderRowOnEachPage = True
  '.FitToPageWidth = True
  Using oMemoryStream As New MemoryStream()
     Dim oRenderer As New PdfExportRenderer
     .RunExport(oMemoryStream, oRenderer)
     Using oFileStream As New FileStream(sPDFDocumentName, FileMode.Create, FileAccess.Write)
       oMemoryStream.WriteTo(oFileStream)
     End Using
     oRenderer = Nothing
   End Using
End With
oPdfExportSettings = Nothing
oPDFExporter = Nothing

Private Sub oPDFExporter_CellFormatting(sender As Object, e As PdfExportCellFormattingEventArgs)

End Sub

Private Sub oPDFExporter_CellPaint(sender As Object, e As ExportCellPaintEventArgs)
            Dim oPDFExporter As GridViewPdfExport = DirectCast(sender, GridViewPdfExport)
            Dim oRadGridView As RadGridView = oPDFExporter.RadGridViewToExport
            With e
                .Cell.TextWrap = True
                Dim oSize As SizeF = .Rectangle.Size
                Dim iX As Integer = .Rectangle.X + (oSize.Width - 20)
                Dim iY As Integer = .Rectangle.Y
                Select Case .Cell.ColumnIndex
                    Case "column_category"
                        If oRadGridView.Rows(e.Cell.RowIndex).Cells(13).Value = True Then
'HOW DRAW INTO CELL ?????
                            '.Cell.Graphics.DrawString("€", New System.Drawing.Font("Segoe UI", 11), Brushes.Blue, New PointF(iX, iY))
                        End If
                End Select
                oSize = Nothing
            End With
            oRadGridView = Nothing
            oPDFExporter = Nothing
End Sub

Dimitar
Telerik team
 answered on 08 Jun 2017
1 answer
122 views

Hi there,

I'm trying to recreate the "drag column to group by it" feature shown in the animation on this webpage:

http://www.telerik.com/support/kb/winforms/gridview/details/high-performance-with-radgridview-and-virtual-mode-including-filtering-sorting-and-grouping

Neither of the 2 C# projects at the bottom of the page have the drag grouping feature enabled by default.

Trying to drag a column header onto the grouping row causes a "invalid operation" cursor icon to be displayed

Please could you look into this and advise on how to get the demo source code giving the same results as the animation ?

Many thanks in advance,

 

James

 

 

 

 

 

Hristo
Telerik team
 answered on 08 Jun 2017
3 answers
108 views

I have recently updated to the latest version from 2016 Q1 and noticed a change in the way the RadTextBox displays when the Visual Studio 2012 Light theme is used.

The issue is easily reproduced by creating a new project and adding a RadTextBox with AutoSize as false and a Height of 20. Everything displays normally under the default theme.

Now add the Visual Studio 2012 Light theme and set the RTB to use it. The bottom of the RTB disappears. Not good. It isn't happy with anything under a Height of 24.

How can this issue be resolved? I've encountered similar issues with this theme in the past and I was not expecting the update to the latest version to break something which has been working just fine under older versions.

Dimitar
Telerik team
 answered on 08 Jun 2017
0 answers
94 views

Hi,

When i use "radGridView1.Rows.Clear();" to clear rows from gridview, rows are removed in background but not visually until i click on expanding mark (+)

I want to know how to clear gridview rows in background and visually

Ahmed
Top achievements
Rank 1
 asked on 07 Jun 2017
1 answer
141 views

I cannot seem to get the AnimatedPropertySetting to work with a radRadialGauge. We have this code to update the gauge from serial data approx every 5 seconds (via delegate):

public void DisplayTempChart(float temperature)  

 {             

//radialGaugeNeedle1.Value = temperature;   <----- when this is uncommented, the needle responds correctly         

AnimatedPropertySetting setting = new AnimatedPropertySetting(                 <----- this property setting never works, the needle is never updated

    RadRadialGaugeElement.ValueProperty,                 

     this.radRadialGauge1.Value,                  

     temperature,                 

     12,                 
     40);              

setting.ApplyEasingType = RadEasingType.OutBounce;              

setting.ApplyValue(radRadialGauge1.GaugeElement);         

}

 

Any help is appreciated!

Dimitar
Telerik team
 answered on 07 Jun 2017
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?