Telerik Forums
UI for WPF Forum
2 answers
307 views
Hi,

I have a RadContextMenu inside a RadGridView and it works fine. So each row in RadGridView has is own RadContextMenu.
Now I would like to add some shortcut keys in order to get a context menu open in some submenu or to "click" automatically a submenu.

What do you suggest?

Thanks,

Rosen Vladimirov
Telerik team
 answered on 05 Dec 2012
5 answers
240 views
Hello there, I am assigning my axis in the following manner:
((Telerik.Windows.Controls.ChartView.ScatterPointSeries)xRadChartView_Cartesian.Series[0]).XValueBinding =
new Telerik.Windows.Controls.ChartView.GenericDataPointBinding<System.Data.DataRow, Int32?>()
{
ValueSelector = row => (Int32?)row["ColumnHeader"]
};

This is so that a chart can be created with an axis that could contain null values.  However, when those null values are present, I instead receive an exception at the code above, but only at the point when I am setting the chart data source.  The exception is an InvalidCastException and says that the 'Specified cast is not valid.'.  This only happens if the null values are present.  If they are normal ints then it all works as expected.

Is there an extra step I need to take to allow the chart to deal with these null values?  Either by displaying them as zeroes or just missing them out entirely, leaving just gaps?  The latter would be much more preferable.

Thanks in advance.
Nick
Telerik team
 answered on 05 Dec 2012
3 answers
334 views
I'm using the RadGridView to display a status list to the user, containing all the alarms of the system.
This list is usually filtered on all active alarms, meaning that once an alarm is acknowledged by the user or the system, it should disappear from the filtered list. (but not from the collection, only the filtered list).

However, when the acknowledged property (complete with OnPropertyChanged) is changed, the grid now displays the changed value, but the filter does not filter the item away. How can I achieve this?

I made a sample project describing the problem, but I can't upload it.
Rossen Hristov
Telerik team
 answered on 05 Dec 2012
0 answers
90 views
Hi,

I was wondering if the WPF control suite had anything to support notification bars? Similar to those made popular by JavaScript in the last couple of years.  http://www.hellobar.com/solo/ is an example of what I'm talking about.

Thanks Ed.


Edward Wilde
Top achievements
Rank 1
 asked on 05 Dec 2012
1 answer
125 views
Hi

I have a specific requirement that involves removing a number of annotation ranges at a time.  The only way I can see of doing this is via the Document "Delete" commands to remove them one at a time (some of these are read only ranges, so I can't just create a selection across them all and Delete the selection).

I've stepped through the code and the process of removing these individually called "EnsureDocumentArrangedAndMeasured" after each one is removed, which for a large file absolutely kills the performance.  Is there any way I can improve this?

Thanks

Charlie
Boby
Telerik team
 answered on 05 Dec 2012
2 answers
227 views
I have an Expander that I set IsEnabled="False", but I want to know if user clicks on it so that I can display a message.

Please point me to an example on how to capture that mouse click (MouseDown for example)?

Thanks
Darin
Top achievements
Rank 1
 answered on 05 Dec 2012
4 answers
345 views
I need to do the roughly the same thing as described here:
http://www.telerik.com/community/forums/wpf/chart/group-by-date-and-stack-by-itemtype.aspx

but with some important differences:
I am polling a device for data.  I add rows to my data source and bars to my chart in the elapsed event of a timer.  So I need to update my chart in real time. 
My data source looks like this:
MyClass
{
DateTime PeriodEnd
string Source
int Value
}
Where PeriodEnd is the value for the X axis, Source is how the data is grouped within each PeriodEnd, and value is the quantity to be plotted for each group (Source).

I dont know in advace what the values for Source will be or how many unique values there will be.  I just need to take all the rows for a given PeriodEnd, and chart the value for each Source.

Can you kindly point me to an example that will show me how to do this?  This is my first project with Telerik - sorry I'm an newbie.
Sam
Top achievements
Rank 1
 answered on 04 Dec 2012
3 answers
102 views
How can I add a combo-box to a single row's cell under a specific column?

I want a table like this:

| Property | Value |
| Name     | <string> |
| Config    | <comboboxList> |

The cell at row "Name", column "Value" is a simple text box editor.
How do I make the cell for row "Config", column "Value" a combo box?

Kind Regards,
Albert
Albert
Top achievements
Rank 1
 answered on 04 Dec 2012
2 answers
73 views
I have the following RadGridView defined (using .NET 4.5):

<telerik:RadGridView
                                 ScrollMode="Deferred"
                                 ColumnWidth="Auto"
                                 ActionOnLostFocus="None"
                                 AutoExpandGroups="False"
                                 SelectionMode="Extended"
                                 AutoGenerateColumns="False"
                                 EditTriggers="F2"
                                 IsSynchronizedWithCurrentItem="True"
                                 SelectionUnit="Mixed"
                                 ClipboardPasteMode="Default,AllSelectedCells,OverwriteWithEmptyValues"
                                    >
            <telerik:RadGridView.ChildTableDefinitions>
                <telerik:GridViewTableDefinition/>
            </telerik:RadGridView.ChildTableDefinitions>
           <telerik:RadGridView.HierarchyChildTemplate>
                <DataTemplate>
                 ...
               </DataTemplate>
            </telerik:RadGridView.HierarchyChildTemplate>
</telerik:RadGridView>

As of Q3 2012 SP1, I get the following two errors:

  1. The local property "IsSynchronizedWithCurrentItem" can only be applied to types that are derived from "DataControl".
  2. The specified value cannot be assigned to the collection. The following type was expected: "TableDefinition".

Any suggestions on how to resolve this?

Thank you.
Alan
Top achievements
Rank 2
 answered on 04 Dec 2012
1 answer
89 views
Hi,

I am trying to use the RadPaneGroup for WPF in a WPF application project but it is looking for the System.Windows dll.
If i include the dll, it has dulicate definitions from the PresentationFramework dll.

Am i missing soemthing here?

Regards,
SRini
George
Telerik team
 answered on 04 Dec 2012
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?