Telerik Forums
UI for WPF Forum
1 answer
159 views
Hello,
To avoid code duplication, i'd like to use a same radRibbontab in several contextual group
I've tried this code, but it doesn't work...

<telerik:RadRibbonTab  Header="CONTENT" ContextualGroupName="contextualCONTENT">
    <telerik:RadRibbonGroup Header="GContent">
        <!-- some ribbon buttons-->
        </telerik:RadRibbonGroup>
</telerik:RadRibbonTab>
 
<telerik:RadRibbonTab  Header="NAV" >
    <telerik:RadRibbonTab.Style>
        <Style TargetType="{x:Type telerik:RadRibbonTab}">
            <Setter Property="ContextualGroupName" Value="contextualNAV"/>
            <Style.Triggers>
                <DataTrigger Binding="{Binding Protocol}" Value="CONTENT">
                    <Setter Property="ContextualGroupName" Value="contextualCONTENT"/>
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </telerik:RadRibbonTab.Style>
    <telerik:RadRibbonGroup Header="G1">
         <!-- some ribbon buttons-->
         </telerik:RadRibbonGroup>
</telerik:RadRibbonTab>
<telerik:RadRibbonView.ContextualGroups>
    <telerik:RadRibbonContextualGroup x:Name="contextualNAV" Header="Outils Exploration" MinWidth="120"
                                              IsActive="{Binding Protocol, Converter={StaticResource convIsEqual}, ConverterParameter=NAV}"
                                               Color="Yellow" SelectFirstTabOnActivation="False" />
    <telerik:RadRibbonContextualGroup x:Name="contextualCONTENT"  Header="Outils Codification" MinWidth="120"
                                               IsActive="{Binding Protocol, Converter={StaticResource convIsEqual}, ConverterParameter=CONTENT}"
                                               Color="Cyan"  SelectFirstTabOnActivation="False"/>
</telerik:RadRibbonView.ContextualGroups>
Pavel R. Pavlov
Telerik team
 answered on 07 Mar 2013
1 answer
134 views
Hi,

We are using the 2011.1.315.40 version of the WPF libraries.

We have a custom style defined for the RadGridView, and for the background color, we are using a defined brush in another resource dictionary (set as a dynamic resource).  From the RadGridView style:

<Setter x:Uid="Setter_302" Property="Background" Value="{DynamicResource TestListBackgroundBrush}"/>

ListBackgroundBrush is defined in two resource dictionaries, with two different values - one for each theme offered by the application.  When changing theme, we unload one resource dictionary and load the other.

However, for any RadGridView controls that have already been displayed, the background color does not change.  Checking the resources loaded shows that the value with that key has indeed changed - it is just that the RadGridView does not update.

This is strange as the RowStyle for the grid view also has its background set to use this brush (also DynamicResource) and that color does change correctly.

Can you please suggest what could be happening here.  It is not an option for use to upgrade to a more recent version of the library.

Thanks.


<Setter x:Uid="Setter_302" Property="Background" Value="{DynamicResource ListBackgroundBrush}"/>
Ivan Ivanov
Telerik team
 answered on 07 Mar 2013
2 answers
296 views
Hello,

I have the following RadCombo Box:

<telerik:RadComboBox x:Name="Combo" Grid.Column="2" Grid.ColumnSpan="4" Grid.Row="0"
     VerticalAlignment="Center"
                                     IsEnabled="False"
                                     ItemsSource="{Binding MyList}"
                                     SelectedItem="{Binding selectedItem, Mode=OneWay}"
                                     ItemTemplate="{StaticResource ComboBoxTemplate}"
                                     Command="{Binding SelectedCommand}"
                                     CommandParameter="{Binding Path=SelectedItem, ElementName=Combo }"
                                      />

Setting IsEnabled to false does not effect the combo box at tall.

If I removed the Command and CommandParameter from the RadComboBox then the IsEnabled Property works as expected.

Is there a way / fix / workaround is use the isenabled property when also using a Command / Command Parameter

Many Thanks
Sergiy
Top achievements
Rank 1
 answered on 07 Mar 2013
1 answer
137 views
Hi,

Purpose: extending the RadTreeView & RadTreeViewItem
In order to immplement the purpose above i had to inherit the both classes.
When i binding the NewRadTreeView ItemSource to viewmodel
i found the previous RadTreeViewItem instead NewRadTreeViewItem.

In order to use my NewRadTreeViewItem i did the override below in NewRadTreeView & NewRadTreeViewItem:
protected override DependencyObject GetContainerForItemOverride()
{
    var rti = base.GetContainerForItemOverride();
    if(rti is RadTreeViewItem)
    {
        rti = new NewRadTreeView();
    }
}

I wonder if i'll have to expect for other things that might affect?
What about the AddItem, Next, Previous etc...?

Best regards
Pavel R. Pavlov
Telerik team
 answered on 07 Mar 2013
3 answers
120 views
I have a RadCarouselPanel within of a ListView.

The animated items are moved by only the scroll bars. Is there a way to move them by clicking on each of them? then, the selected item, move bring to front?

Thanks in advance.

Pablo
Maya
Telerik team
 answered on 07 Mar 2013
1 answer
100 views
Hi,

I am using RadDocking to redock my RadCartesianChart in a window. However when I redock on drop the chart lines get redrawn. I have attached images of before and after this occurs. I am wondering what is causing this behaviour? It seems to redraw every time the chart is redocked in the window.

Any suggestions would be great.

Thanks,
Adam
Peshito
Telerik team
 answered on 07 Mar 2013
3 answers
111 views
Is there an easy way to accomplish the following for using the max function but display the column where the max value is?

Column 1    Column 2
A                100    
B                500    
C                200
                  Total:     800
                  Highest: B(500)

Thanks
 
Dimitrina
Telerik team
 answered on 07 Mar 2013
1 answer
183 views
Hi,

How to increase the speed of child node while expanding parent node in rad treeview?

eg : Our application having more than 50 child nodes so it taking very slow while expanding a parent node. Is any way to increase the speed?

Regards,
Sasireka 
Tina Stancheva
Telerik team
 answered on 07 Mar 2013
1 answer
97 views
Hi,

Can anyone tell me what is Q3 2012

and i have problem while automating the windows based application. In My application the developer used the 'RAD Controls' for one of grid. In that grid i need to click WPFButton which is in the 'RAD TAB' grid. coded ui doesnot able to find the rad controls

Actually i have VSTS 2010 ultimate and VSTS 2012 premium and some forums says Q3 2012 supports the RAD Controls.

please can any one help what are environment is required to set and automate the 'RAD controls'.


-Sandeep



Maya
Telerik team
 answered on 07 Mar 2013
1 answer
117 views
Hi

I have a tree structure that's mirrored in a viewmodel structure - there's various event handlers in a 'wrapper' collection that monitor the tree structure for items added and removed and creates and removes corresponding viewmodels.

When a viewmodel is added, it appears in the TreeListView as expected.

Is there any way I can expand and select a 'new' item?

I know I can bind selected items and IsExpanded, but from my description you might see that I don't have the viewmodel when the model is changed - this is done automatically.  I thought I'd see if anyone had a better idea before I go down that route.

Thanks!

Charles
Vlad
Telerik team
 answered on 07 Mar 2013
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?