Hello --
I am using the following to populate a datagrid and to setup hierarchical relationships for a parent/child grid:
private void radButton1_Click(object sender, EventArgs e) { FlexEDIEntities db = new FlexEDIEntities(); var gridData = (from d in db.billing_transactions where d.status == 1 select new { d.Id, d.stop_details.con_name, d.stop_details.con_address1, d.stop_details.con_city, d.weight_billed, d.base_amount, count = d.billing_transaction_accessorial_charge.Count }).ToList(); main_grid.DataSource = gridData; if (this.main_grid.Relations.Count == 0) // does not exist yet { GridViewRelation relation = new GridViewRelation(this.main_grid.MasterTemplate); relation.ChildTemplate = accessorial_template; relation.RelationName = "TransToCharges"; relation.ParentColumnNames.Add("Id"); relation.ChildColumnNames.Add("billing_transaction_id"); this.main_grid.Relations.Add(relation); } }
I have a lot of these to do in this project so I am trying to not have to have a bunch of extra data sources in the project.
It is not necessary that the datagrid update the underlying data source as edits will be handled by dedicated screens.
Can I set up the child data source using a linq query, either by modifying the one above or having a second one that is dedicated for the child relationship?
Thank you --
Joe


How can I get word by word from RadRichtextbox ? For instance:
---------------------------------------------------------
%
{#Program}{toollist}
G0 G90 X49 {N_block}
---------------------------------------------------------
I need follow result. Sometimes I have spaces between word sometimes not.
So I think I have to split between all ABCDE...XYZ and between { } characters.
word[1]="%"
word[2]="{#Program}"
word[3]="{loollist}"
word[4]="G0"
word[5]="G90"
word[6]="X49"
word[7]={N_block}

Hi,
I want to know about the license for Winforms per developer means ? What are the benefits if i buy this license ?
Thanks.
Hello;
In your WPF control it looks like you can do this:
https://www.telerik.com/forums/how-to-add-columngroup-in-radgridview-columngroups-at-run-time-from-code-behind
How can I add a new columnGroup to the current ViewDefinition?
Thank you,
Joe

I'm currently using Syncfusion for some work, but I'm quite unhappy with their product's design and implementation. I'm considering switching to Telerik, but I need to know whether or not the RadGridView filters/sorts the underlying strongly typed binding source, or whether it uses it's own internal list to filter/sort on.
Here's why:
1. We have 3 grids that need to synchronize data for, including filtering and sorting.
2. We are using the Binding Navigator and we want to use it straight out of the box without having to add custom functionality
As far as I have researched, WinForms does not have an implementation of a strongly typed sortable/filterable binding list (it does through DataSets and DataTables, but they are not strongly typed). The closest thing I've found is to write my own implementation of IBindingListView<T>, which only one example has been found on the web, and that version does not support text filtering (it's an incomplete implementation). We're doing an architectural upgrade from DataTables to a strongly typed binding list so that we can get runtime updates from the database in real-time and show them to the user.
Does Telerik (or WinForms) have an implementation of IBindingListView<T> that we can use as the underlying list for our DataSource of a RadGridView and does RadGridView sort/filter on the underlying list, or it's own internal list?
Thanks!

I am using the RadBrowseEditior to select image files. I have coded the object to make sure the selected file is only one of the following:
*.BMP, *.GIF, *.PNG, *.JPG
I would also like the open file dialog box to have those items set as the shown files. Is there a setting to mask the file types in the file picker?


Hello,
I added a count of rows in grid summary row. am able to see the added summary row but data is available in it.
// Add summary rows GridViewSummaryItem _summaryItem = new GridViewSummaryItem(); _summaryItem.Name = "count"; _summaryItem.FormatString = "Count = {0}"; _summaryItem.Aggregate = GridAggregateFunction.Count; GridViewSummaryRowItem _summaryRowItem = new GridViewSummaryRowItem(); _summaryRowItem.Add(_summaryItem); gridNew.SummaryRowsTop.Add(_summaryRowItem);Hi,
The delimiter is a char attribute in RadAutoCompleteBox.
Is it possible to have multiple delimiter (like space and enter) ?
If yes how?
Thanks a lot