Telerik Forums
UI for WPF Forum
1 answer
63 views
   I have saw there is ISalesDashboardServiceProxy  but , I don't konw how it works and pass the data
Ivan
Telerik team
 answered on 07 May 2010
4 answers
161 views
We have some AggregateFunctions in our RadGridView. These are visible in the grid's footer like "Sum: kr. 100,00".
But we don't want to show them in the GroupHeader (or Footer). How can we hide them there?
Maya
Telerik team
 answered on 06 May 2010
4 answers
617 views
Hi, how can i access the expander button (expand/collapse command)?
Basicly i need this button to be all over the header.
Thank you
Dimitrina
Telerik team
 answered on 06 May 2010
2 answers
146 views
Hello,

I have a RadRibbonSplitButton, whose DropDown Content is set to a plain UserControl housing only a single ListBox and a single 'Accept' button. This ListBox has some drag/drop code written to allow drag/drop of a row to another position within the same ListBox. Essentially, just repositioning a row within the ListBox to another position. When 'Accept' is pushed, I use the order of the rows in logic elsewhere in the app. If the context menu is clicked out of it disappears correctly, and if the user never clicks outside of the control, they are able to effectively select listbox items as they like, and drag/drop the listbox items to whatever positions they desire, all with the RadRibbonSplitButton drop down staying open until the 'Accept' button is pressed or the user clicks somewhere besides the drop down.

My problem, is that in WPF, anytime I clicked within the listbox, the RadRibbonSplitButton closes, (I believe a routed event may be getting handled here from the ListBoxItem Selection, and RadRibbonSplitButton handles that and closes the drop down) I set 'KeepOpen' to true, to get around this in WPF.

But whenever a Drag is initiated from one of these ListBox Items, the drag cue is displayed correctly and hovers while I drag, but the RadRibbonSplitButton drop down closes immediately. (So there is no List Box showing for me to reposition the ListBox Item being dragged)

I noticed this thread http://www.telerik.com/community/forums/wpf/draganddrop/drag-and-drop-between-a-window-and-a-popup.aspx, which notes that you cannot drag/drop between pop ups, but in my scenario I am just dragging/dropping within a single RadRibbonSplitButton drop down...

Do you have any suggestions that might help me achieve the functionality I am after, having the RadRibbonSplitButton drop down remain open until the 'Accept' button is pressed, or until the user clicks outside of the drop down. Not closing immediately, when a drag is initiated from within the drop down's ListBox?

Thanks for any help you can give!

- Lee
Tina Stancheva
Telerik team
 answered on 06 May 2010
5 answers
162 views
I started with the example with the Leages and Division (as example for data binding from the Demo) and added a tristate checkbox to the treeview and a "bool?" in each class. Initially all items are set to "true".
public League(string name) 
  _name = name; 
  _divisions = new List<Division>(); 
  _selected = true
 
string _name; 
bool? _selected; 
 
public string Name { get { return _name; } } 
public bool? Selected { get { return _selected; } } 
 

As described here I added the CheckStateConverter class which also handles the Indeterminate state.

public class CheckStateConverter : IValueConverter 
  public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 
  { 
    bool? result = (bool?)value; 
    ToggleState returnValue = ToggleState.Indeterminate; 
    if (result == true
      returnValue = ToggleState.On; 
    else 
    { 
      if (result == false
        returnValue = ToggleState.Off; 
    } 
 
    return returnValue; 
  } 
//.... 

The data binding works fine, but the thing I can't understand: If I expand "League A" and "Division A" and uncheck "Team I",  "League A" and "Division A" also switch to "unchecked" instead of "indeterminate". If I uncheck "League A" and check it again the whole tree behaves correctly. What is wrong in my example?

Thanks in advance!
Jan
Rick Bednarik
Top achievements
Rank 1
 answered on 06 May 2010
7 answers
142 views
Hi there,

I am getting a serious NullReferenceException (haven't managed to catch it by exceptions and it crashes my client), and it goes something like this:

   at Telerik.Windows.Controls.Map.BingMapProvider.InitializeProvider() in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Map\Providers\BingMapProvider.cs:line 542
   at Telerik.Windows.Controls.Map.BingMapProvider.ImageryService_GetImageryMetadataCompleted(Object sender, GetImageryMetadataCompletedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Map\Providers\BingMapProvider.cs:line 499
   at Telerik.Windows.Controls.Map.VEWPFImageryService.ImageryServiceClient.OnGetImageryMetadataCompleted(Object state) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\DataVisualization\Service References\VEWPFImageryService\Reference.cs:line 2106
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

It seems to be happening at random, so I can't pin it down.  Is there any way I can solve this please?

Thanks,
Simon.



Andrey
Telerik team
 answered on 06 May 2010
1 answer
128 views
Hi I am having problems trying to bind the radChart to a ms access database. Does anyone have a solution?. Or just a short tutorial. I see none in this forum at all.
Ves
Telerik team
 answered on 06 May 2010
1 answer
89 views
Hi,

I try to create a Radcontrol WPF Project, but an error occur during creation.
You can see the detail of the error in the attached file.

Conf:
VS 2010 RTM
RadControl for WPF 2010.1.422

Kind regards.
Erjan Gavalji
Telerik team
 answered on 06 May 2010
1 answer
75 views
Hi,

I am trying to draw a line graph with two data series with each data series with about 80000 data points - that performs well? I find that after about 1000 data points it is a hog.

Is there anyway to create a line graph with 80K datapoints that is fairly quick? I don't need any frills on the chart - simple vanilla chart would be great.


thanks in advance,
Jas
Sia
Telerik team
 answered on 06 May 2010
1 answer
95 views
1. I have a column in my Grid. It is not allowed to use grouping for this column (IsGroupable="False" ). When I try to drag-drop the column-title to the GroupPanel it just does not do anything. And that is what is expected, but the"not-allowed-image" did not show up.
2. Another column in the Grid is allowed to use grouping. When I drag-drop the title to the GroupPanel everything works fine.
But... when I try to drag-drop the title back again, this also works, but now the "not-allowed-sign" shows up.

Should this not be the other way around: the "not-allowed-sign" shows when I try to group a column with IsGroupable="False"...?
Veselin Vasilev
Telerik team
 answered on 06 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?