Telerik Forums
UI for WinForms Forum
1 answer
167 views
How progamming grouping colum in radgridview?
I have this grid (picture "grid_now.jpg")
Need to do (picture "grid_needow.jpg")

Programm code :
this.columnGroupsView = new ColumnGroupsViewDefinition();<br><br>            this.columnGroupsView.ColumnGroups.Add(new GridViewColumnGroup("group1"));<br>            this.columnGroupsView.ColumnGroups[0].Groups.Add(new GridViewColumnGroup("h1"));<br>            this.columnGroupsView.ColumnGroups[0].Groups[0].Rows.Add(new GridViewColumnGroupRow());<br>            this.columnGroupsView.ColumnGroups[0].Groups[0].Rows[0].ColumnNames.Add("column1");<br>            this.columnGroupsView.ColumnGroups.Add(new GridViewColumnGroup("group2"));<br>            this.columnGroupsView.ColumnGroups[1].Groups.Add(new GridViewColumnGroup("h1"));<br>            this.columnGroupsView.ColumnGroups[1].Groups[0].Rows.Add(new GridViewColumnGroupRow());<br>            this.columnGroupsView.ColumnGroups[1].Groups[0].Rows[0].ColumnNames.Add("column2");<br>            this.columnGroupsView.ColumnGroups[1].Groups[0].Rows.Add(new GridViewColumnGroupRow());<br>            this.columnGroupsView.ColumnGroups[1].Groups[0].Rows[1].ColumnNames.Add("column3");<br><br>            this.radGridView1.ViewDefinition = columnGroupsView;<br>
not work(
Dimitar
Telerik team
 answered on 06 Sep 2019
3 answers
301 views
I have 3 vertical tool windows inside a dock that fills the window.  I have all set as relative sizing. It works great when I resize smaller.  When I increase the application window size, the tool windows do not increase in width.  How can I fill the dock window when I enlarge?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2019
3 answers
357 views

Dear Admins.

 

I have a problem in printing Sale Receipt (width = 3in) direct to printer without preview (on Thermal Printer).

I was trying to Use other Reporting tool like rdlc reporting, but have some problem in rdlc.

Is there any option in telerik for doing this. 

Any working example will be appreciated.

I'm Using UI for Winform R2 2019 SP1.

 

Dimitar
Telerik team
 answered on 06 Sep 2019
4 answers
643 views
I get Error invoking: 'Open Property Builder'.  Details: Object of type 'Telerik.WinControls.UI.TableViewDefinition' cannot be converted to type 'Telerik.Wincontrols.UI.IGridViewDefinition.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2019
3 answers
494 views

Hello.

I've made a progress bar column like it's explained in your documentation: https://docs.telerik.com/devtools/winforms/controls/gridview/cells/creating-custom-cells

Protected Overrides Sub SetContentCore(ByVal value As Object)

If Me.Value IsNot Nothing AndAlso Me.Value IsNot DBNull.Value Then

Me.radProgressBarElement.Value1 = Convert.ToInt16(Me.Value)

End If

End Sub

 

how can i set the value2 of the progressbar?

and i'd like could modify the maximum value.

i've found:

 

protected override void CreateChildElements()
{
    base.CreateChildElements();

    radProgressBarElement = new RadProgressBarElement();
    radProgressBarElement.Minimum = 0;
    radProgressBarElement.Maximum = 10;
    this.Children.Add(radProgressBarElement);
}

 

but in this case the maximum it's diferent in each row of the grid (it is defined by an other field -column- )

 

would be it possible??

 

thx very mucht

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2019
1 answer
104 views

HI *,

my UI application will display data fetched from a known database / table.

The table content will be modified by another process  - assume the rows will be only added to the table during the application run.

So I decided to implement a kind of polling for this.

I know the table name and the database schema. What is the best way to do following:

* on the very begin of the application I will read the content of the table and display this (chart, grid, etc.)

* periodically I will get a modified table and update my UI (with a newly added rows)

 

What is the best way to implement this?

Thank you 

Rostislaw

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2019
12 answers
561 views
I'm using RadDock for MDI container.
When I get active child window from RadDock.DocumentManager.ActiveDocument, can not convert RadForm from it.
I don't know how to convert RadForm from DockWindow.
Please, show me a good example.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2019
5 answers
554 views

Dear Admins.

Using the Following code to open the FileDialog.

private void btnBrowse_Click(object sender, EventArgs e)
{
    RadOpenFileDialogForm openFileDialog = new RadOpenFileDialogForm();
    openFileDialog.ShowHiddenFiles = false;
    openFileDialog.FilterIndex = 1;
    openFileDialog.Filter = "GIF (*.gif)|*.gif| "+
                 "Bitmap Files (*.bmp)|*.bmp|"+
                 "JPEG (*.jpg; *.jpeg)|*.jpg;*.jpeg|";
    openFileDialog.RestoreDirectory = true;
    DialogResult dr = openFileDialog.ShowDialog();
    if (dr == DialogResult.OK)
    {
        string filePath = openFileDialog.FileName;
    }
}

 

But every time when dialog box open Third Option from the Filter List is selected.

I want to select default first option.

Dimitar
Telerik team
 answered on 05 Sep 2019
4 answers
134 views

Dear Admins

I'm using Telerik UI for WinForms R2 2019 SP1.

Facing a problem in using RadCheckBox. When focus is on the CheckBox, ]Enter KeyPress Changes its ToggleState.

Then I Compare this behavior with Microsoft own CheckBox control, it was doing as required.

The Toggle State of ChcekBox should changes when MouseClick or SpaceBar key press.

My main requirement is to change the focus to next control on Enter Key Press.

 

Kashif
Top achievements
Rank 1
 answered on 05 Sep 2019
6 answers
288 views
Is there a way to decrease row spacing between the rows in Print Preview?
Dimitar
Telerik team
 answered on 05 Sep 2019
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?