Telerik Forums
UI for WPF Forum
22 answers
972 views
Can anyone suggest an elegant way to animate a cell (i.e. flash it) when the data in it changes. I'm using GridViewDataColumn and DataMemberBinding.

The only thing I've been able to come up with is to use the grid's RowLoaded to iterate through each cell in the row and pick out the DataContext and the binding's source to create a new event handler to run an animation. Unfortunately, RowLoaded isn't the best because it's called when re-sorting etc.
hermann
Top achievements
Rank 1
 answered on 20 Jan 2012
5 answers
297 views
Hallo,

I've bound an OData service via RadDataServiceDataSource to a RadGridView and a RadDataPager.

Unfortunately the sorting does not work across pages. I've traced trace the server side an found that the orderby property is not set on the query.

The connection is very simple:

<telerik:RadDataServiceDataSource x:Name="_partnerSource" AutoLoad="True" QueryName="AllPartners" />


<
telerik:RadDataPager Name="_pager" 
                           

Source="{Binding DataView, ElementName=_partnerSource}" IsEnabled="True" PageSize="10"/>


<
telerik:RadGridView Name="gridPartner"
AutoGenerateColumns="False" DataLoadMode="Synchronous" IsFilteringAllowed="True" ItemsSource="{Binding DataView, ElementName=_partnerSource}">

The DataServiceQuery<PartnerInfo> AllPartners is take from the Service Reference


What may be missing or wrong?

Greetings Florian
Florian
Top achievements
Rank 1
 answered on 20 Jan 2012
5 answers
129 views
Hi,

in the toolbar with the buttons week, month and so on, there is a dateformat. In weekview for example its 5 - 11 December 2011. I want to change the format in 05.12.2011 - 11.12.2011. Where can i do this? I tested the property GroupHeaderDateStringFormat with:
GroupHeaderDateStringFormat="{}{0:dd.MM.yyyy} - {1:dd.MM.yyyy}
but nothing happend. And the CurrentVisibleRangeText property is get only.

Thanks
Annett
Annett
Top achievements
Rank 1
 answered on 20 Jan 2012
1 answer
171 views
I've read the documentation on sampling but it's still not clear to me exactly what RadChart is doing. For example I have a Scatter chart with approximately 3000 data points. The data points are spread, fairly evenly, across approximately 6 hours of time along the X axis. In other words, data is not disproportionately bunched anywhere along the X axis. It's pretty evenly spread out. The Y axis values range from approximately 60 to 66, with no particular pattern. Can you tell me exactly how RadChart would sample this data, assuming I select a sampling value of say 300 (1/10 of the data). I have not specified the method of sampling (average, min, max etc.), because I don't really know which would be best in my case.

Thank you.
Yavor
Telerik team
 answered on 20 Jan 2012
1 answer
179 views
Hi telerik,

I wish to abuse the chart.
Since ChartLegend is a separate object referenced by the RadChart, I thought I could re-use the legend object to obtain a single legend for several RadCharts. This way I wanted to achieve the interactivity effects of hovering over graphs / legends and seeing the highlight in the other.

My starting point was four charts, where the first three were real plots (with hidden legend) where as the last was a RadChart with hidden ChartArea. That worked well, but with no interactivity.

If I create the ChartLegend object first and reference it from the remaining three RadCharts, I do get the legend headers in the ChartLegend, but still no interactivity.

Is this even possible? Or should I just 'accept' the separation and 'manually' handle the highlighting? Can you send me in a direction where I might get lucky?

Thanks,

Anders, Denmark
Petar Marchev
Telerik team
 answered on 20 Jan 2012
3 answers
197 views
Hi,

Just wondering, can I modify background color of a disable GridViewCell instead of grey can I change it to other color. I tried using data trigger and directly set background color to white however it's not working. Is there a way to achieve this?

Type Description
Air  Air
Fire  Fire
Land  
Water  Water
Land  

Regards,
Howell
Maya
Telerik team
 answered on 20 Jan 2012
0 answers
86 views


Hello,

I have difficulty in understanding and setting up my calendar appointments.
I am developing an application with a table below (in T_RendeVous SQLSERVER) to RDV and WPF.

1 / I can not load my items in the database for display in the calendar

2 / I can not find the form for adding / modifying / deleting appointment. and save them in my database.

I want to know, what paramete can i loading from schedule ?

Thank you for making me a return.
Adje
Top achievements
Rank 1
 asked on 19 Jan 2012
3 answers
182 views
Telerik RadControls for WPF Q1 2011 SP1

I have a grid hierarchy, I want to Export to Exel.
I used this code, but I don't have anything of the Grid Hierarchy in Excel

SaveFileDialog dialog = new SaveFileDialog();
           dialog.DefaultExt = extension;
           dialog.Filter = String.Format("{1} files (*.{0})|*.{0}|All files (*.*)|*.*", "xls", "Excel");
           dialog.FilterIndex = 1;
           if (dialog.ShowDialog() == true)
           {
               using (Stream stream = dialog.OpenFile())
               {
                   GridViewExportOptions exportOptions = new GridViewExportOptions();
                   exportOptions.Format = format;
                   exportOptions.ShowColumnFooters = true;
                   exportOptions.ShowColumnHeaders = true;
                   exportOptions.ShowGroupFooters = true;
                   RadGridView1.Export(stream, exportOptions);
               }
           }

I read foros where the controls don't support this Export to Excel.
Please, really I need your help.


Dimitrina
Telerik team
 answered on 19 Jan 2012
2 answers
143 views
I have a radGridView, when the radGridView SelectionChanged event fires off, I need to set a combo to IsDropDownOpen = true;  

The issue is that the IsDropDownOpen property is being set but the combo will not remain dropped down when the grid selection is changed using a mouse click.

The combo will remain dropped down when the grid selection is changed using the keyboard.

Either selection method calls the same method to set the IsDropDownOpen property.

I am using the 2011 - Q3 version of the wpf controls.

Any Ideas?
flyingelvis
Top achievements
Rank 1
 answered on 19 Jan 2012
2 answers
122 views
My terminology is probably off here but what I need to do is to be able to make a pane that is currently minimized (not pinned and thus not visible except for the tab header) active (not pinned but it's contents now visible just as though I had moused over the tab). What I have is something kind of like the output tab of visual studio where I do a build and I want the output tab to be shown - currently I'm just calling PinAllPanes() in order to make sure the pane is shown but this isn't what I want (I don't want to pin the pane and I don't want to have to pin other panes in the group. I if the RadPane.IsActive setter were public I believe that would give me what I want, but, it's not.

Any help would be appreciated.
Gary
Top achievements
Rank 1
 answered on 19 Jan 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
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
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
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?