Telerik Forums
UI for WPF Forum
3 answers
365 views

Hi Telerik,

We are using RadGridView's -Column- AggregateFunction. We have disabled the Group Panel and Group Footer.

We are binding to an ObservableCollection of objects which implement INotifyPropertyChanged.

We have noticed that calling CalculateAggregates() updates the underlying values in the AggregatesResults collection after each call to CalculateAggregates(), however, the RadGridView's aggregate footer row in the UI will only ever update the values after the first call; subsequent calls will not update the value in the footer row.

In other words, the underlying AggregateResults values are always updated when calling CalculateAggregates(), however, the results on the screen in the RadGridView's aggregate footer row will remain as only the first updated calculated aggregate values, and will ignore displaying any further updates to the underlying aggregate values.

We have also called .Rebind() with the same effect.

XAML:

<telerik:GridViewDataColumn DataMemberBinding="{Binding aDatum}" Header="Data" DataFormatString="{}{0:,##0;(#,##0);0}" IsReadOnly="True" FooterCellStyle="{StaticResource GridViewFooterCellStyle}" HeaderTextAlignment="Center">
                            <telerik:GridViewDataColumn.AggregateFunctions>
                                <telerik:SumFunction ResultFormatString="{}{0:#,##0;(#,##0);0}"/>
                            </telerik:GridViewDataColumn.AggregateFunctions>
                        </telerik:GridViewDataColumn>

Style:

            <Style TargetType="telerik:GridViewFooterCell" x:Key="GridViewFooterCellStyle">

                <Setter Property="FontWeight" Value="Bold"/>
            </Style>

Could you please give direction on this issue? Why does the aggregate only refresh the RadGridView's footer row the first time calling CalculateAggregates() and not on subsequent calls to this function?

 

Kind regards

Stefan
Telerik team
 answered on 13 Oct 2017
3 answers
148 views

I found an example of using RadDataForm like a popup on these forums.  Is there a way to add a button in the upper right to cancel and close the popup?

It looks as if in the ERP example you are really placing the DataForm in a new window (RadWindow) to accomplish this.  Is that the only way or is there an easier way to make this happen?

Thanks..

Dilyan Traykov
Telerik team
 answered on 13 Oct 2017
1 answer
173 views

I'm using RadGridView, which is set to merge cells vertically, and rows have detail template.

with this configuration, when a flat them is applied (like VisualStudio2013Theme or Office2016Theme), the merged cells are displayed incorrectly over the row template. But if I use other themes (like Windows7Theme or Office_SilverTheme) it look like great!

Screen shots of both views are attached.

Is this a bug? and is there any workaround to fix it?

 

thanks

Stefan
Telerik team
 answered on 12 Oct 2017
2 answers
144 views
Hi Support,

 

I have been using SAP BW System for using SAP info cube for my organization. Few days before I have seen your PivotGrid WPF control has supporting SAP BW info cube. We need guidelines to connect SAP cube to PivotGrid.

Example: Datasource= http://sapdomain:8012/sap/bw/xml/soap/xmla; Initial Catalog=ZAPP_M06; User ID=Vinoth; Password="pswd";

Martin
Telerik team
 answered on 12 Oct 2017
1 answer
188 views

Hi Team,

Please help me for the following.

We have few tabs.

Eg :

TabA    TabB   TabC

Inside TabC based on some functionality we will open the tab dynamically using PRISM.

Now dynamically I can open 'n' number of tabs.

Now scroll will come in the top so that all the tab items will move accordingly.

Now,

I need to freeze the Parent Tab i.e. TabA , TabB , TabC

Scroll should come for only the tab which is opened dynamically.

Regards,

Veeraguru S

Martin Ivanov
Telerik team
 answered on 12 Oct 2017
6 answers
189 views

Hi.

I have this problem: when I switch between day/week/month views without any filtering it works just fine.

But if I add any single resource as filter, some refresh is missing.

This worked before, so obviously I broke some synchronization messaging.

Attached is a short video of this behavior (changed the mp4 extension to png so it is accepted...).

What I need is some pointing into the right direction.

There is some stuff going on behind scenes:  I already have special slots beahviour, I added my own control with some enhanced calendar functioning (just wrapped radcalendar and added a few more controls...), have drag and drop implemented to update a few pieces of info in the assessment.

But somwhere in the way I broke the refreshing, it seems...

Thanks in advance.

Kalin
Telerik team
 answered on 12 Oct 2017
2 answers
336 views

Hello,

Attached a v.s 2015 WPF code developed with last trial version of Telerik: 

In Xaml, the splitter is set to : IsVisible = "Hidden"

In the cs code, IsVisible returns false. 

But when the application runs, the splitter is shown.

Can you help ?

Thank you,

Zvika 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
 
namespace TelerikWpfApp1
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            bool rc=radSplitContainer.IsVisible;
        }
    }
}
<Window x:Class="TelerikWpfApp1.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
        <telerik:RadDocking x:Name="radDocking">
            <telerik:RadSplitContainer x:Name="radSplitContainer" Visibility="Hidden">
                <telerik:RadPaneGroup x:Name="radPaneGroup">
                    <telerik:RadPane x:Name="radPane1" Header="Document 1">
                        <TextBlock Text="Some simple text here"></TextBlock>
                    </telerik:RadPane>
                    <telerik:RadPane x:Name="radPane2" Header="Document 2">
                        <TextBlock Text="Some simple text here"></TextBlock>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</Window>
Zvi
Top achievements
Rank 1
 answered on 12 Oct 2017
3 answers
432 views

Hi,

I'm experiencing a visual issue where the column width of my columns in a RadGridView is very small while the RadGridView is loading. In my product, it give sort of a "jitter" feel when you load the application. I've attached to this post 3 pictures, the first step where we see the shrunken header columns, the second step where the columns grows but it creates a scrollbar, and the final step where I get the desired visual. 

Overall it takes 90ms for the datagrid to settle to the final step. I am not very concerned about the scrollbar as I don't observ this in my final application (probably due with a different layout than this simple test of a GridView in a Grid).

I include a link to a very minimalistic project that can let you recreate the issue : https://drive.google.com/file/d/0B9yNrE596_TZeTBzd241OFhZMWM/view?usp=sharing

This gives our application a very janky feel, I hope it's just a matter of me not having setup the width of the columns properly or something like that!

Thanks in advance!

Louis

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Oct 2017
1 answer
149 views

Hi,

 

I need to resize the width of FlagEnumEditor whenever propertyGrid is resized, i want to set the new width of propertyGrid to the FlagEnumEditor.

Because if I wont set the propertyGrid width to it, then when more items are checked in FlagEnumEditor its width exceeds the propertyGrid limits and a horizontal scrollbar starts appearing, i dont want a scrollbar, i just want to restrict the FlagEnumEditor's width to the width of PropertyGrid specially when PropertyGrid is resized.

 

Regards,

Tayyaba

Vladimir Stoyanov
Telerik team
 answered on 11 Oct 2017
1 answer
294 views

Hi,

 

I want to show the display name of the Enum in the FlagEnumEditor checkbox list.
Like I have a enum like this:

public enum SceneObjectTypes
    {
[Display(Name = "Cross Sections")]
        CrossSections = 0,

[Display(Name = "Observation Number.")]
        ObservationNumber = 2,

}

 

I want to display those display names in the FlagENumEditor.

Thanks,

Tayyaba

Vladimir Stoyanov
Telerik team
 answered on 11 Oct 2017
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?