Telerik Forums
UI for WPF Forum
3 answers
193 views
Hi, does your WPF grid support simple user-defined formulas like the Infragistics grid?

I'm looking at the possibility of port ing from Infragistics to you guys but I need functionality.

The feature is a formula button in the grid column header  which has options to Sum, average, count, max, min the values. Once selected it inserts a special row under the header to show the results. If unselected it disappears. Attachment shows this.

Please let me know if you do or do not support this.

Thanks a lot. 
Dimitrina
Telerik team
 answered on 15 Aug 2014
3 answers
113 views
I searched over the net and I could not find any easy way to Drag and drop a row between 2 dynamically created RadGridView. Can you please suggest a way for doing this.
Dimitrina
Telerik team
 answered on 15 Aug 2014
1 answer
78 views
I wonder why telerik WinForm have a Wizard control but WPF is not available. I already checked that there is a thread created about this since 2011 and now 2014 still the same TELERIK or that control has a different name in WPF?.


Yana
Telerik team
 answered on 15 Aug 2014
3 answers
120 views
Am I missing something, or is the user not able to add and remove buttons to the QAT at run-time?

On most RibbonView applications, it is possible for the user to add and remove various command to the QAT when running the application, thereby personalizing the menu. This does not seem to be possible out of the box with the Telerik RibbonView
Kiril Vandov
Telerik team
 answered on 15 Aug 2014
1 answer
125 views
I have a RadDataForm and an EditTemplate defined. What I would like to do is have two different EditTemplates based on user role (different fields and edit capabilities), and switch to the appropriate one at run time. Is there a way to do this?
Yoan
Telerik team
 answered on 15 Aug 2014
1 answer
112 views
Hi,

for my application I created a UserControl which contain a RadScheduleView. We are looking forward to have a mechanism to customize a set of navigation keys, as an example, instead of using the arrow keys to navigate through the appointements and the slots, we want to let the user to determine which keys they want to up to navigate through the appointments and the slots. I would like to know if it's possible to have something like this through the NavigationBehavior or through something else?!?

Thank's
Alain
Rosi
Telerik team
 answered on 15 Aug 2014
8 answers
3.5K+ views
I have a GridViewComboBoxColumn. I dont want the users to be able to edit the data in the column. I am setting the IsEnabled to False but that does not work. Please advise

<telerik:GridViewComboBoxColumn DataMemberBinding="{Binding Author}" ItemsSource="{Binding Authors}" SelectedValueMemberPath="Initials" DisplayMemberPath="LastName" Width="100" IsEnabled="False" />
Dimitrina
Telerik team
 answered on 15 Aug 2014
4 answers
134 views

I have some hierarchical data where my Primary ItemSource is a List<foo>   where foo contains a property List<MonthType> Months

In my gridView  I can do the following and it displays the sub List<Months> amount information in columns

<telerik:GridViewDataColumn Header="Account Title" DataMemberBinding="{Binding AccountTitle}" />
<telerik:GridViewDataColumn Header="Jan" DataMemberBinding="{Binding Months[0].Amount}" />

...

But this does not work

<telerik:GridViewExpressionColumn Header="Total2"  UniqueName="TotalValue2" DataFormatString="{}{0:C}" Expression="Months[0].Amount + ... + Months[11].Amount" />

If I put in a simple test - this works (Where RowID is a valid in in my data Object).

<telerik:GridViewExpressionColumn Header="Total" UniqueName="TotalValue" DataFormatString="{}{0:C}" Expression="RowID * 2" />


Any ideas on how to get this simple expressionColumn to work?

 

 

 

 

Rod
Top achievements
Rank 1
 answered on 14 Aug 2014
1 answer
843 views
Hello, I would like to enquire on a solution to as per title.

If the ComboBox is simply a GridViewColumn, it would had been straight-forward like this:
((GridViewComboBoxColumn)gridPrintOption.Columns["PrintCode"]).ItemsSource = listPrintCode;

But now that it is in a DataTemplate (of a ListBox), it is more complicated as there's no direct means of accessing the controls.
Below are the codes of what I currently have, simplified:

<telerik:RadListBox Grid.Row="0" Grid.Column="2" Margin="0, 5, 5, 5"
            x:Name="listBoxIssue" HorizontalAlignment="Left" VerticalAlignment="Top"
            Height="690" Width="793"
            ItemTemplate="{StaticResource lbIssueTemplate}" ItemsSource="{Binding}">
<DataTemplate x:Key="lbIssueTemplate">
        <Grid Margin="0" Width="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>            
            <ComboBox x:Name="PrintCode" Grid.Row="0" Grid.Column="2" ItemsSource="{Binding}"
                      SelectedValuePath="PrintCode" DisplayMemberPath="PrintCode" />
        </Grid>
    </DataTemplate>

So basically I'm binding 2 different objects here. 1 to the ListBox, and 1 to the ComboBox. The object that binds to the ListBox has a property which is used as the "SelectedValuePath" of the ComboBox, while the object that binds to ComboBox simply provide the ComboBox with the list of options available for users to choose upon drop-down. Everything is fine as it is, but the only problem is I don't know how to bind the object to the ComboBox in non-MVVM way. If it were a GridViewColumn, I would have solved the problem as shown in my 1st code block.
Yana
Telerik team
 answered on 14 Aug 2014
5 answers
121 views
We are using the RadPivotGrid to connect to a SQL Server 2013 Analysis server and in development it works just fine. As soon as I deploy it however to any of our production servers I get no data and a very cryptic error 'Problem with service call' . I get these errors thrown on both the events AdomdDataProvider.StatusChanged and AdomdDataProvider.FieldDescriptionProvider.GetDescriptionSataAsyncCompleted. It appears that all of the necessary components are installed on these servers and clearly it would appear to be a problem connecting to SQL Server but I have no idea what that could be. Interestingly enough in the same program we connect to the SQL Server Analysis server using Microsoft.AnalysisServices (to get a list of databases and cubes) and that works just fine and this uses the same user credentials that we are using with the ADOMD Data provider.

Does anyone have any idea how to track down what this means and what the problem may be.?

Thank you
Rosen Vladimirov
Telerik team
 answered on 14 Aug 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
SplashScreen
Rating
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?