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
>
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.
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
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
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.
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.