I am using the Telerik Reporting REST Service project to render code-based reports in the WinForms ReportViewer. But I have a problem with this "PREVIEW" button, when the user quickly clicks multiple times while generating the Report. It throws the following exception within the viewer:
I just want to disable the Preview button while the report is still generating, and enable it once the report is fully generated. And I don't want to allow the user to double-click the PREVIEW button(Disable the button immediately on a first click until the report is fully generated).
Please help me fix my issue.
Thanks in advance.
Hello, I need to use RadListView to display records in ListDetails in WINFORMS. I have an active field that returns true or false. I want to display it with a checkbox to make the display more presentable. Is this possible? I look forward to your responses. Thank you.
Good morning,
Is there a way to enable natural sorting (two-way sorting) also in Winforms Virtualgrid? I saw that it is possible in ASP.NET AJAX libray (https://www.telerik.com/products/aspnet-ajax/documentation/controls/grid/functionality/sorting/controlling-sort-modes)
Thank you very much.
Emanuele
Hi sir
I install the version "2017_2_613_40" but in toolbox tab control not present how we enable that tab control
WinForms TreeView displays icons and text. How to obtain the Rectangle of the icon area, or how to implement the click event of the icon. Through the method in https://www.telerik.com/forums/hovering-over-node-image:
TreeNodeImageElement imageElement = radTreeView1.ElementTree.GetElementAtPoint(e.Location) as TreeNodeImageElement;
The obtained structure is null, and the version is 2025.
thaks
When the RadCheckBox or RadToggleButton control is clicked quickly, an exception will be thrown: System.NullReferenceException: "Object reference not set to an instance of an object."
private void radCheckBox1_ToggleStateChanged(object sender, Telerik.WinControls.UI.StateChangedEventArgs args)Hi there,
I have written a component that
resides within a column of a RadGridView. Based on the provided source
code, I need the cell events like CellBeginEdit
, CellEndEdit
, and CellValueChanged
in the RadGridView to be handled intelligently and reliably for columns of the AdvancedRadMultiColumnComboPlus
type.
In other words, how can I get events like CellBeginEdit
, CellEndEdit
, and CellValueChanged
to fire for columns of the AdvancedRadMultiColumnComboPlus
type?
Please guide me.
Thank you.
I'm experiencing a bizarre issue with RadGridView.
I had a grid on a form that displays the results of a List collection. Pretty simple, but there was one column that refused to display the data. The column itself appeared but the data didn't display. I moved everything to another form and it worked fine.
Now I added another column to the grid and now that won't display data. The data is in the list collection, the FieldName property is correct (I even copied it from the POCO to make sure.). Then I added another column to the grid and it won't display at all at runtime even though it shows in the designer. Here is the code from the designer:
Any ideas on this one. I've never had a grid act like this before. Unfortunately I can't send you demo code s if I copy it to another form it will work.
Carl
gvMemos.MasterTemplate.AllowAddNewRow = false;
Hello!
I had a chance to notice some strange behavior with setting CurrentColumn.
For instance I would like to change focused column, in case someone tries to focus on the wrong column.
Let's review 2 cases:
Case #1 (without an issue):
1) User clicks on any cell (different from the current, for instance user cicked on column 2).
2) Grid tries to set Cell from column 2 as current.
3) RadGridView.CurrentCellChanged event is being triggered.
4) Method subscribed on RadGridView.CurrentCellChanged event sets CurrentColumn (for instance it sets 3 if Current one is not 3).
5) Grid sets Cell from third column as current.
6) Nothing is looped.
Case #2 (with issue):
1) Some Method from code sets CurrentColumn as 2 (different from the current one)
2) Grid tries to set Cell from column 2 as current
3) RadGridView.CurrentCellChanged event is being triggered.
4) Method subscribed on RadGridView.CurrentCellChanged event sets CurrentColumn (for instance it sets 3 if Current one is not 3).
5) Grid sets Cell from third column as current.
6) Loop has formed
6.1) Every RadGridView.CurrentCellChanged call it changes the input params:
call 1:
e.CurrentCell = (cell from column 2)
e.NewCell = (cell from column 3)
call 2:
e.CurrentCell = (cell from column 3)
e.NewCell = (cell from column 2)
call 3:
e.CurrentCell = (cell from column 2)
e.NewCell = (cell from column 3)
...
Code:
public partial class Form1 : Form
{
private BindingSource bindingSource;
public Form1()
{
InitializeComponent();
InitializeGrid();
radGridView1.CurrentCellChanged += RadGridView1_CurrentCellChanged;
}
private void RadGridView1_CurrentCellChanged(object sender, CurrentCellChangedEventArgs e)
{
if (radGridView1.CurrentColumn != radGridView1.Columns[2])
radGridView1.CurrentColumn = radGridView1.Columns[2];
}
private void InitializeGrid()
{
bindingSource = new BindingSource();
DataTable table = new DataTable();
table.Columns.Add("Id", typeof(int));
table.Columns.Add("Name", typeof(string));
table.Columns.Add("Age", typeof(int));
table.Rows.Add(1, "Alice", 30);
table.Rows.Add(2, "Bob", 25);
bindingSource.DataSource = table;
radGridView1.DataSource = bindingSource;
}
private void button1_Click(object sender, EventArgs e)
{
radGridView1.CurrentColumn = radGridView1.Columns[1];
}
}