Telerik Forums
UI for WPF Forum
4 answers
185 views
For simple things like adding two numeric columns I'm in good shape but I have two use cases that I can't seem to figure out how to express.
The data structure is an Account object at the root that has 1 or more Detail child objects.  Detail has a few different string properties.
What I want to be able to do is filter down to Account rows where it has at least one Detail object where its property is equal to a certain string.
In C# it would be like this:
var foo = db.Accounts.Where(a => a.Details.Any(b => b.HCPCS == "55555"));

Also,
I wanted to know if there way any way to cast strings to ints in the editor.
Something like
int.Parse(Field) > 50
Nick
Telerik team
 answered on 07 Nov 2014
3 answers
515 views
I am trying to change the style of the scroll bar on both the Pivot Grid and field list. At the moment when the mouse floats over the "Thumb" (that's the small part of the control you drag left or right or up and down), it turns a solid black which is not the behavior we want.
How can we change the back color of the "thumb" part of the scroll bar when the mouse flats over it.

Thanks
Kalin
Telerik team
 answered on 07 Nov 2014
1 answer
121 views
When I open a docx file where source page setup contains mirrored margins, the editor doesn't respect the format and margins are converted to normal configuration, in other words, odd and even pages have the same margins. There is a way to implement mirrored margins in document layout? 
Petya
Telerik team
 answered on 07 Nov 2014
1 answer
150 views
When I open a docx file where source page setup contains mirrored margins, the editor doesn't respect the format and margins are converted to normal configuration, in other words, odd and even pages have the same margins. There is a way to implement mirrored margins in document layout? 

Thanks.
Petya
Telerik team
 answered on 07 Nov 2014
1 answer
109 views
Hi, 
I am writing some automation test cases where I need to find all child control names in datapager control like nextpage, lastpage, previouspage, firstpage and pagesize etc in WPF application.

Wondering whether it is possible and what the easy method is to get the names of all above controls.

Thanks in advance.

Regards,
Prav
Dimitrina
Telerik team
 answered on 07 Nov 2014
3 answers
411 views
In the process of upgrading from version 2013.3.1204 to 2014.2.0729, I notice that Charting is no longer a part of the Xamlless build.  And, indeed, the documentation here:
http://www.telerik.com/help/silverlight/styling-apperance-implicit-styles-overview.html
says that its use with implicit styles is not supported.

- Is this a temporary measure?
- Are there alternatives?  Has the functionality in that dll been superseded by functionality elsewhere?

We are currently using RadChart and SeriesMappingCollection from that library.

Thanks!

-David Marshburn
Sia
Telerik team
 answered on 07 Nov 2014
1 answer
146 views
Hi,

We are writing some automation test scripts for WPF application where we are using a data pager control. Have got a requirement to find out the child control names in the data pager control like nextpage, lastpage, previouspage, firstpage and pagesize etc. Is there anyway to find out these control names ?

Thanks in advance.

Regards,
Prav
Maya
Telerik team
 answered on 07 Nov 2014
3 answers
1.1K+ views
I want to do drag and drop on a RadTreeListView, for example, moving items from one parent node to another. I need to do special handling during the drop operation. For that, I need the underlying data item of that row.

When I register a handler for, say PreviewDrop, in DragEventArgs, I see OriginalSource is the TextBox, which I assume is the visual UIElement of the drop target. How do I get to the item backed by it in the view model? (The DragInitializeEventArgs.Data gives me a collection of these data items being moved, so I have that).

Is there something simple I'm missing? Or do I need to climb the visual tree to somehow get to the bound item?
Thanks!
Boris
Telerik team
 answered on 06 Nov 2014
1 answer
382 views
Hi,

I would like to have a radial context menu appear next to my cursor, or centered on it, when I right click inside a RadMap.

Something like this:

        <telerik:RadMap>
            <telerik:RadRadialMenu.RadialContextMenu >
                <telerik:RadRadialMenu ShowEventName="MouseRightButtonDown" HideEventName="LostFocus"  >
                    <telerik:RadRadialMenuItem Header="Item 1" />
                    <telerik:RadRadialMenuItem Header="Item 2" />
                    <telerik:RadRadialMenuItem Header="Item 3" />
                </telerik:RadRadialMenu>
            </telerik:RadRadialMenu.RadialContextMenu>
        </telerik:RadMap>

The problem is that the Radial Menu does not appear next to the point where I clicked. It actually appears outside my window!
How do I control a contextual Radial Menu's position?

Sebastien

         
Vladi
Telerik team
 answered on 06 Nov 2014
1 answer
132 views
Hi everyone, 
i have a radgridview, 3 columns (customerLastName, customerFirstName, Money). 
When it might groupby by customerLastName, i want to group header row is "customerLastName + total  of Money". 
ex:

Amy - 5,000,000
    Barbara 2,000,000$
    Belinda 2,000,000$
    Emily    1,000,000$

how to implement it?
tks.
Dimitrina
Telerik team
 answered on 06 Nov 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?