Hi
I have been trying to solve my issue that the top border color is always gray but for some reason I cannot find what generates it. As you can see the border is red but the topborder is gray. Anything I am missing?
<UserControl HorizontalAlignment="Left" Width="371" Height="648"> <UserControl.Resources> <local:radGridViewBasketData x:Key="DataSource"/> </UserControl.Resources> <telerik:RadGridView x:Name="radGridViewBasket" Background="Transparent" BorderBrush="Red" BorderThickness="1" HorizontalAlignment="Left" Width="371" Margin="0,3,0,3" RowIndicatorVisibility="Collapsed" ShowColumnHeaders="False" AutoGenerateColumns="False" ShowGroupPanel="False"><!-- stuff --> </telerik:RadGridView></UserControl>
I seem to have a problem with changing my datasource.
I have 2 Objects: One with InvoiceLines made up of the following properties: int id, int index, string name and Order order
My Order object is made up of the following properties: int id and string name.
The goal is to be able to select, per InvoiceLine, a corresponding Order by selecting an Order with a combobox. the comboboxcolumn is created via this code:
gvTest.Columns.Add(new GridViewComboBoxColumn { HeaderText = "Order name", FieldName = "Order", DataSource = orderLines, DisplayMember = "Order.Name", ValueMember = ""});
problem is that when running the form, in the Combobox column, the first thing showed is: GridViewTets.Models.Order (which should be the name of the Order) and when selecting another object Order in the combobox and confirming the edit an errorbox shows with this message translated from dutch: an object of type System.String cannot be cast to type GridViewTest.Models.Order.

DropDownList GotFocus Event is not being fired. When I Change the property DropDownStyle to DropDownList then it is being fired.
The Scenario is I have a form, in it's load event i am binding the events which are lying on some other file with different fields. Events are GotFocus and Lost Focus to behave identically when control got focus or lost focus, i made a common event handler and bind that handle with all fields on form load time. all fields are working well but DropDownList control works only when i change its DropDownStyle property to DropDownList.
I dont know why its behaving like this did i miss something ??

I can easily create a RadChartView drill down using the BarSeries ( following the WinForm demo provided by Telerik ) but cannot, after days of troubleshooting, create a PieSeries drill down using nearly the same project/logic as the BarSeries.
If possible, can someone point me to a simple proof of concept where a user can start at a PieChart, drill down to another PieChart and follow the breadcrumbs back to the home PieChart?
It seems that when adding a new View to my RadChartView1 using .AddNew() it always adds a Cartesian chart ( even though RadChartView AreaType is set to Pie ), maybe that is why it works fine with BarSeries and not PieSeries? I see when the DrillEvent fires, the DrillEventArgs e.View is always a Cartesian ChartView which of course doesn't work so well when I attempt to do e.View.Series.Add(series) where 'series' is a PieSeries ( the new PieChart I want to drill down into ).
Thanks for any help, resorting to the forums as I've banged my head on this matter for days.

Our grid is populated via a BindingSource, ultimately by DataTable DefaultView who's source is a stored procedure.
Using a popup form, the user can update the contents of one of the column's cells of the current row. In order to reflect that change I am rebinding the data source.
I'd like to simply "refresh" the contents of the updated cell for that row and not rebind the whole data source. Is this possible using the data binding method I am using, or must I rethink that?
Rebinding the data source of course creates some scrolling issues for the user, and while I can go back to the same row, it's still an issue.
Thanks
Hi
I have been trying to solve my issue that the top border color is always gray but for some reason I cannot find what generates it. As you can see the border is red but the topborder is gray. Anything I am missing?
<UserControl HorizontalAlignment="Left" Width="371" Height="648"> <UserControl.Resources> <local:radGridViewBasketData x:Key="DataSource"/> </UserControl.Resources> <telerik:RadGridView x:Name="radGridViewBasket" Background="Transparent" BorderBrush="Red" BorderThickness="1" HorizontalAlignment="Left" Width="371" Margin="0,3,0,3" RowIndicatorVisibility="Collapsed" ShowColumnHeaders="False" AutoGenerateColumns="False" ShowGroupPanel="False"><!-- stuff --> </telerik:RadGridView></UserControl>

I am trying to build a role access control, and have a grid with roles and bunch of checkboxes on each row. But, when I try to check multiple checkboxes, my previous check goes away. I want to be able to check multiple boxes and then hit save below.
I think I am missing a property of a grid, so here's the entire code.Thanks!
001.using System.ComponentModel;002.using System.Drawing;003.using System.Windows.Forms;004.using Telerik.WinControls.UI;005. 006.namespace TelerikWinFormsApp1007.{008. public partial class RadForm1 : RadForm009. {010. public RadForm1()011. {012. var gridViewTextBoxColumn1 = new GridViewTextBoxColumn();013. var gridViewCheckBoxColumn1 = new GridViewCheckBoxColumn();014. var gridViewCheckBoxColumn2 = new GridViewCheckBoxColumn();015. var gridViewCheckBoxColumn3 = new GridViewCheckBoxColumn();016. var gridViewCheckBoxColumn4 = new GridViewCheckBoxColumn();017. var tableViewDefinition1 = new TableViewDefinition();018. radGridView1 = new RadGridView();019. ((ISupportInitialize) (radGridView1)).BeginInit();020. ((ISupportInitialize) (radGridView1.MasterTemplate)).BeginInit();021. ((ISupportInitialize) (this)).BeginInit();022. SuspendLayout();023. // 024. // radGridView1025. // 026. radGridView1.Dock = DockStyle.Fill;027. radGridView1.Location = new Point(0, 0);028. // 029. // 030. // 031. radGridView1.MasterTemplate.AllowAddNewRow = false;032. radGridView1.MasterTemplate.AllowDeleteRow = false;033. 034. gridViewTextBoxColumn1.FieldName = "Role";035. gridViewTextBoxColumn1.HeaderText = "Role";036. gridViewTextBoxColumn1.Name = "Role";037. gridViewTextBoxColumn1.Width = 30;038. 039. gridViewCheckBoxColumn1.FieldName = "Create";040. gridViewCheckBoxColumn1.HeaderText = "Create";041. gridViewCheckBoxColumn1.Name = "Create";042. gridViewCheckBoxColumn1.Width = 56;043. 044. gridViewCheckBoxColumn2.FieldName = "Read";045. gridViewCheckBoxColumn2.HeaderText = "Read";046. gridViewCheckBoxColumn2.Name = "Read";047. gridViewCheckBoxColumn2.Width = 48;048. 049. gridViewCheckBoxColumn3.FieldName = "Update";050. gridViewCheckBoxColumn3.HeaderText = "Update";051. gridViewCheckBoxColumn3.Name = "Update";052. gridViewCheckBoxColumn3.Width = 60;053. 054. gridViewCheckBoxColumn4.FieldName = "Delete";055. gridViewCheckBoxColumn4.HeaderText = "Delete";056. gridViewCheckBoxColumn4.Name = "Delete";057. gridViewCheckBoxColumn4.Width = 55;058. 059. radGridView1.MasterTemplate.Columns.AddRange(new GridViewDataColumn[] {060. gridViewTextBoxColumn1,061. gridViewCheckBoxColumn1,062. gridViewCheckBoxColumn2,063. gridViewCheckBoxColumn3,064. gridViewCheckBoxColumn4});065. 066. radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;067. radGridView1.Name = "radGridView1";068. radGridView1.ShowGroupPanel = false;069. radGridView1.Size = new Size(292, 270);070. radGridView1.TabIndex = 0;071. radGridView1.Text = "radGridView1";072. // 073. // RadForm1074. // 075. AutoScaleDimensions = new SizeF(6F, 13F);076. AutoScaleMode = AutoScaleMode.Font;077. ClientSize = new Size(292, 270);078. Controls.Add(radGridView1);079. Name = "RadForm1";080. // 081. // 082. // 083. RootElement.ApplyShapeToControl = true;084. Text = "RadForm1";085. ((ISupportInitialize) (radGridView1.MasterTemplate)).EndInit();086. ((ISupportInitialize) (radGridView1)).EndInit();087. ((ISupportInitialize) (this)).EndInit();088. ResumeLayout(false);089. 090. 091. radGridView1.DataSource = new[]092. {093. new { Role = "Admin", Create = true, Read = true, Update = true, Delete = true },094. new { Role = "Reader", Create = false, Read = true, Update = false, Delete = false },095. new { Role = "Editor", Create = false, Read = true, Update = true, Delete = false },096. new { Role = "Writer", Create = true, Read = true, Update = true, Delete = false }097. };098. }099. }100.}After I load my MultiColumnCombobox using a dataset. How do I set the value after a record is pulled from the database? I want to use Column(0)
Column(0) = ID
Column(1) = Desc
Initial Load: mcboApCashTerms.DataSource = dsTerms.Tables(0)
User pulls record from database: rec.CashTermId = "24"
How to do go to the row where Column(0) = "24" ?

Hi,
i made a localization class for PivotGrid as from: http://docs.telerik.com/devtools/winforms/pivotgrid/localization/localization
but some labels are still not translated, for example "Choose fields", "Row Labels" on FieldList, several labels on Print options dialog. Is it possible to make these also translated?
Thanks
Alex

When I want to add new RadForm I get the following error message:
Your project uses GAC referenced assemblies. please upgrade your project.