Telerik Forums
UI for WPF Forum
2 answers
150 views
Hi,

I have a strange error with RadTabControl.
I put a UserControl on a RadTabItem, this UserControl has a TreeView on it. I set the SelectedItemChanged event for the TreeView in the UserControl's Initalized event (i've also tried setting it in the xaml, same result). Now when I select a node the event fires two times (and the selection jumps back to the root node).

When I put this UserControl  on a normal wpf TabControl, it works as expected, the event fires once. So I think the problem is RadTabControl related.

Please help me sort this out.

thanks,
Levente
Levente Mihály
Top achievements
Rank 1
 answered on 11 Dec 2008
3 answers
239 views
How do I get the telerik controls to look like the default windows controls. I am only using the DatePicker and it has a different visual theme to the rest of my application.
Miroslav
Telerik team
 answered on 11 Dec 2008
2 answers
248 views
Hello,

I want to display a TimeSpan within a RadGauge. My thoughts were that I should use a NumericScale. However, I cannot seem to get it to work. I want to make a TimeSpan look like a digital clock in the form of hh:mm:ss.

Is there a way to do this with the RadGauge? If so, is there some sample code that demonstrates this?

Basically, I am looking to create something that looks like the clock in the Time Monitoring Tool found in the demos here: http://demos.telerik.com/wpf/
Frustrated Dev
Top achievements
Rank 1
 answered on 10 Dec 2008
1 answer
166 views
I'd like to display the foreign key value rather than the ID in the combobox editors.  I found this example (http://www.telerik.com/community/forums/wpf/gridview/how-to-display-the-foreign-key-value-in-grid.aspx), however with the new Q3 release this approach no longer works.

Is there an new approach for handling this now?

Thanks,
  Christopher
Nedyalko Nikolov
Telerik team
 answered on 05 Dec 2008
3 answers
154 views
Hi All.

I have about a 1500 items of CallItem class in List collection.

This is description of CallItem:
public class CallItem  
    {  
        private DateTime callDateTime;  
 
        public DateTime CallDateTime  
        {  
            get { return callDateTime; }  
            set { callDateTime = value; }  
        }  
        private String calledNumber;  
 
        public String CalledNumber  
        {  
            get { return calledNumber; }  
            set { calledNumber = value; }  
        }  
        private String logicCall;  
 
        public String LogicCall  
        {  
            get { return logicCall; }  
            set { logicCall = value; }  
        }  
        private Int64 callDuration;  
 
        public Int64 CallDuration  
        {  
            get { return callDuration; }  
            set { callDuration = value; }  
        }  
        private Double costWithTaxes;  
 
        public Double CostWithTaxes  
        {  
            get { return costWithTaxes; }  
            set { costWithTaxes = value; }  
        }  
        private Double costWithDiscount;  
 
        public Double CostWithDiscount  
        {  
            get { return costWithDiscount; }  
            set { costWithDiscount = value; }  
        }  
 
        private String abonentNumber;  
 
        public String AbonentNumber  
        {  
            get { return abonentNumber; }  
            set { abonentNumber = value; }  
        }  
 
        public CallItem(String abonentNumber, DateTime callDateTime, Int64 callDuration, String calledNumber, Double costWithDiscount, Double costWithTaxes, String logicCall)  
        {  
            this.abonentNumber = abonentNumber;  
            this.callDateTime = callDateTime;  
            this.callDuration = callDuration;  
            this.calledNumber = calledNumber;  
            this.costWithDiscount = costWithDiscount;  
            this.costWithTaxes = costWithTaxes;  
            this.logicCall = logicCall;  
        }  
          
    }  
 

I geting all records and bindind they to GridView like this:
List<CallItem> items = GetAllItems();  
dataGridView.ItemsSource = items;  
dataGridView.CreateFilterDescriptions();  
 

And when I (or user) drag and dropping column (for example AbonentNumber) on grouping panel I need to waiting about 35 seconds.

if I heed to waiting about 35 seconds when I need grouping 1500 records then how long I need to waiting if I must grouping about 15000 records or 150000 records?

How i can increase performance of grouping in GridView? Or may be for my task I dont need to use GridView and grouping?

Andy
Top achievements
Rank 1
 answered on 05 Dec 2008
3 answers
445 views
This has happened on a couple of my WPF pages that use the GridView.  I select an item on my list which populates some textboxes.  I update those textboxes, click "Update" and then reload the GridView.  Reloading the GridView consists of re-retrieving the data and setting the ItemsSource.  On this particular page I have, it binds properly the first time, but all subsequent re-binds I get this.  Any ideas what might be happening?
Nedyalko Nikolov
Telerik team
 answered on 05 Dec 2008
3 answers
340 views
Hello

I have a WPF GridView with Parent / Child data and would like the GridView to fill the space with as much as possible.

In my test scenario, I have 2 parents.  The first parent has approx 1200 records, the second parent has about 4 records.

I have about 50% of the page as white space, though the horizontal scrollbar is at the very bottom of the page as it should be.

 I have triad a VerticalAlignment="Stretch" and VerticalContentAlignment="Stretch" with no change.

Any ideas for the resolution is appreciated.

Thank you for great products.
Nedyalko Nikolov
Telerik team
 answered on 04 Dec 2008
5 answers
628 views
What is the best way to completely turn animation off?  I tried setting all of the properties to TimeSpan of zero, as well as setting AnimationSettings to null.  My window has 23 charts on the screen when it loads, each with a bar and line series.  I still see an odd flicker when the window loads.  It looks like it briefly displays the bar and line pieces in various places, then it positions and sizes everything (after that it looks fine...this happens in about a second).  Maybe the animation is still there, but it is trying to happen very fast.
Velin
Telerik team
 answered on 03 Dec 2008
1 answer
157 views
Hi,

I am receiving (quite frequently) the following in my Project Output Screen when using the DataGrid for WPF

System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='14445493'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Telerik.Windows.Controls.GridView.GridViewExpandableRow'; TargetElement.HashCode='14788679'; TargetElement.Type='Telerik.Windows.Controls.GridView.GridViewExpandableRow' 

and

System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='14445493'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Telerik.Windows.Controls.GridView.GridViewRow'; TargetElement.HashCode='1651401'; TargetElement.Type='Telerik.Windows.Controls.GridView.GridViewRow' 

Is there a way to resolve this. I would really prefer that it didn't happen.

Cheers

Justin

Nedyalko Nikolov
Telerik team
 answered on 02 Dec 2008
1 answer
172 views
Hi All!

How I can collapsing all groupHeaders rows by programming grouping?

Source code of grouping:
            dataGridView.GroupDescriptions.Clear();  
            Telerik.Windows.Data.RadGroupDescription desc = new Telerik.Windows.Data.RadGroupDescription("LogicCall");  
            Telerik.Windows.Data.SumFunction funcCallDuration = new Telerik.Windows.Data.SumFunction("CallDuration", "CallDuration", "Duration:");  
            desc.AggregateFunctions.Add(funcCallDuration);  
            dataGridView.GroupDescriptions.Add(desc); 

PS. May I collapsing all groupHeader when user drag'n'drop fields to the grouping panel?
Nedyalko Nikolov
Telerik team
 answered on 01 Dec 2008
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
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?