Hi,
I try drag & drop function from gridview1 to gridview2 in wpf application. but i don't know
please help me..
Thanks.
tc.EndPoint = new Point(e.Shape.Connectors["Right"].AbsolutePosition.X + 20, e.Shape.Connectors["Right"].AbsolutePosition.Y);private void diagram_ShapeDeserialized_1(object sender, Telerik.Windows.Controls.Diagrams.ShapeSerializationRoutedEventArgs e){ if(e.Shape.OutgoingLinks.Count() == 0) { CreateTrueConnection(e); CreateFalseConnection(e); } if (e.Shape is IFlowchartStepUI) ((IFlowchartStepUI)e.Shape).LoadStep(_stepsData, e.Shape.Id); }private void CreateTrueConnection(Telerik.Windows.Controls.Diagrams.ShapeSerializationRoutedEventArgs e){ RadDiagramConnection tc = new RadDiagramConnection(); tc.Stroke = Brushes.Green; tc.StrokeThickness = 2; // Add the "True" Label var lbltrue = new System.Windows.Controls.Label(); lbltrue.Style = this.FindResource("TrueLabelStyle") as Style; lbltrue.Content = "True"; tc.Content = lbltrue; //tc.Position = new Point(750, 150); tc.SourceConnectorPosition = Telerik.Windows.Diagrams.Core.ConnectorPosition.Right; //tc.TargetConnectorPosition = Telerik.Windows.Diagrams.Core.ConnectorPosition.Auto; //tc.SourceCapSize = new System.Windows.Size(7, 7); //tc.TargetCapSize = new System.Windows.Size(7, 7); tc.ConnectionType = Telerik.Windows.Diagrams.Core.ConnectionType.Polyline; //tc.StartPoint = new Point(750, 150); Console.WriteLine(e.Shape.Connectors["Right"].AbsolutePosition.X.ToString()); Console.WriteLine(e.Shape.Connectors["Right"].AbsolutePosition.Y.ToString()); tc.EndPoint = new Point(e.Shape.Connectors["Right"].AbsolutePosition.X + 20, e.Shape.Connectors["Right"].AbsolutePosition.Y); tc.TargetCapType = Telerik.Windows.Diagrams.Core.CapType.Arrow2Filled; tc.Source = e.Shape; this.diagram.AddConnection(tc); }hi
i'm using Radgridview , My scenario is i have totals in one row i need to enter some numbers in next row cells ,when ever i entered number ,based on that number it calculate % of above totals and the calculated figure should be displayed in next row ..... how to implement this cell triggers using C# plz help me
If you see below attachment u can understand .. if i enter 10 in cell then the calculated total figure should to next row cells
thanks in advance
control, but several RichTextBox controls. For example, when my focus is in Subject field, I should be able to add a Mail Merge to that control. When my focus is in main body, all mail merge fields should go there. Of course, when I scan through items, both should change.
If someone can attach a sample program, it would be best.
Thank you in advance.
Michael
