Telerik Forums
UI for WPF Forum
1 answer
110 views

I have this menu if you can see the attached file (menu1.png) is the one thats working though the inline height generating is not correct.

Height should cover all of the items included in the group.

 

The attached file (menu2.png) should be the correct one. I checked the CSS and if I set the height of the .rpslide or the .rpgroup to auto or 100% the animation of the slide will not work.

Martin
Telerik team
 answered on 31 May 2017
6 answers
509 views

Hi 

I am plotting 10,000 data points on RadChartView. The UI gets freezed\hanged till all 10,000 data points are plotted on RadChartView. It took around 20 seconds to load all the data points 

Instead of plotting all the 10,000 data points in one shot, I tried plotting data points at the interval of 100
i,e add 100 data points to collection via thread and update UI via Dispatcher object, again add 100 data points to collection and update UI (even this will hang UI) and so on...

Can we show only few data points on Chartview which user can view or see and remaining points are shown only when user do zooming or scrolling ?
If so how can it be done ?

Thanks

Deepak Deshmukh

Dinko | Tech Support Engineer
Telerik team
 answered on 31 May 2017
3 answers
199 views
How can I set RadTilelist for WPF to select a single item rather than multiple items ?
Stefan
Telerik team
 answered on 31 May 2017
2 answers
277 views

Hello telerik,

 

I am about to finish a custom implementation of a feature which consists of an element from a treeview being dragged to a Docking pane.

The attached screen shot shows how it happens.

 

The only thing missing so far is I need to find a way to dock it maximized or expanded, as of now the usercontrol comes taking only part of the space available as default.

 

is there an easy way to achieve the desired behavior problematically?

Here is my code:

private void RadDocking_Drop(object sender, DragEventArgs e)
    var data = e.Data.GetData("TreeViewDragDropOptions");
    var item = ((TreeViewDragDropOptions)data).DraggedItems.First();
    var splitter = ((RadDocking)sender).Items[0];
    RadPaneGroup group = (RadPaneGroup)((RadSplitContainer)splitter).Items[0];
    var newPane = new RadPane();
    switch (((RadTreeViewItem)item).Name)
    {
        case "RadPdfViewer":
            newPane.Content = new UserControl1();
            newPane.Header = "uc1";
            break;
 
        case "RadChartview":
            newPane.Content = new UserControl2();
            newPane.Header = "uc2";
            break;
 
        case "RadDataFilter":
            newPane.Content = new UserControl3();
            newPane.Header = "uc3";
            break;
 
    }
    if (newPane.Content != null)
        group.AddItem(newPane, Telerik.Windows.Controls.Docking.DockPosition.Center);
}

 

 

Thank you

Jacob
Top achievements
Rank 1
 answered on 31 May 2017
4 answers
228 views

Hello All,
     Well, color me stupid or something, because I can figure this one out.  I'm using Visual Studio 2013 and I am trying to create a wizard for my WPF application.  I have created a RadWizard with a RadWiardPages collection in it, with multiple WizardPage (six to be exact) objects in the collection.  However, I can ONLY see ONE of the pages in the Designer.  I CANNOT switch between the pages like I can on another window where I have a standard TabControl.  I would like to know how I can design subsequent pages in a wizard when I can only see one page.  On the other window with a TabControl, when I select a different TabItem the designer shows that TabItem's contents.  Is there a way of doing this with the RadWizard control?????  It makes it very difficult to design any Wizard with multiple pages when you can't see the different pages in the designer!!!

 

Thanks in advance,

Kevin Orcutt
Senior Software Engineer

Wurth Electronics ICS, Inc.
7496 Webster St., Dayton, OH 45414
Tel: 937.415.7700 
Toll Free: 877.690.2207
Fax: 937.415.7710
Email: Kevin.Orcutt@we-ics.com
http://www.we-ics.com

 

 

live cooking demonstration
Top achievements
Rank 1
 answered on 31 May 2017
2 answers
105 views

I want to be able to switch the design view from wizardpage to wizardpage. Currently It will only display the first wizardpage entered in the xaml view.

Is this currently possible? If not I guess the alternative would be to make a new page.xaml for every telerik:wizardpage then override the default navigation somehow. I could use some help finding a solution.

<telerik:RadWizard x:Name="radWizard">         <telerik:RadWizard.WizardPages>             <telerik:WizardPage Name="DeployTargetPage">                 <telerik:WizardPage.Content>                   <Grid>                         <TextBlock Width="80" Height="20" Margin="35,51,387.4,207.4" >Deploy target</TextBlock>                         <ComboBox  Width="100" Height="20" Margin="35,76,367.4,182.4" >                             <ComboBoxItem Selected="LocalDeploySelected">Local host</ComboBoxItem>                             <ComboBoxItem Selected="AzureDeploySelected">Azure</ComboBoxItem>                         </ComboBox>                     </Grid>                 </telerik:WizardPage.Content>             </telerik:WizardPage>             <telerik:WizardPage Name="SetParametersPage">                 <telerik:WizardPage.Content>                     <Grid>                         <TextBlock Width="100" Height="20" >Site name</TextBlock>                         <ListBox Grid.Column="0" Height="20" />                         <TextBlock Width="100" Height="20" >Publish link</TextBlock>                         <ListBox Height="20" />                         <TextBlock Width="100" Height="20" >User name</TextBlock>                         <ListBox Height="20" />                         <TextBlock Width="100" Height="20" >Password</TextBlock>                         <ListBox Height="20" />                     </Grid>                 </telerik:WizardPage.Content>             </telerik:WizardPage>

live cooking demonstration
Top achievements
Rank 1
 answered on 31 May 2017
2 answers
129 views

Hi, like the OpenDiagramdemo.zip, i have a diagram, when startup, it add 500 shapes to this diagram. Then i click the "click me" in the left treeview to open a radpane, and the radpane show the diagram. The problem is that it takes too much time to opening the radpane. When opened, i move the view area in the thumbnail, its response is slow too. How to make fast?

Hope answers, thanks!

OpenDiagramdemo.zip download url:  http://www.filefactory.com/file/5cu3dseh6x8h/OpenDiagramdemo.zip

Jonathan
Top achievements
Rank 1
 answered on 31 May 2017
8 answers
524 views
I am trying and failing to show the group totals aligned with column headers. by setting the following properties ShowGroupHeaderColumnAggregates and ShowHeaderAggregates.

This the XAML I am using - am I doing something wrong or does it just not work? The property setters seem to have no effect.

<Window x:Class="GridViewTest.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="350" Width="525"
    xmlns:t="http://schemas.telerik.com/2008/xaml/presentation">
    <Window.Resources>
        <Style TargetType="t:GroupHeaderRow">
            <Setter Property="ShowGroupHeaderColumnAggregates" Value="True" />
            <Setter Property="ShowHeaderAggregates" Value="False" />
        </Style>
    </Window.Resources>
    <Grid>
         <t:RadGridView ItemsSource="{Binding Path=Records}" SelectionMode="Extended">
         <t:RadGridView.GroupDescriptors>
             <t:GroupDescriptor Member="Column1" SortDirection="Ascending">
                 <t:GroupDescriptor.AggregateFunctions>
                     <t:CountFunction Caption="Entries count: " />
                     <t:FirstFunction Caption="First entry: " />
                 </t:GroupDescriptor.AggregateFunctions>
          </t:GroupDescriptor>
       </t:RadGridView.GroupDescriptors>
</t:RadGridView>
</Grid>
Ivan Ivanov
Telerik team
 answered on 30 May 2017
1 answer
111 views

Hi,

I have this code and I need to set the value of one column based on the SelectedItem (SelectedItemMyRecord) binded in the grid. The value will be set after clicking a button. Can someone help me on this?

 

<telerik:RadGridView Grid.Row="1"                                   
                                     Height="300"                                 
                                     ItemsSource="{Binding MyRecords, Mode=TwoWay}"                                       
                                     SelectionMode="Single"                                    
                                     Name="radGridViewMyList"
                                     telerikGridViewHeaderMenu:GridViewHeaderMenu.IsEnabled="True"
                                     FontSize="{Binding GridFontSize}"
                                     IsReadOnly="False"
                                     SelectedItem="{Binding SelectedItemMyRecord, Mode=TwoWay}"                                     
                                     RowIndicatorVisibility ="Visible"                                                                     
                                     RowDetailsVisibilityMode="VisibleWhenSelected"

Dilyan Traykov
Telerik team
 answered on 30 May 2017
1 answer
221 views

hi,

I'm using telerik rad map in my project with png and tiff Images,

this wired thing happens to me, every few times I run my code I get system invalidoperationexception in mscorlib dll,

it is definitely related to maps Images because when I remove the png and tiff (using the map without image) it is not happening.

please note that most of the time code runs correctly with the images.

do you have any Idea why some time I get this exception?

 

Petar Mladenov
Telerik team
 answered on 30 May 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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?