Telerik Forums
UI for WinForms Forum
1 answer
281 views

Hi!

I'd like to add a custom text at the bottom of my , I attach a screenshot of what I'm looking

is it possible?

Also, how can I format the number to have the thousands comma separator?

Thanks!

Dimitar
Telerik team
 answered on 24 Oct 2017
1 answer
107 views

As picture one I attached below, when i click "add a document" in the first picture, it goes to the second picture (by adding a new tab)

I want to ask if is possible for me to go straight to the third picture or the fourth picture.  

If it is possible I wonder how I can edit the codes, to make it possible. 

 

 

 

Hristo
Telerik team
 answered on 24 Oct 2017
1 answer
612 views

I am still learning as I prepare to code my application from Flash Builder (Flex) to a C# WinForms application and one thing I have on my request list is the scaling of the application.

 

At the moment the Flex app has a fixed size, but one thing I can do is scale everything as the user resizes the app smaller or larger. I want to be able to do this in my WinForms app, but I use a number of PNG graphics (currently) for my buttons and I am looking at changing those to something like an SVG file. So my question is, do the controls (like buttons) support SVG images, is it possible to scale the controls (and my app I guess) as the user resizes the window - or am I going about this the wrong way?

 

One thing I do need to do is ensure that it looks and runs okay on say a Microsoft Surface where the resolution, etc. could make my app look very small.

 

I hope I have explained this well enough, thanks in advance.

Damien

Hristo
Telerik team
 answered on 23 Oct 2017
0 answers
112 views

I'm looking to interact with the mouse wheel on a RadForm.In my application I have overriden the paint event and am drawing an image as a background and then some other vector graphics on top.

 

I am successfully using the mouse click and move events to "pan" the image around however I want to now use the mouse wheel to provide a "zoom" effect.

To make matters slightly more complicated, my rad form is docked into a rad panel (using radPanel.Controls.Add) which in turn is incorporated into rad split panel and then into a rad split container.!

How do I use mouse wheel ?

Toby
Top achievements
Rank 1
 asked on 23 Oct 2017
4 answers
386 views

How may I configure RadGridView to allow pasting of multiple rows of data?  I am able to paste over existing selected rows, but when I need to paste more rows than are in the RadGridView it just stops at the last existing row.

This can't be a new requirement, and I imagine there is just some documentation I can't find with my google foo... I found a few very old posts about manually handling pasting from the clipboard, but they were nearly a decade old.

Basically, I'd like to use the RadGridView to manage x, y, z data rows.  It would start empty, and then be able to paste n rows from Excel into the empty grid.  Is this possible?  I was able to do it with the Spreadsheet control, but it's rather slow to load and crashes on occasion when disposing. 

Thanks in advance!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Oct 2017
1 answer
201 views

Hi there,

I have a requirement to make the menus "snappy" on the RadForm application I'm making, which makes use of RadApplicationMenus. Is there a way to disable any animations (fade in and fade out) to meet this requirement?

Thanks,

-Alexis

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Oct 2017
1 answer
104 views

Hello,

can you tell me how to read current pan values? I need it for the purpose of storing it in a variable and restoring pan settings afterwards.

Dimitar
Telerik team
 answered on 23 Oct 2017
9 answers
187 views

HI,

 

I have problem with RichTextEditor when importing a html string using HTMLFormatProvider.

After the import RichTexteditor still showing the HTML instead of showing the actual content from the HTML (like browser displayed format).

Please suggest some solution for this issue.

 

Thanks

 

Dimitar
Telerik team
 answered on 23 Oct 2017
1 answer
160 views

Hello,

           I am using Telerik version 2013.3.1127.40. The Problem I am facing is how to Bind the RadGridView with ColumnGroupView using a DataTable or DataSet as DataSource. The Demo with respect to ColumnGroupView Doesn't Mention the above( https://docs.telerik.com/devtools/winforms/gridview/view-definitions/column-groups-view).Please Help

 

 

     

Hristo
Telerik team
 answered on 20 Oct 2017
1 answer
592 views

I need to format the background color of the Summary row based on its Aggregated (Sum) value compared to another value on the form.  If the values are equal, I want it blue, if they are not equal, I need it to be red.  

 

            Dim ugRow As GridViewRowInfo
            Dim dAdditionTotal As Double = 0
            For Each ugRow In radGVBuildingAdditions.Rows
                dAdditionTotal += ugRow.Cells("Addition_SQFT").Value
            Next

            With Me.radGVBuildingAdditions.SummaryRowsBottom
                If .Count > 0 Then
                    For i As Integer = 0 To .Count - 1
                        .Remove(.Item(i))
                    Next i
                End If
            End With

            If dAdditionTotal > 0 Then

                Dim summary1 As New GridViewSummaryItem()
                summary1.Name = "Addition_SqFt"
                summary1.Aggregate = GridAggregateFunction.Sum
                summary1.FormatString = "Addition Total SF {0:#,##0}"
                Dim summaryRowItem As New GridViewSummaryRowItem()
                summaryRowItem.Add(summary1)

                Me.radGVBuildingAdditions.SummaryRowsBottom.Add(summaryRowItem)
                Me.radGVBuildingAdditions.MasterTemplate.ShowTotals = True
                Me.radGVBuildingAdditions.MasterView.SummaryRows(0).IsVisible = True
                Dim dBuildingArea As Double = IIf(CLIB_MAPPS.Utilities.ConvertNULLtoDouble(Me.txtBldgNetSF.Text) > 0, CLIB_MAPPS.Utilities.ConvertNULLtoDouble(Me.txtBldgNetSF.Text), Me.txtBldgEstimatedSF.Text)
                If dAdditionTotal = dBuildingArea Then  ' dBuildingArea from another control on the form
                    'MAKE SUMMARY ROW (NOT CELL, ENTIRE ROW) BLUE
                Else
                    'MAKE SUMMARY ROW (NOT CELL, ENTIRE ROW) RED
                End If


            Else
                Me.radGVBuildingAdditions.MasterTemplate.ShowTotals = False
            End If

 

I attempted to do it in the ViewCellFormatting event, but this requires parsing the number back out of the formatted text and is only working with the Cell in which I placed the total.

 

    Private Sub radGVBuildingAdditions_ViewCellFormatting(sender As Object, e As CellFormattingEventArgs) Handles radGVBuildingAdditions.ViewCellFormatting
        If TypeOf e.CellElement Is GridSummaryCellElement Then
            Dim dArea As Double = IIf(CLIB_MAPPS.Utilities.ConvertNULLtoDouble(Me.txtBldgNetSF.Text) > 0, CLIB_MAPPS.Utilities.ConvertNULLtoDouble(Me.txtBldgNetSF.Text), Me.txtBldgEstimatedSF.Text)
            If e.CellElement.ColumnInfo.Name = "Addition_SqFt" Then  
                If dArea = CInt(e.CellElement.Value) Then   'I HAVE TO PARSE THE TOTAL BACK OUT OF e.CellElement.Value
                    e.CellElement.BackColor = Color.DodgerBlue
                Else
                    e.CellElement.BackColor = Color.Firebrick
                End If
            End If
        End If
    End Sub

 

is there a better way to do this?

Hristo
Telerik team
 answered on 20 Oct 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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?