Telerik Forums
UI for WPF Forum
1 answer
235 views

Hi,

in an RadTreeView i can disable the expanding animations with the following line

telerik:AnimationManager.IsAnimationEnabled="False"

 

This line has no effect if i add it to my TreeListView. I also tried:

 

AnimationManager.IsGlobalAnimationEnabled = false;

 

This also has no effect.

Whenever i reload my TreeListView-Elements after OnPropertyChanged is fired all this expanding is going on.

This is completely happening on the telerik's site because onPropertyChanged is fired when i've completely read all elements. So the tree is already complete when this expanding orgy starts.

This is especially bad when i do this on slow computers. It takes sometimes longer than a second until ONE thing is expanded!

This is my definition of the RadTreeListView:

<telerik:RadTreeListView Grid.Row="1"
                         x:Name="radTreeListView"
                         IsReadOnly="True"
                         ItemsSource="{Binding ConnectorList}"
                         CanUserFreezeColumns="False"
                         SelectionMode="Single"        
                         TreeLinesVisibility="Visible"
                         RowIndicatorVisibility="Collapsed"
                         KeyboardNavigation.DirectionalNavigation="Contained"
                         telerik:AnimationManager.IsAnimationEnabled="False"
                         IsExpandedBinding="{Binding IsExpanded, Mode=TwoWay}"
                         ItemContainerStyle="{StaticResource ItemContainerStyle}"
                         SelectedItem="{Binding SelectedConnectorItem, Mode=TwoWay}"
                         ColumnWidth="*"
                         telerik:DragDropManager.AllowDrag="False"
                         GridLinesVisibility="Vertical"
                         AutoGenerateColumns="False">

I would be very thankful for any idea.

Petya
Telerik team
 answered on 23 Mar 2016
3 answers
189 views

Hi All,

I am using "telerik:RadDocking" in my wpf application.  I want to create a layout as follows - X1 is section 1, X2 is section 2 and X3 is section 3. (---- and | are section dividers)

X1 | X3

---- | X3

X2 | X3

X1 - using "telerik:RadSplitContainer" for defining section 1 and it contains non-editable data.

X2 - using "telerik:RadDocking.DocumentHost" for defining section 2 and it using for multiple "RadPane".

X3 - using "telerik:RadSplitContainer" for defining section 1 and it contains non-editable data.  It is single section with same height of X1+X2

Issue:

Section X3 has fixed width. if I try to reduce the width for X1, X2 then I can increase the width of the X3 control.  but the problem here is after the realignment I am unable to resize the section X1 and X2 and also X3 will overlap to other two section.  

If I resize the window then control is not aligning,  based on the window size I need to set some width for each section and these each section should support resizing also.

Please help me to fix this issue.  Please let me know if you need more information.

I appreciate your support in advance.

Thanks

Selvakumar R

 

Nasko
Telerik team
 answered on 23 Mar 2016
4 answers
358 views
I am guessing this isn't possible, but I'll be quite impressed if it is!

I have a RadGridView.  It opens with the rows in a collapsed state so that the details are hidden and you only see a single 'summary' line.  When you expand the row, the row details template contains a separate RadGridView which displays all details.  There are no scrollbars in the second grid.  The users scroll the main grid down which of course hides the detail grid header row.

Two possibilities:
1) Somehow make this row a fixed row, but in the scope of the parent grid (I am guessing not gonna happen? Maybe?)
2) Add scrollbars to the second grid, and make the users use two scroll bars.

I don't like option #2 because users would have trouble with two scrollbars.  Also, I can't figure out how to tell what size I should limit the child grid to.
Maya
Telerik team
 answered on 23 Mar 2016
1 answer
79 views

Hello,
When we make Rad control IsReadOnly=True or disbaled the control, the value inside is not looking good. It masks the value.

How can we remove the mask or make more transparent to make the value visible more bright ?

 

I am using Expression Dark Theme

Please guide me

Masha
Telerik team
 answered on 23 Mar 2016
7 answers
302 views
just wondering if its possible to modify the path to straight line? is there a way to edit the path?
Shameel
Top achievements
Rank 1
 answered on 23 Mar 2016
4 answers
225 views

Hi Team,

I would like to customize the Rad Carousel View - Like Together Deck Of Cards. Could you please give me the exact solution for this. Currently i used RadCarousal to display contents.

For more, Please go through the attached file..

Shameel
Top achievements
Rank 1
 answered on 23 Mar 2016
11 answers
401 views
Hi,

I'm working on a WPF application which include RadCarousel component (Telerik V2010.3.1314.35). I have some questions about the component. In my RadCarousel, I have multiple images.

1. Actually, I'm trying to know if the click made by the user in the RadCarousel was on the top image or not. If the click was on the top image, I will bring him another RadCarousel full screen with the top image and maybe all associated images ortherwise I will keep the normal behavior.

2. Actually, all existing images in my RadCarousel are not aligned horizontally, all of them are aligned on a "3/4 of a circle line". The problem I have actually is when I bring up a full screen RadCarousel to my users, I'm trying to center the selected image and use the maximum height possible to display the selected image. Because I have the horizonal scroll panel of my RadCarousel visible, which is necessary, plus the fact that my image is centered on the "3/4 of the circle line", I lost spaces to display my image. How I can fix it???

Thank`s
Shameel
Top achievements
Rank 1
 answered on 23 Mar 2016
4 answers
157 views

I was planning to use the RadRibbonGallery to lighten my already filled ribbon. I wanted to put my RadDropDownButtons inside of the Gallery, thus only showing by default only a few of them (the most important/common) and allowing the user to expand/scroll the Gallery to show the rest. 

But in this scenario, having selection for items in the gallery makes no sense. Is there an easy way to 'deactivate' this functionality for the RadRibbonGallery?

Yoann
Top achievements
Rank 1
 answered on 22 Mar 2016
2 answers
566 views

I create class for style selector as follows:

public class NegativeNumberStyle : StyleSelector     {         

    public override Style SelectStyle(object item, DependencyObject container)         {             

         GridViewCell cell = container as GridViewCell;
         var value = item.GetType().GetProperty(cell.Column.UniqueName).GetValue(item, null);
         if (value.GetType() == typeof(int) && ((int)value) < 0) 
return NegativeStyle;
         if (value.GetType() == typeof(decimal) && ((decimal)value) < 0)  return NegativeStyle;
         
return null; 
    
}           

     public Style NegativeStyle { get; set; }
}

 

Then I add the resources to the grid on my page as follows:

        <Grid.Resources>
 <my:NegativeNumberStyle x:Key="negativeNumberStyle">
<my:NegativeNumberStyle.NegativeStyle>
<Style TargetType="telerik:GridViewCell" BasedOn="StaticResource GridViewCellStyle}">
<Setter Property="Background" Value="Red"/>
</Style>
</my:NegativeNumberStyle.NegativeStyle>
</my:NegativeNumberStyle>
</Grid.Recources>

Since I load columns dynamically I set Columns CellStyle property in code behind

GridViewDataColumn gridColumn = new GridViewDataColumn();

gridColumn.CellStyleSelector = new NegativeNumberStyle();

 

But negative numbers aren't use the proper style (not showing in red color). I debug the code and noticed that NegativeProperty always returns null.

 

What am I doing wrong?

 

Thanks

Stas
Top achievements
Rank 1
 answered on 22 Mar 2016
3 answers
216 views

Hi,

     We are trying to expand RadComboBox using CUIT and UIAutomation. Both are throwing exceptions. The exception name is ElementNotAvailableException. In CUIT the inner exception name is InvalidOperationException. Is there any way to perform expand operation on RadComboBox without getting exceptions?.Any help to solve this problem is greatly appreciated.

Regards,

Nagasree.

Georgi
Telerik team
 answered on 22 Mar 2016
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
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
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
Iron
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
Iron
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?