I have a simple form, in which the first two controls are radio buttons. I dont' want either radio button checked, but no matter what I do, the first radio button is always checked when I run the form. I want the user to have to pick one of the radio buttons, and if they don't we have code that warns a one of the radio buttons must be picked. Witht hat said, I am kind of stuck, as I played with setting them both to IsChecked = false and CheckState = CheckState.UnChecked, but the first RadioButton, at runtime, gets checked anyway.
Also, I don't want the radio button to auto check when the user uses the ARROW keys to switch between them. I want the user to have to either click the SPACE BAR or click with the mouse, is this possible.
TIA
Hi all,
i tried to add a CommandBarSeparator into a CommandBarStripElement (of a RadCommandBar) .
The RadCommandBar has dock = Left...so , i would like to have a separator like an horizontal line
But..when i add CommandBarSeparator (at runtime) the commandBar shows a separator like a vertical line
I have tried to set commandBarSeparator.orientation to horizontal , but has no effects.
Hi
There is a List<Class> bound to the ListView, and the data in the list is changed from time to time by the user's. At that time, I want to apply Auto Elipsis, which is shown as... when the letter of the item is longer than the column width with each column width fixed, but I don't know how.
So we are populating rad grid from data which we get from database.
my requirement is like based on datatype which we get from service(database) I need to show checkbox or datetime or text in same column.
if I will be receiving 1 or 0 I need to show checkbox marked as checked / unchecked respectively if got text than simple text need to be shown.
pls check below image for more reference.
Requirement
What we tried:
so I am here sharing you my the things we tried.
Actually we tried using cell formatting event to change the cell element based on data it is working fine but we are experiencing visual glitch's.
glitch is like have checkbox on all columns of same row as we scroll right or left in grid.
Note: on the first time its work fine but when we scroll than glitches come.
I am attaching the code snippet which we tried also attaching video clip which will show the glitches.
Code snippet:
private void GrdHistory2_CellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement is GridDataCellElement)
{
// Assuming you have a data source where the column "MixedTypeData" determines the cell type
if (e.Column.Name == grdHistoryColNewValue.Name)
{
if (e.Row.Cells["New Value"].Value != null)
{
if (e.Row.Cells["New Value"].Value.ToString() == "0")
{
e.CellElement.Children.Clear();
RadCheckBoxElement checkBoxElement = new RadCheckBoxElement();
e.CellElement.Children.Add(checkBoxElement);
}
else if(e.Row.Cells["New Value"].Value.ToString() == "1")
{
e.CellElement.Children.Clear();
RadCheckBoxElement checkBoxElement = new RadCheckBoxElement();
e.CellElement.Children.Add(checkBoxElement);
}
}
}
}
}
pls check below gif image.
Here I just need to show in column "New Value" but it also coming on all other column while scrolling. disappear after while .
Please suggest me some solution so that it would work for my use case.
Hi,
I’m trying to draw CartesianGridLineAnnotation in front of each Y axis tick.
The Y axis number of ticks depends on the size of the RadChartView. The property DesiredTickCount is update into the SizeChanged event of the Chart. (Same issue with the resize event of the RadChartView).
It’s working fine when the form is resize with the mouse drag, but when I resize the form by double clicking the form (switch to full screen), it’s not working as expected.
ActualRange property seems not updated in the non working case, is there a way to avoid that ?
Thanks.
I have a .Net6 winform app and was trying to bind sqlite to radgridview.
Has anyone bound the radGridView to a SQLite db via entityframework? If so what is the best way to go about it? I have not yet been able to find anything on it.
thanks!
Hi,
I would like to know how to get the size of the cartesian area (red square above).
I tried with radspy to get the right element, but there is no size set, everything is "0,0", any idea?
Thanks in advance
Hi,
I installed the Telerik WinForms at the first time and developed something with the RadGridView and more. After this, I want to use the Export Function, to export the RadGridView to Excel. But it doesn't know "SpreadExportRenderer" and I search for the problem.
I looked at my references in my project and the .dll called "Trial Version". I looked for the correct assemblies/library and found some Infos that the Assemblies for .NET 4.7 is in the folder "Bin45". But in my Folder "C:\Program Files (x86)\Progress\Telerik UI for WinForms R3 2023" I only found "Bin40", "Bin48", "Bin60", "Bin70", "BinNetCore", "Examples", "LicenseAgreements" and "VSExtensions". But no Bin45, I needed.
In this case, I try to change the as Trial marked .dlls with the .dll from the "Bin48" folder, but I get errors.
I am a little bit confused. Maybe someone can help me :)
Hi, I'm using a RadPdfViewer to show a document, and a RadPdfViewerNavigator associated with him.
I have 2 questions:
1) I've noticed that even if the pdf document is not loaded in the RadPdfViewer control, all buttons in the RadPdfViewerNavigator are enbaled, then the user can click on some button and I tthink this is not correct (further, the application can crash if he clicks for example, on the rotate button). Is there a way to tells that to the RadPdfViewerNavigator to enable/disable buttons in base of loaded document, or I need to do it programmatically?
2) The print preview form is very well and powerful, but I've noticed that it is very slow to move from a page to another... It can be a problem on my own, or it is by design?
Thank you for any assistance.