Hi,
I want to extend the RadGridView control, so I do "public class TkGrid : Telerik.WinControls.UI.RadGridView {}"
How do I apply a theme to TkGrid control ? I set "ThemeResolutionService.ApplicationThemeName = "FluentDark" but this doesn't work.
I attached a small project where I have one TkGrid and one RadGridView. On top of form there is a dropdown from where you can change the theme
When I do this, TkGrid is not displayed with the new theme (this works for RadGridView)
p.s. I also added a custom Button, TkButton inherited from RadButton. When I change the theme, the look of TkButton is changed, so this is ok
Dear Support team,
Our Application issue: While running application in assistive mode and having a grid with large number of columns, Narrator/JAWS starts reading each Column Value as "DbNull"
while User is Tabbing through selected Row. (Please see attach Video for better understanding.)
I also created a sample Program:
1. Build Win Form app having a RadGridView. [Sample Attached in 1514161]
2. Start Win 10 Narrator App
3. Run App from Step #1 [Note: Please do not Resize Main Form yet]
4. Start Tabbing from Grid selected Row. Narrator does not read/speak Cell Values.
5. Now Close & Run Application again and Maximize Window. Repeat Step #4. Narrator reads/speak Cell Values as expected.
It seems reads all values fine until they are visible, and once you continue tabbing and horizontal scrolling happens and then stops reading.
Please advice. A Fix for it would be a great help!
Looking forward to hear back!
Thanks and Regards,
Vivek
Sr. .Net Developer
The RadGridView designer allows you to add columns and make changes while debugging the application. When you click the Ok button it tells you that your changes cannot be applied and everything is lost. I've done this several times by accident and didn't realize I was debugging until my changes were lost. Maybe disallow making changes to the columns while debugging?
The Property Builder of RadGridView makes unnecessary Designer modifications, causing checkouts in source controlled files. For example, if you have a gridViewCheckBoxColumn1 stored in the designer file, you open the Property Builder and close it (no matter if you make any changes or not), the gridViewCheckBoxColumn1 is removed in favour of gridViewCheckBoxColumn2 that is automatically created.
Hi,
I want to add a MultiComboBoxColumn to a GridView
is it possible to define the columns for this MultiComboBox at design time (in Property Builder editor of Grid) ?
The main purpose is optimizing memory consumption and performance when generating large pdf documents.
Resource: https://www.telerik.com/blogs/pdf-stream-processing-reliable-and-efficient-processing-of-pdf-files
I want that the user can select a value from al list like in excel:
Currently, when using the Excel-like filtering and RadListFilterPopup it does not allow filtering by time, only by date:
To reproduce:
1. Bind a RadGridView to the Northwind.Products table
2. Enable the header checkbox for the Discontinued column
3. Set the ReadOnly property either for the grid or for the specific column.
The header checkbox is not allowed to be toggled. However, you can toggle/untoggle it which affects all the data rows.
To reproduce: - Add ColumnGroupsViewDefinition and set ShowHeader to false. - Set AutoSizeRows to true. Workaround: Manually set the row height. ViewDefinition.ColumnGroups(0).Rows(0).MinHeight = 50
Good afternoon,
I was wondering if anyone could help me with a GridView export issue I am having.
I am populating a GridView from an SQL query. This table has two DateTime columns that I am formatting after the DataBindingComplete to show the milliseconds portion of the DateTime field like so:
private
void
dgvTransTable_DataBindingComplete(
object
sender, GridViewBindingCompleteEventArgs e)
{
for
(
int
j = 0; j <
this
.dgvTransTable.Columns.Count; j++)
{
if
(
this
.dgvTransTable.Columns[j].GetType() ==
typeof
(Telerik.WinControls.UI.GridViewDateTimeColumn))
{
((GridViewDateTimeColumn)
this
.dgvTransTable.Columns[j]).FormatString =
"{0:MM/dd/yyyy hh:mm:ss.fff}"
;
}
}
}
Works great. Column displays just like I want. Now the problem is with the Excel Export. Normally with the format cell options, you can use .000 for milliseconds. I just can't seem to get it correct with the GridViewSpreadExport. This is what I am trying, note I've also tried using the .fff but it both cases, all that is written to the Excel cell is the short date/time string, and the formatting looks like I want, except either just the literal .fff or .000 show up in the visual cell.
I'd even be happy if someone knows how to make this field export as a straight text field as long as the string is formatted like the gridview cell.
foreach
( GridViewDataColumn col
in
dgvTransTable.Columns )
{
switch
( col.DataType.Name )
{
case
nameof(DateTime):
col.ExcelExportType = Telerik.WinControls.UI.Export.DisplayFormatType.Custom;
col.ExcelExportFormatString =
"MM/dd/yyyy hh:mm:ss.000"
;
break
;
}
}
When you have a checkbox column in the grid and group by a certain column, you should have the possibility to check-all rows inside a group without the necessity of expanding the group and checking each separate row.
The group row should have a checkbox as well. When you toggle it, all data rows or nested groups should also be toggled. The parent group should also be adjusted correctly.
Workaround: The following knowledge base article demonstrates a sample approach how to extend the default group row and add a checkbox. However, it would be necessary to modify and extend it in a way to cover the cases with nested groups:
https://www.telerik.com/support/kb/winforms/details/check-all-functionality-in-group-rows
Currently, due to the specificity of the internal implementation for this scrolling behavior, the possible solution that I can suggest is to hide the row header by setting the ShowRowHeaderColumn property to false.
this.radGridView1.ShowRowHeaderColumn = false;
Hi Telerik Teams,
I have a problem,When I filter data in gridview, a RadForm appears. But there are problems with the margins of its 2 buttons. How can I deal with it?
Thanks
Mason Chiu
GridView is not correctly drawn if it's not populated and the theme is set to "TelerikMetro" or "TelerikMetroBlue" (the bottom line is missing).
Steps to reproduce the behavior: create a RadForm, add a RadGridView to it and set the theme to "TelerikMetro" or "TelerikMetroBlue" by using ThemeResolutionService.ApplicationThemeName.