We have a few devs usiing Telerik. With 1 dev, we're seeing autogenerated designer code use "this._____" when it doesn't include this with other devs. We're also seeing event handlers disappear from the designer code for the same dev.
Example git diff:
Is this some particular setting or version doing this? I can't seem to get to the root of the issue.
Thanks!
Hi Telerik supportteam,
I’ve found something interesting around filtering combined with a CustomGroupComparer on a RadGridView. To illustrate the situation I added a small example application.
Situation:
Start the application, create a groupBy on e.g. TwoStateCheckbox column, expand some of the groups.
Now, filter on e.g. Name (contains ‘7’).
Result:
All the groups get collapsed.
My own analyses:
With a breakpoint on rule 21 in the CustomGroupComparer, I see that dataGroup.IsExpanded is false, even when the group in the grid is expanded.
With a custom group comparer, Telerik does something with a groupBuilder. It suggests that groups are cloned? If that’s the case I guess the IsExpanded property is not set correctly. Sounds like a bug to me. Can you confirm this and how can I work around this??
By the way: without a customGroupComparer it works ok but we need the custom thing.
Regard,
Daniel Kaya
Hi Everyone,
I use a RadTreeView control on my form. I have a client table and a project table. Both tables have a DeletionStatus boolean field/property.
This is how I set the control up:
this.tvProjectClient.DataSource = clientBindingSource;
this.tvProjectClient.DisplayMember = "FullName";
this.tvProjectClient.ValueMember = "ClientId";
this.tvProjectClient.RadContextMenu = this.rcmProject;
this.tvProjectClient.RelationBindings.Clear();
this.tvProjectClient.RelationBindings.Add(new RelationBinding(this.projectBindingSource, "Name", "ClientId", "ClientId", "ProjectId"));
Now i want to create a FilterDescriptor to filter DeletionStatus to false on the Client table to be like:
FilterDescriptor filterDescriptor = new FilterDescriptor(); filterDescriptor.Value = "False"; filterDescriptor.Operator = FilterOperator.IsEqualTo; filterDescriptor.PropertyName = "DeletionStatus";
My question is, how to I change the property name to reference the client (or project) table for DeletionStatus? I have tried Client.DeletionStatus and ClientRow.DeletionStatus but the control does not register it.
Any ideas? I do not want to change field names if possible.
Many thanks, JB
For example we have RadGridView with 5 columns : column1, column2, column3, column4, column5
column2 and column5 are set to readonly
normally tabbing skips readonly columns, so when user hits Tab focus goes column1->column3->column4->New Row
But if I add this code to make just one cell in the row readonly then tabbing stops working the same way, instead of skipping readonly columns it goes from column3->column4->column5->(stops in column5) and does not create new row. private void radGridView1_CellValidating(object sender, CellValidatingEventArgs e)
{
if(e.Row is null) return;
if(e.Column.Name == "column3")
{
if (true) // some condition that fires based on entered value
{
e.Row.Cells["column4"].ReadOnly = true;
}
}
}
Hi,
I have a pivotgrid table like this:
true | vegetables | data | data | data
| fruit | data | data | data
| subtotal | data | data | data
----------------------------------------------------
false | vegetables | data | data | data
| fruit | data | data | data
| subtotal | data | data | data
How can i change the row header (true, false that are boolean values) using specifically cellformating?
Hi ,
I have one issue for pageviewpage inside radgridview. Almost ppl can see pageviewpage inside radgridview all of column in attached file (pic1) but one pc only can't see the last column in attached file pic2. Actually, she can see before I download telerik dll in dec 2022. After I used the latest version of telerik , she can't see the last column. We already formatted pc but still issue. May I know why these issue happen?
Hello!
There is a little trouble while exporting Telerik RadGridView Rows to PDF or Spreadsheet. The problem with this code is down below.
The question mark parameter is required ISpreadExportRenderer Interface. How to implement this condition. Kindly Explain using Code.GridViewSpreadExport gridViewSpreadStreamExport = new GridViewSpreadExport(this.gvList);
gridViewSpreadStreamExport.RunExport(filename, ?)
Is there a Desktop equivalent example of this example?
https://demos.telerik.com/aspnet-ajax/listbox/examples/applicationscenarios/treeviewdraganddrop/defaultcs.aspx
I'm struggling to figure out the way to handle this. I have a treeview showing a list of accounts, and a treeview that allows for grouping these accounts in a hierarchy. Both have underlying classes that are populated from a database.
I'd like to allow my front-end users to drag and drop accounts from the listView to the treeView. The one attribute they have in common is an AccountNumber. All other attributes in the Hierarchy can be derived from other controls on the form.
I read about adding a DataConverter, but cannot figure out how to implement this. For example, on this page: https://docs.telerik.com/devtools/wpf/controls/dragdropmanager/behaviors/listboxdragdropbehavior
it has a reference to DataConverter (but the definition for that seems to lack).
The other references I've seen is to a DragDropManager, but I don't seem to be able to find concrete examples for Desktop for that, either.
Googling so far hasn't really helped.
Any assistance would be greatly appreciated!
Hi.
I have a problem for GridView SearchRow.
All text in my grid is capitalized. However, when I type in lowercase in the search box, there is a problem with non-English characters. I want lowercase "i" to change to uppercase "İ", but the search doesn't work properly because it turns into uppercase "I".
In this case, I either need to convert all my texts to uppercase, but I couldn't figure out how to do it. This process is very easy in the filter row, but I could not find a similar mechanism in the search row.
Thank you in advance for your help