I'm trying to add clickable rectangles to a diagram, but the event handler doesn't execute. Why?
Thank you far any help!
private void button1_Click(object sender, EventArgs e) { var shape1 = new RadDiagramShape() { ElementShape = new RoundRectShape(0), Position = new Telerik.Windows.Diagrams.Core.Point(50, 50), Height = 100, Width = 100, BackColor = System.Drawing.Color.White, BorderBrush = new SolidBrush(System.Drawing.Color.Black), DrawBorder = true, ShouldHandleMouseInput = true, IsConnectorsManipulationEnabled = false, IsEditable = false, IsRotationEnabled = false, IsDraggingEnabled = false }; shape1.MouseClick += shape_Click; radDiagram1.AddShape(shape1); radDiagram1.SelectionMode = Telerik.Windows.Diagrams.Core.SelectionMode.None; } private void shape_Click(object sender, EventArgs e) { ; }
I want to add a condition on GridViewCheckboxColumn click event, requirement is 'when checkbox is clicked event should be fired.'
Currently i applied GridViewCell_Click event but it fired on current Cell not particularly on checkbox, and i don't want to use Cell_ValueChanged event according to my programming scenario because it reflects a lot of change in my code.
What should i do?
c# programming language
Hai
In My Project I have Three GridFields. In Three GridFields Editor is Required,So it is Possible to Create Control Array for that GridFields.

Hi,
How can i get WGS84 coordinates from radmap click event?
Regards,

Using the Chart that comes with Visual Studios I can set the Hatch Style of a particular column with the code below. I need to know how to do the same using the RadChartView.
this.ChtEvolution.Series[0].Points[16].BackHatchStyle = ChartHatchStyle.BackwardDiagonal;
this.ChtEvolution.Series[1].Points[16].BackHatchStyle = ChartHatchStyle.BackwardDiagonal;
this.ChtEvolution.Series[2].Points[16].BackHatchStyle = ChartHatchStyle.BackwardDiagonal;
this.ChtEvolution.Series[3].Points[16].BackHatchStyle = ChartHatchStyle.BackwardDiagonal;
this.ChtEvolution.Series[4].Points[16].BackHatchStyle = ChartHatchStyle.BackwardDiagonal;
this.ChtEvolution.Series[5].Points[16].BackHatchStyle = ChartHatchStyle.BackwardDiagonal;

Hi,
I am trying to make a DateTimePicker readonly and having limited success. A forum search returns a ton of candidate workarounds for this, but some of them stretch back to 2009 and it is very difficult to figure out whether these workarounds are still valid, supported, required or optimal with the latest release.
I am trying to suppress input (either keyboard, mouse, direct input or via the calendar dropdown) for a datetimepicker and the logical approach would seem to be to set the ReadOnly property to true, but this doesn't appear to have any effect.
The most common approach on the forums (from 2009 onwards) is to set the control to disabled and then fudge the styling to make it match other readonly controls, which is the approach we have taken in the past. However we are currently refactoring our control code with a view to simplifying it by removing any overly complicated hacks and fudges, so ideally this is an approach we are looking to replace.
Many of the posts recommending this approach are over 8 years old, so I am hoping this has been superseded but I am again struggling to achieve this intuitively with the latest control release.
Is there a way to set the control to readonly rather than disabled, or is the styling approach still the recommended solution?
Thanks,
Mark.


Hi, Is there any way to change the background color in some specific column when the user does click on "Add new row" text.? I can change the color after the row was added but I don't know if its possible.
Something like this.
Separately, the comboBoxs work fine, but they do not want to do it together, but at the time of loading it gives an error: an entry with this key already exists on the radGridView5.Columns [3] = comboColumn_operation ;.
Downloading occurs once
radGridView5.Invoke(new MethodInvoker(delegate () { radGridView5.AutoSizeRows = true; radGridView5.DataSource = _bindingSocOperationGrid; GridViewComboBoxColumn comboColumn = new GridViewComboBoxColumn("соц. работник"); comboColumn.DataSource = _bindingSocRabotnik; radGridView5.Columns[1] = comboColumn; comboColumn.FieldName = "fio"; GridViewComboBoxColumn comboColumn_operation = new GridViewComboBoxColumn("операция"); comboColumn_operation.DataSource = _bindingSocOperation; radGridView5.Columns[3] = comboColumn_operation; comboColumn_operation.FieldName = "operation"; }));
