Telerik Forums
UI for WPF Forum
0 answers
50 views

This bug exist in multiple examples from demo application(Appearance/Columns, Scrolling, Date Formatting, and for Commands using ctrl for multi selection). If you move to the bottom of the grid from vertical scrollbar and delete one or multiple items from the bottom, on the top of the grid white spaces appear. I’m using RadControls for WPF Q1 2011 SP1 and we are obligated by the client to use this telerik version so if this was fixed in future releases please provide me a workaround solution.

Best regards,

Cotutiu Lucian.

Lucian
Top achievements
Rank 1
 asked on 09 Aug 2012
1 answer
66 views
Hi all,

I am having an Issue with the RadTreeView.  I am dragging items from one treeview to another, but inside the PreviewDragEnded method setting e.Handled=true does not stop the drag.  I also see that the default drag/drop behavior is still active.

Any ideas?

Cheers,
Brandon
Tina Stancheva
Telerik team
 answered on 09 Aug 2012
5 answers
220 views
Hi,
I have a radDataFilter and radGridView. On a first place data is not loaded. I want after user put a some filter ( example: username start with: sa) to load data from the server based on the filter condition and show it on the grid.

I not see how to do this. In FilterDescriptors_ItemChanged event i capture what user ask to filter, send a request to load a data but it not show on the grid.

Please advise more better way to do this.

Best regards,
Saykor
Saykor
Top achievements
Rank 2
 answered on 09 Aug 2012
2 answers
370 views
I currently have a RadGridView that is bound to a collection of objects. One of those objects contains a property that is calculated based on a user-supplied value, so whenever the user changes the value, the value in every row changes as well.

I am able to manually update the Footer Aggregate using .CalculateAggregates(), however if the Grid is grouped, this does not update the aggregates that are located in the group totals.

How can I make the RadGridView re-calculate the aggregates in the grouped records? The relevant bits of code are below

<TextBox Text="{Binding SalePercent}" />

<
telerik:RadGridView x:Name="MyGrid" DataContextChanged="MyGrid_DataContextChanged"
           ItemsSource="{Binding MyObservableCollection}" ShowColumnFooters="True">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Price, StringFormat=N2}" Header="Price">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction Caption="Price: " ResultFormatString="{}{0:C}" />
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding SalePrice, StringFormat=N2}" Header="Sale Price">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction Caption="Sale Price: " ResultFormatString="{}{0:C}" />
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

private
void MyGrid_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
{
    MyViewModel vm = MyGrid.DataContext as MyViewModel;
    if (vm != null)
        vm.PropertyChanged += MyViewModel_PropertyChanged;
 
    MyGrid.DataContextChanged -= MyGrid_DataContextChanged;
}
 
void MyViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
    if (e.PropertyName == "SalePercent")
        MyGrid.CalculateAggregates();
}
void MyViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
    switch (e.PropertyName)
    {
        case "SalePercent":
            foreach (var item in MyObservableCollection)
                item.SalePrice = item.Price * SalePercent;
            break;
    }
}
LHR
Top achievements
Rank 1
 answered on 09 Aug 2012
4 answers
337 views
Hi,


I'm using the drag and drop functionality of the RadTreeView, with a hierarchical list of transportation rides with multiple addresses.
I've managed to add some logic to make sure no rides can be added to addresses and stuff like that, using the existing handlers:

TreeviewMonday.AddHandler(RadDragAndDropManager.DropQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDropQuery), true);


I do, however, have 2 problems/questions when using the drag and drop between tree views:

1. The preview, when dragging, is shown but stays empty.
2. How can I change the tooltip that is shown when dropping is possible? I would like to change the language of the text and add custom text to it.

(these problems are shown in the screenshot in attachment)

Hope someone can help! Thanks in advance.

Best regards,
Pieter Jan
Nick
Telerik team
 answered on 09 Aug 2012
1 answer
126 views
Hello,

I read about the sampling for radchart.  Is this available for chartview for a barseries?  If so, how would I go about using it?

Thanks,
Eric
Evgenia
Telerik team
 answered on 09 Aug 2012
19 answers
230 views
I need to print my datagrids. I looked to WPF Control Examples and found appropriate one. However it prints data in such a way that first column overlaps itself.

I have attached sample file. This file comes right from Telerik Examples.

I tried it with XPS printer and PDF Creator printer and effects where the same.

How can I print the whole datagrid?
Vlad
Telerik team
 answered on 09 Aug 2012
1 answer
199 views
Hi,

I have a small project wherein the Executive Dashboard fits the bill. I'd probably need to overhaul the database and edit the queries in the service class to adjust accordingly to my changes, but overall the changes I need are, and of which I'm hoping to reach out to you guys for answers to:

  • Instead of displaying amounts and figures for sales and revenues, I need it to display hours instead (because instead of sales data I need it to display utilization figures). Is my assumption correct that I just indeed need to edit the queries on the service class with the new tables and columns that I'll add to the included database file?
  • I'll need to add a pane to the left of the dashboard (the exact same pane that's there in the Sales Dashboard) to have a list of people. Each time a user selects a person from the list the data updates to be specific only to that person. To be completely honest I've got limited knowledge with customizing WPF and unfortunately have a very limited amount of time to deliver this. Is there a white paper or article specific to the Executive Dashboard to guide me though? Or was there a similar implementation through the discussions here that did so? (did a search but can't seem to find one)
  • Aside from the pane, I'd also need to add functionality to Add, Edit, and Delete records per person through the app. As far as I'm aware the Executive Dashboard doesn't have that functionality and was thinking of adding it in the Information pane that expands when clicked (the one that shows SQL Azure etc.). I'd just need to call another XAML page containing the functionalities to add and edit right?
  • If I'd like to create an installer for whatever will be finalized, what DLL's will I need to package with the installer and how difficult will it be to setup? Or does Telerik also have its own compiler application for this need?

We currently have a DevCraft license and thought it'd be best not to reinvent the wheel in this rather little pet project, and there's no resource at the moment here who currenlty have any background to WPF. So any thoughts would be highly appreciated! Thanks!

Teodor
Telerik team
 answered on 09 Aug 2012
1 answer
292 views
Sir,

I have a table in a richtextbox. I want to insert rows and columns at runtime to that table. Is it possible to add rows and columns to an existing table.

1- Find that table
2- Insert Rows/Columns to this table

Regards
M. Rizwan
Iva Toteva
Telerik team
 answered on 09 Aug 2012
2 answers
165 views
Hi!

I try to override the GridViewRow default style
I read all topics but redefine the template in DataRowStyle degrades performance on scrolling..
What's the good solution to hide de HighLight and the Selection background ??

It's my style (binding object contains the color property) :

<Style x:Key="GridRowStyle" TargetType="telerik:GridViewRow">
<Style.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsAlternating" Value="true" />
<Condition Property="IsSelected" Value="false" />
</MultiTrigger.Conditions>
<Setter Property="Background" Value="{Binding Path=RowBackGround2}" />
</MultiTrigger>
<!-- Mouse Over / Selectionné -->
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsSelected" Value="true" />
<Condition Property="IsMouseOver" Value="true" />
</MultiTrigger.Conditions>
<Setter Property="Background" Value="{Binding Path=RowBackGroundOverAndSelected}" />
</MultiTrigger>
<!-- Mouse Over -->
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="true" />
</MultiTrigger.Conditions>
<Setter Property="Background" Value="{Binding Path=RowBackGroundOver}" />
</MultiTrigger>
<!-- Selectionnée -->
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsSelected" Value="true" />
</MultiTrigger.Conditions>
<Setter Property="Background" Value="{Binding Path=RowBackGroundSelected}" />
</MultiTrigger>
</Style.Triggers>
</Style>
BAHNINI
Top achievements
Rank 1
 answered on 09 Aug 2012
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?