Telerik Forums
UI for WPF Forum
0 answers
172 views
I have used RadComboBoxes inside a Grid in my WPF application as shown below.
<
tk:RadComboBox Grid.Row="3" Grid.Column="3" Style="{StaticResource DropDown}"
                       x:Name="cmbColor" Height="25" Margin="5,5,5,5" DropDownOpened="cmbColor_DropDownOpened"
                       IsEditable="False" SelectedValue="{Binding PR_COLOR}" MaxWidth="250"
                       ItemTemplate="{StaticResource DropDownCodeMeaning}"  />

I am binding the data to the combo box when the user clicked on the combo box to select an item from it.
I have used the  event
"DropDownOpened" to bind data to this combo box. Below shown is the code behind.

// set the dropdown list for a combobox to all entities for a business object
       private void SetDropDown<BusObj, BusEntity>(RadComboBox cmb, ref BusObj busobj)
           where BusObj : BusinessObject<BusEntity>, new()
           where BusEntity : BusinessEntity, new()
       {
           if (busobj == null)
           {
               busobj = new BusObj();
           }
           if (cmb.ItemsSource == null)
           {
               var RecordList = busobj.GetAllEntities();
               if (RecordList.Count > 0)
                   RecordList.ApplySort("SortKey", ListSortDirection.Ascending);
               cmb.ItemsSource = RecordList;
 
           }
       }
After sets the Items Source for the combo box, the memory increases rapidly. Anyone knows why this happens?
Please help me. I am using the telerik version 2010.1.603.35.

Thanks in advance,
Rajesh V R


Rajesh
Top achievements
Rank 1
 asked on 26 Jun 2012
3 answers
127 views
Hello,
Can an additional y-axis on the right be set up so that it's 0 value lines up with the standard y-axis 0 on the left? On the standard axis I am plotting something like profit vs. expenses with the yellow line displaying the net difference. On the additional y-axis I am displaying a grand total on a significantly larger scale. Since the grand total is never negative the additional y-axis has 0 at the bottom but ideally I would like it's 0 to line up with the standard axis 0. Thanks much in advance!
Jason
Rosko
Telerik team
 answered on 26 Jun 2012
2 answers
122 views
Hello,

I Just upgraded my project to Q2, and now the vertical divider between the columns table and the tasks no longer is movable (in other words, the width of the column table is fixed).  Is there a way to specify the width of the column table (apart from changing individual column widths)?  Also, how can I make that slider movable again?
Thanks,

Eric
Miroslav Nedyalkov
Telerik team
 answered on 26 Jun 2012
7 answers
172 views
Hi,

I am working with the telerik bar chart and pie chart. And by looking at an example I set the series interactivity as such:

For a bar chart:
DataSeries barSeries = modelDictionary[ChartType.Bar];
            barSeries.Definition.InteractivitySettings.HoverScope = InteractivityScope.Item;
            barSeries.Definition.InteractivitySettings.SelectionScope = InteractivityScope.Item;
     
For a pie chart:
  DataSeries pieSeries = modelDictionary[ChartType.Pie];
            pieSeries.LegendLabel = "Pie Series";
            pieSeries.Definition = new PieSeriesDefinition();
            pieSeries.Definition.InteractivitySettings.HoverScope = InteractivityScope.Item;
            pieSeries.Definition.InteractivitySettings.SelectionScope = InteractivityScope.Item;
            pieSeries.Definition.InteractivitySettings.SelectionMode = ChartSelectionMode.Single;
The interactivity does not work when I do a mouse hover.
Giuseppe
Telerik team
 answered on 26 Jun 2012
2 answers
103 views
Dear Telerik Guru,

I have very small problem with RadGridView.

When Grid is load with values always first row of the grid is selected.

I dont want this. Please provide the appropriate solution.

I have checked the help but i didnt got any solution.

Thanking you,
Aavedesh
Maya
Telerik team
 answered on 26 Jun 2012
2 answers
396 views
We're considering using the ChartView or the Chart for our data analysis application. Our analysts often analyze large data sets and they need the scatter chart to be able to render upwards of 10,000 points in a quick manner. What our tests are showing, is that when you bind big data and render 10K points, performance suffers greatly. We have a need to template the points to have varying sizes and colors. We've found that when rendering large data sets AND applying color and size to the points, it takes several seconds to render the chart. What can be done about the rendering performance of this chart? If needed, I can send a sample solution to demonstrate the poor performance.

EDIT: I should also add that whatever solution is needed to speed the rendering of large data in this ChartView also needs to work in Silverlight, as this is going in to a multi-targeted application. This would eliminate the use of DrawingVisuals from the item data template from the overall solution.

Thanks in advance.
Tony
Top achievements
Rank 1
 answered on 25 Jun 2012
2 answers
82 views
Hi,

is there a know problem with the RadRichTextStatusBar + SelectedLayoutMode?
i tried:
<telerik:RadRichTextBoxStatusBar Grid.Row="4" AssociatedRichTextBox="{Binding ElementName=editor, Mode=OneTime}" telerik:StyleManager.Theme="Metro" SelectedLayoutMode="Paged" Name="EditorStatusBar" />

This cause an error:
NullReferenceException in StatusBar!

Is it not possible to set this Option in xaml or c#? Without this Option the Editor and StatusBar is working great!
Thanks
Regrads
Rene
ITA
Top achievements
Rank 1
 answered on 25 Jun 2012
4 answers
325 views
Hello,

I'm experiencing performance issues with the RadRichTextBox.  The control is generally unresponsive and typing lags.  It can literally take minutes for a typed sentence to display.

Here's some information that may help:

I'm running this on a pretty beefy machine.
Windows 7 Enterprise (Service Pack 1) 64 bit
Dell Precision WorkStation T3500
Intel Xeon CPU @ 3.20 GHz
12 GBs of RAM

This happens in the "Telerik radControls for WPF Q1 2012 SP1" demo application.  It's most noticeable on the default RadRichTextBox demo (in the Over View category).  The Data Binding RadRichTextBox example is responsive and works pretty well.

I've tried uninstalling and re-installing the demo;  This did not speed up performance.  These performance issues are also present in a custom test application that uses the control.  It's notable my co-worker (with an almost identical setup) does not experience this.

Please advise.

Thanks! 
Roy
Top achievements
Rank 1
 answered on 25 Jun 2012
2 answers
173 views
I am using the RadGridView to simulate a ListBox because I want Delete functionality that isn't built into the RadListBox.
I've removed the headers, the RowIndicator, and I only have one column, but there's still a GridSplitter on the left side of the control. (See attached screenshot.) How can I get rid of this?

Here's my control XAML. I'm using Version 2012.2.607.40.

Thanks!

                <telerik:RadGridView Grid.Row="1"
                                     Margin="0,5,0,0"
                                     AllowDrop="False"
                                     SelectionMode="Extended"
                                     ShowGroupPanel="False"
                                     ShowColumnHeaders="False"
                                     ShowColumnFooters="False"
                                     ShowInsertRow="False"
                                     CanUserInsertRows="False"
                                     CanUserDeleteRows="True"
                                     ColumnWidth="*"
                                     CanUserResizeColumns="False"
                                     EditTriggers="None"
                                     RowDetailsVisibilityMode="Collapsed"
                                     RowIndicatorVisibility="Collapsed"
                                     AutoGenerateColumns="False"
                                     ItemsSource="{Binding Words}"
                                     MouseDoubleClick="wordList_MouseDoubleClick"
                                     Deleted="wordList_Deleted"
                                     Deleting="wordList_Deleting">
                    <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Phrase}" Width="*">
                            <telerik:GridViewDataColumn.CellTemplate>
                                <DataTemplate>
                                    <Grid>
                                        <ContentControl Content="{Binding}"
                                                        ContentTemplate="{StaticResource WordDataTemplate}"/>
                                    </Grid>
                                </DataTemplate>
                            </telerik:GridViewDataColumn.CellTemplate>
                        </telerik:GridViewDataColumn>
                    </telerik:RadGridView.Columns>
                    <telerik:RadGridView.SortDescriptors>
                        <telerik:ColumnSortDescriptor Column="{Binding Columns[\Phrase\], ElementName=wordList}" 
                                                            SortDirection="Ascending" />
                    </telerik:RadGridView.SortDescriptors>
                </telerik:RadGridView>
Randy
Top achievements
Rank 1
 answered on 25 Jun 2012
1 answer
109 views
Hi,

I have a requirement whereby I will be using the TileView control to show order entry forms.  It will initially be blank and as users click on the, say "Create Order" button a new order/tile will be added to the collection.
 
1.  When a new order/tile is created it should default and replace the existing maximized tile
2. The tiles should display different levels of data depending on their current view.

I think I have cracked part 1 of the requirement.  I seem to be having problems with part 2 (displaying different views).  Please see my  prototype and let me know where I am going wrong.

Many Thanks
Abs
Zarko
Telerik team
 answered on 25 Jun 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
Book
FileDialogs
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
Rating
SplashScreen
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?