Telerik Forums
UI for WPF Forum
1 answer
110 views
Hello,

I am currently working with the radcartesianchart control and I was wondering if there was a way to click on a ScatterSplineSeries to return the series name. Currently I have dots on the ScatterSplineSeries that I can click on(only the points, not the line) and that only returns the coordinates.


Thanks,

Nicolas
Petar Kirov
Telerik team
 answered on 30 Jul 2013
4 answers
227 views

Hi All,
Need little help here.
About SeletedAppt background:
I am using theme like the online demo.

<telerik:Windows7Theme x:Key="Theme" />
 
 
<telerik:RadScheduleView
telerik:StyleManager.Theme="{StaticResource Theme} … …>

When I selected the Appt(s) the  background color is not big difference with it before be selected. How do change that by simple way.

About ConfirmDialog:
When I click delete button on Ribbon (online demo first look),the DeleteConfirmDialog popup,But you don’t know which Appt to be deleted, because maybe selected Appt not on current page(view window).So my question is how do I add  selectedAppt`s  subject  to ConfirmDialog.

Masha
Telerik team
 answered on 30 Jul 2013
1 answer
161 views

Hi

I have dynamically added a control on RadRIchTextBox and also added some content as Text. I want , When I press Ctrl+A and Ctrl+C then i allow to copy all text with added control and allow to paste all Copied data.

If this is possible then how can I differentiate in copy command Which is Text or Control.

Thanks & Regards

Sopan Vaidya

Iva Toteva
Telerik team
 answered on 30 Jul 2013
9 answers
306 views

When you start dragging from a connector, a Link object is immediately created and added to the diagram. I would argue that the link is added too early since it's not live until you release the mouse, but that aside! When you do release the mouse on another connector, we need to update our internal representation of the flow diagram. Hence, it makes sense to connect source and target since that is what happened. Now...

This function seems to be what we are looking for. However, target is always null (since the link is created too early :P).
public override ILink CreateLink(object source, object target)

At some point we need to know which two connectors were connected. Where do we find such an event/method override? Our best bet so far is overriding the ConnectionManipulationCompleted event, but it seems we cannot determine which two connectors were actually linked:

private void diagram_ConnectionManipulationCompleted(object sender, ManipulationRoutedEventArgs e)
{
    if (e.ManipulationStatus == ManipulationStatus.Attaching)
    {
        var startShape = e.Connection.Source as MyShape;
        var endShape = e.Connector.Shape as MyShape;

        // WHICH connectors where connected?

         ...
    }
}

If we drag from Node1.Left to Node2.Right we ought to get this piece of information. How? (Note that we have our custom connectors.

Tina Stancheva
Telerik team
 answered on 30 Jul 2013
1 answer
88 views
Does the Telerik RadControls for WPF Control Suite support a user company adding their own theme?  Our designers have been doing a lot of color research with the intent of building a common color theme to be used across our desktop and mobile products.  We were wondering if we could add our own theme(s) to be used by the Telerik WPF controls.  If so, does Telerik provide instructions for doing this type of work?  And also, what is the scope of such a project?

Thanks,
Dan
Tina Stancheva
Telerik team
 answered on 30 Jul 2013
5 answers
274 views
The simples example as it could be:

Althought NumberDecimalDigits is set to -1 by default, value is rouded to 2 and the property of viewmodel is updated immedialely without user interaction. This is neither expected nor acceptable behaviour. It makes unusable any changetracking viewmodels and causes many other problems.

View:
<telerik:RadNumericUpDown Value="{Binding NumberProperty, Mode=TwoWay}"   />

ViewModel:
public double NumberProperty
{
  get { return _NumberProperty; }
  set
  {
    if (_NumberProperty != value)
    {
      _NumberProperty = value;
      OnPropertyChanged();
    }
  }
}
private double _NumberProperty = 25.56365;
Konstantina
Telerik team
 answered on 29 Jul 2013
5 answers
154 views
Hi.
I found an issue the RadTabControl for WPF. I placed a prism region on the RadTabControl, and I did not use the region adapter the telerik offers online since I need a regular region and not an all-active region.
So the region adapter in use was prism's SelectorItemsSourceSyncBehavior.
New tabs opened as expected, but for navigation to tabs - when I resolved an already resolved view into the region, the view's tab didn't get selected.

I debugged the adapter and found out that it wasn't getting any SelectionChanged events from the control, so I tested it in a new demo app.
I added an event handler to RadTabControl.SelectionChanged and all the events did fire as expected. BUT - when I casted the control into a selector and added an event handler to ((Selector)radTab).SelectionChanged - no events fired.
Since the control actually inherits from Selector, I consider this a bug.

Eventually I just copied prism's adapter code and changed the Selector parts into RadTabControl - and it works. But I don't consider this a good solution for the long run.

Thanks, Moti.
Hristo
Telerik team
 answered on 29 Jul 2013
5 answers
127 views
Hi,

I'm using the appointment dialog for creating and editing appointments. I want to inform the user about errors in the dialog. For example if he did not fill out the subject text box. I could catch the AppointmentSaving event, but at this time the dialog has already been closed. I want to inform the user before the dialog has been closed so he can make changes in the dialog. How can I achieve this?

thanks in advance,

michael
Yana
Telerik team
 answered on 29 Jul 2013
4 answers
130 views
i have been using free trial version of telerik tool. I am not getting the property SeriesSelectionMode for a ChartSelectionBehavior
in radcartesianchart.
i am also trying to get the selected points from selected lineseries. these lineseries are selected when a rectangle is dragged over the graph. (for eg. this similar to selecting some lines from notepad and working on those lines.)
the series falling under this rectangle should give the respective data points.
Can u give me some example to work on it. Looking forward for the reply.


Supriya
Top achievements
Rank 1
 answered on 29 Jul 2013
6 answers
74 views
The release notes for Q1 2013 state that the TabStripPlacement property is now supported for RadDocking.

Could somebody please provide an example of this working?
Y
Top achievements
Rank 1
 answered on 29 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?