Telerik Forums
UI for WinForms Forum
1 answer
220 views

I have a RadSplitButton that I build menuItems programmatically. But, I can't figure out how to capture a click event when the menuItem is clicked. 

The reason I'm doing it this way is because I have a RadbuttonTextbox with the RadSplitButton on its LeftButtonsItems collection.

The RadSplitButton contains previously entered data in the TextBox. The textbox is a Key field for the form, so the radSplitbutton would be perfect for this use if I can get it to work.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Apr 2022
1 answer
196 views

statusbar  elements rightside alignment

exepectation

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Apr 2022
1 answer
316 views

Hi ,

once I made change allowedit = false; noneditable

this scenario ,I need to edit paritcular column edit in Radlistview.

thanks,

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Apr 2022
1 answer
138 views

first picture is basic ui

second picture is telerik ui

 

 

How to make it look like the first picture for telerik ui??????

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Apr 2022
0 answers
236 views
When importing a CSV file (or any file for that matter) how can I make every field a Text field rather than the import process trying to determine the data type and setting it. This is specifically causing me issues when importing fields with values like 9/10 which aren't dates.
Todd
Top achievements
Rank 1
Iron
 asked on 14 Apr 2022
1 answer
349 views

When Adding a Label in a GridLayout


var element = new RadLabelElement()
 element.SetValue(GridLayout.ColSpanProperty, colspan);
            element.SetValue(GridLayout.RowIndexProperty, row);
            element.SetValue(GridLayout.ColumnIndexProperty, column);
How do I achieve to right align, or center the label, especially when it spans multiple columns.

(If I could get the label to fill the entire cell, I could use the TextAlignment proproperty, but with Autosize enabled, it will never fill the entire cell.)

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 13 Apr 2022
1 answer
147 views

Hello, 

I am having difficulty auto sizing my columns. I want fill the whole grid view but have the the columns with the 3 abbreviations (BSA, GIS, ETC) to be small always. When set to  .AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill and .MasterTemplate.BestFitColumns() it is stretching out the WEB column. Is there a way to only allow the stretching to occur evenly on the first 4 columns but have the last 7 columns be small?  Thanks!

lin
Top achievements
Rank 1
Iron
 answered on 13 Apr 2022
1 answer
102 views
Greetings, how can I tell the RadTreeView to ignore accent when applying Filter.

the content of my RadTreeView there are nodes that have accents in the text, for example Balance Calculation, and if I search without an accent it does not search for me

How do I tell the TreeView Filter to ignore accents?

Use:
Visual Studio 2022
.Net Framework 4.8
Telerik WinForms 22.1.222.0
Dinko | Tech Support Engineer
Telerik team
 answered on 12 Apr 2022
0 answers
177 views

Hello, I am trying to use the gridview to try to display data...this is kind of a work in progress as I don't know what best approach is that I should be taking to display the data or if I am even using the right control.  I am trying to piece things together from some of the examples I can find. My questions are:

1. In the column named "img" is it possible to just hide that header and place the image next to the text? 

2. Can those expanded columns be auto sized instead of manual sized?

3. Is there an example of a dropdown box in one of these expanded row?  

 

Here is my rough code  creating the expanded rows: 

    'create out custom datasource containing all the apps 
        Dim BusinessAppsDT As New DataTable("Apps")
        With BusinessAppsDT
            .Columns.Add("id", GetType(Guid))
            .Columns.Add("img", GetType(Byte()))
            .Columns.Add("name", GetType(String))
        End With

        For Each row As DataRow In dt.Rows
            For Each itm As MyPortalObjects.Objects.ListItem In DeSerializeListview(Of MyPortalObjects.Objects.ListItem)(row("User_Needed_BusinessApps"))
                 BusinessAppsDT.Rows.Add(row("id"), itm.IconByteArray, itm.Name)
            Next
        Next

        'gridview templates are the tabs?
        Dim BusinessAppsTemplate As New GridViewTemplate
        BusinessAppsTemplate.Caption = "Apps"
        BusinessAppsTemplate.DataSource = BusinessAppsDT
        gvQueue.Templates.Add(BusinessAppsTemplate)

        Dim BusinessAppsRelation As New GridViewRelation(gvQueue.MasterTemplate)
        With BusinessAppsRelation
            .ChildTemplate = BusinessAppsTemplate
            .ParentColumnNames.Add("id")
            .ChildColumnNames.Add("id")
        End With
        gvQueue.Relations.Add(BusinessAppsRelation)

        Dim BusinessAppsView As New HtmlViewDefinition()
        With BusinessAppsView
            .RowTemplate.Rows.Add(New RowDefinition())
            .RowTemplate.Rows(0).Cells.Add(New CellDefinition("img", 3, 1, 3))
            .RowTemplate.Rows(0).Cells.Add(New CellDefinition("name", 10, 1, 3))

        End With
        BusinessAppsTemplate.ViewDefinition = BusinessAppsView
Willy
Top achievements
Rank 2
Iron
Iron
 asked on 08 Apr 2022
1 answer
143 views

Hello!

I've got a grid that has multiple, overlapping rows of data.  The purpose of this grid is to build an exportable Excel spreadsheet. 

Here would be a very simple example of how I need the spreadsheet to look in Excel

A                B                C                D                E

Name         DOB          Status       Amount 

John Q       12/12/20    Active       $100.00

 

As you can see - the Excel Columns are the standard, default A..E. 

Row 0 holds the "Headers" for the data directly beneath. 

Row 1 holds the actual data - but when I export this to Excel, I want to be able to tell it "This cell is text" or "This cell is a Date/Time" etc.

Is this possible? 

 

Thanks for the great products!

Curtis. 

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Apr 2022
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?