1.- Issue:
I have a RadGridView consisting of one master template and a child template. I query my database, build a dataset and I assign it to the RadGridView datasource.
It works just fine with few records but when I pull a considerable amount of data it takes forever to render, specially if I want my rows to be expanded from the beginning.
For Each row As GridViewRowInfo In template.Rows
row.IsExpanded = True
Next
Is there any way to improve the render time of the RadGridView ? The query and code take around 3 seconds to run, but when I go row by row expanding all of them it just takes like 2 minutes. I am attaching what it looks like when it finished loading. The 400 row hast more than 8000 records in the child template. I know its big data, but is there any way to improve this ?
2.- Issue
As soon as the RadGridView finishes loading the data mentioned above, if I close the screen the resources are not freed at all. I tried calling RadGridView1.Dispose() but it takes more than 10 seconds to just run the dispose command. Is this a known issue that the RadGridView eats a lot of memory and can't free it by itself ?
I am running Telerik for WinForms 2020.2.616.40
Thanks for any information provided.
I notice default RadDesktopAlert backcolor is transparent, when I move mouse it change to solid color without transparent, please let me know if this is possible to remove its transparent backcolor property?
Thanks,
Shakti
Hi
I use Telerik UI for WinForm 2014 radchart.
I need to insert a logo picture and a label involved NowDate in printed chart page.
for this goal I insert a label and picture box on radchartviewer component but when I print(radchartviewer1.Print()) neither label or logo not printed.
Please help me.
Thanks.
Hi Admins
Previously i was using Default DataGridView for populating a Table.
It was working fine. But due to advace Functionality of RadGridView, I have develop the same with Telerik Controls (R2 SP1 2019).
But i have some Performance Issues.
Check the Sample Code and please suggest me for Performance Enhancement.
I'm Creating Column at Run Time Using This Code and Setting Grid Properties.
this
.radGridView1.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
this
.radGridView1.ShowGroupPanel =
false
;
this
.radGridView1.MasterTemplate.EnableGrouping =
false
;
this
.radGridView1.EnableHotTracking =
true
;
this
.radGridView1.MasterTemplate.SelectionMode = GridViewSelectionMode.FullRowSelect;
this
.radGridView1.AllowAddNewRow =
false
;
this
.radGridView1.AllowEditRow =
false
;
GridViewTextBoxColumn ColumnId =
new
GridViewTextBoxColumn
{
Name =
"suppid"
,
HeaderText =
"Code"
,
FieldName =
"suppid"
,
Width = 80,
HeaderTextAlignment = ContentAlignment.MiddleCenter,
TextAlignment = ContentAlignment.MiddleCenter
};
radGridView1.MasterTemplate.Columns.Add(ColumnId);
I'm creating 10 different Columns using the Above Code.
Using the Below Code loading the Data to GridView
DataTable dt =
new
DataTable();
string
query =
"Select suppid from p_supplier"
;
SqlCommand cmd =
new
SqlCommand(query, Conn);
SqlDataAdapter DA =
new
SqlDataAdapter(query, Conn);
DA.Fill(dt);
BindingSource source =
new
BindingSource();
source.DataSource = dt;
radGridView1.MasterTemplate.DataSource = source;
I have shown you only 1 Column only to shorten my Code.
Please Suggest.
Hello,
I just recently discovered that this tool was added to the Telerik win UI toolbox and love the functionality. Within the editor it is possible to assign a launch argument value. However, after reviewing the documentation I'm not entirely sure how to go about referencing that argument within the toast template, as well as passing in the value for that argument at run time.
I've attached a screenshot of what I'm trying to accomplish within the toast notification editor. Two questions:
1) What's the correct syntax to reference the launch argument variable value within the toast notification editor?
2) Is there a method to assign the variable value prior to calling the .ShowToastNotification(index) method?
Thanks!
Hello,
my task was to enable zoom of GridView using mouse wheel + Ctrl key. I implemented it with partial success. I am not able to correctly resize some parts of the grid - see attached pic with red rectangles. I can provide a sample project. And a subquestion - is it possible to disable scrolling while the Ctrl Key is pressed?
Thanks in advance for help.
Tomáš