Telerik Forums
UI for WPF Forum
1 answer
191 views
We have just upgraded to the latest Telerik WPF release (Q1 2013) and now, when printing from the PDFViewer, portions of the right part of the documents no longer print. The document displays fine in the viewer and when saved as a PDF and opened and printed from Adobe, the document prints fine.

I have looked in your documentation for WPF and found this page:Trouble Shooting Common Problems ,but the PrintSettings object used by the WPF version does not implement the ForceVector property. I have also tried using the new PageMargins property of the PrintSettings, but this has no affect on this issue. Does anyone else see the same behavior and/or does anyone have a suggestion?

I have attached scans of the printings. A correct one printed from Adobe and an incorrect one printed from the PDFViewer.

Thanks,
Steve
Kammen
Telerik team
 answered on 08 Mar 2013
1 answer
168 views
hi.

I am using the "ApplicationThemeManager.cs" from the "RadControls for WPF Q2 2012 Demos".
I called the "EnsureResourcesForTheme" method with these resourses as argument and the theme name.
private string[] resourcePaths = new string[]
                    {
                        "Telerik.Windows.Data",
                        "Telerik.Windows.Controls",
                        "Telerik.Windows.Controls.Input",
                        "Telerik.Windows.Controls.Navigation",
                        "Telerik.Windows.Controls.RibbonView",
                        "Telerik.Windows.Controls.GridView",
                    };
every things is working well and all controls changes to new theme (AT RUNTIME) but for the RadWindow and RadRibbonWindow nothing happens (AT RUNTIME).

please do not suggest me to use "StyleManager.ApplicationTheme" or "StyleManager.SetTheme".
just tell me how your sample code is working????
Dimitrina
Telerik team
 answered on 08 Mar 2013
12 answers
365 views
hi,

i have problem with refreshing column data when using expressions. My gridview is bind to datatable. 

example:

Datatable has column 1 and column2
  
column 1,
column 2,
...
expression column
expression = "column1+column2"

Is there any way to rebind or refresh expression? My datatable is dynamically filled with data.

mygrid.itemsSource=datatable.defaultView

Dalibor
Top achievements
Rank 1
 answered on 08 Mar 2013
8 answers
255 views
Hello,

I am now solving problem based on scrolling to previous visible items after source collection update when is used grouping. No grouping, no problem. But how to get first visible item, when some groups can be expanded, some collapsed etc.? This thread helped me a lot, but I need a little more help to get full functionality I need. 

Thanks
Petr
Top achievements
Rank 1
 answered on 08 Mar 2013
3 answers
366 views
Is there a way to disable the RadDataForm's horizontal or vertical scrolling? I've tried this...

<telerik:RadDataForm
            x:Name="PartForm"
            AutoGenerateFields="False"
            CurrentItem="Model"
            EditTemplate="{StaticResource PartFormTemplate}"
            Header="{Binding Model.PartNumber}"
            NewItemTemplate="{StaticResource PartFormTemplate}"
            ReadOnlyTemplate="{StaticResource PartFormTemplate}"
            ScrollViewer.CanContentScroll="False" />

...(note the ScrollViewer.CanContentScroll="False") and it does absolutely nothing. My LoB form has a grid which, among other things, includes two columns - one with a fixed width and the other with a starred width. The starred width column includes a TextBlock where wrapping has been enabled. I need RadDataForm to allow for disabling the horizontal scrolling so that the text actually wraps.

Ideas? Suggestions?

-Greg
Mark
Top achievements
Rank 1
 answered on 07 Mar 2013
1 answer
176 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
159 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
329 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
156 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
146 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
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?