Hi there,
I apologize if this is answered elsewhere. I tried searching and I couldn't find anything that worked for my need.
I'm trying to put together a demo project to sell the need for Telerik to the company I work for. The thing I wanted to impress them with was the RadGridViews. In my former job, which feels like a lifetime ago, I worked a lot with the ASP.NET ones, and now I'm trying to work with the WinForm ones and... failing on this issue.
We currently have a "report" which pulls data from a database using a stored procedure. It's called using a method GetClientInfo and passing in various information (Department and Employee ID). This then fills a DataGridView. When the user finds a Client they want to view they click a button and it loads a second grid underneath containing the Case details of each Client and the total outstanding Bills, GetFileInfo, passing in the ClientNo that it got from the previous grid. What I therefore want to do with the Grid, which I remember doing in the ASP.NET version, is to load the original data into the top level, and then load child rows for the GetFileInfo based on the row.
It needs to work something like:
GridUnpaidBills.DataSource = GetClientInfo(department, employeeId);
And then, depending on the PLUS they click, it needs to load the child source:
ChildSource = GetFileInfo(GridUnpaidBills.SelectedRows[0].Cells["ClientNo"].Value.ToString());
Does that make sense? I don't know the ClientNo until the PLUS is clicked for that row, so what I was looking for was an On Demand load for the Child, and while I've looked at the help pages and elsewhere I've found various code that sets out a relation using existing tables, but I need to use the method to access the Stored Procedure to retrieve the data as I (currently) have no way of retrieving it otherwise, and I don't want to have to rewrite all the stored procedures for a demo project.
Hopefully I've explained this properly, and hopefully someone can help me out.
Apologies again if it's ridiculously obvious and I'm just not seeing it.

Hi,
I am trying to create custom shaped form but I do not see the difference:
public partial class FormToolTipError : Telerik.WinControls.UI.ShapedForm{ public FormToolTipError() { InitializeComponent(); Telerik.WinControls.CustomShape customShape = new Telerik.WinControls.CustomShape(); customShape.AsString = "20,20,200,100:20,20,False,0,0,0,0,0:220,20,False,0,0,0,0,0:220,120,False,0,0,0,0,0:20,120,False,0,0,0,0,0:"; this.Shape = customShape; ...

I'm wanting to use the navigator on a stock page. We have something in the regions of 11000 stock items so I also need to offer a search function based on our part numbers.
After the user has found the item they want I would like them to be able to navigate either side of that item using the navigator.
I am using the Entity Framework and Linq to Entities.
I load data to the navigator with
1.var stock = (from s in context.Stocks2. select s).ToList();3. 4. this.bindingSource1.DataSource = stock;5. this.bindingNavigator1.BindingSource = bindingSource1;
How can I find the position of my item and then set the binding navigator to that position?
Thanks,
Victoria
I'm using C#
Telerik UI for Winforms Q3 2015
Using a RadForm.
I have a radgridview.
I'm trying to get a Boolean Column to show as a Checkbox column.
gridViewComboBoxColumn1.DataSource = this.propertiesBindingSource;
gridViewComboBoxColumn1.DataType = typeof(bool);
gridViewComboBoxColumn1.DisplayMember = "lease_up";
gridViewComboBoxColumn1.EnableExpressionEditor = false;
gridViewComboBoxColumn1.FieldName = "propertynumber";
gridViewComboBoxColumn1.HeaderText = "column2";
gridViewComboBoxColumn1.Name = "column2";
gridViewComboBoxColumn1.ValueMember = "property_number";
This returns True or False as it should.
I want to use the DisplayMember Value for a CheckBox
gridViewCheckBoxColumn2.EnableExpressionEditor = false;
gridViewCheckBoxColumn2.Expression = "LeaseUp ";
gridViewCheckBoxColumn2.FieldName = "LeaseUp2";
gridViewCheckBoxColumn2.HeaderText = "Lease Up 2";
gridViewCheckBoxColumn2.IsAutoGenerated = true;
gridViewCheckBoxColumn2.MinWidth = 20;
gridViewCheckBoxColumn2.Name = "LeaseUp2";
gridViewCheckBoxColumn2.ReadOnly = true;
gridViewCheckBoxColumn2.Width = 80;
To Make sure what value was being passed I added the TextBox Column Below for testing
gridViewTextBoxColumn2.EnableExpressionEditor = false;
gridViewTextBoxColumn2.Expression = "column2 ";
gridViewTextBoxColumn2.HeaderText = "column1";
gridViewTextBoxColumn2.Name = "column1";
gridViewTextBoxColumn2.ReadOnly = true;
The Value returned by the Expression is the ValueMember (property_number)
and not the DisplayMember (lease_up)
What do I need to put in the Expression of either the TextboxColumn or
CheckBoxColumn to return gridViewComboBoxColumn1.DisplayMember (lease_up Boolean value)?
Any help will be greatly appreciated.
Thanks,
Hello,
is there any way to access a collection of the cells/rows that match the search criteria?
I'm trying to implement a combined search/filter - function -- using the SearchProgressChangedEvent to hide all rows that do not match the search criteria.
Kind regards,
Andreas

Thank you
first question
i don't want selected rectangle that i select item(using fullrowselect)
please see a picture
second question
i want that header isn't clicked
how can i do?? thanks!!


When trying to create a custom theme for a Panorama, I can import the xml into the theme manager, but it does not show up. I've done this with other control (buttons for example) and it works. I've found that some control require some "Base" controls to also be themed, but I haven't found any documentation as to a hierarchy of requirements for a control to work.
Is there such a list, and if not, can someone at least tell me what control I need to theme in order to get a RadPanorama to accept my custom theme. Mostly this is simply to get it to use my custom scrollbar (which *has* been themed).
Thanks.

I have a GridView with MultiSelect enabled. The standard behavior is when the user selects a row this changes the row's color and all selected rows maintain a diferent color. I want to mimic this behavior with a GridViewCheckBoxColumn.
My GridView has a GridViewCheckBoxColumn and when it's checked, I want to change the row color. If it's unchecked, return it back to normal. Currently I'm using the ValueChanged event to capture the event of the checking and unchecking.
private void radGridViewProducts_ValueChanged(object sender, EventArgs e){ if (this.radGridViewProducts.ActiveEditor is RadCheckBoxEditor) { this.radGridViewProducts.Rows[this.radGridViewProducts.CurrentCell.RowIndex].IsSelected = true; }}The code above does not change the row color. How can I acheive this?
Thank you.
