Telerik Forums
UI for WPF Forum
1 answer
129 views
I can't set the foregournd color to black in the place where I placed the comment.

<telNav:RadPanelBar x:Name="PresentationPanel"
                             Template="{DynamicResource PresentationPanelBar}"
                             DataContext="{Binding}">
        <telNav:RadPanelBarItem Name="CollateralLibraryPanel"
                                    IsExpanded="False"
                                    ScrollViewer.CanContentScroll="True"
                                    Template="{DynamicResource PresentationPanelBarItem}" Background="#FF641818">
            <telNav:RadPanelBarItem.Header >
                <TextBlock Text="Collateral Library"
                               Foreground="#FFFFFF"
                               Name="txtTopicsHeader"
                               Margin="5 4 5 5" />
            </telNav:RadPanelBarItem.Header>
            <StackPanel Orientation="Vertical"
                            VerticalAlignment="Top"
                            MaxHeight="200"
                            Margin="0"
                            ScrollViewer.CanContentScroll="True"
                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                            HorizontalAlignment="Left">

                <!-- CAN'T SET FOREGROUND COLOR TO BLACK!!!! below -->
                <telNav:RadPanelBar x:Name="pbLeaveBehindMaterial"
                                            MinWidth="182"
                                            MaxHeight="180"
                                            Margin="0"
                                            ItemsSource="{Binding Path=LeaveBehindMaterials, Mode=TwoWay}"
                                            ScrollViewer.CanContentScroll="True"
                                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                                            ItemTemplate="{StaticResource FolderDataTemplate}"                                       
                                            IsEnabled="True">
                </telNav:RadPanelBar>
            </StackPanel>
        </telNav:RadPanelBarItem>
    </telNav:RadPanelBar>

Dimitrina
Telerik team
 answered on 03 Jun 2010
2 answers
52 views
With the latest 5-28 internal release, RadTileViews placed inside a RadPanelBar are now rendering 90 degrees off. Is there a setting to change this back or is this an unintentional bug.
Bobi
Telerik team
 answered on 03 Jun 2010
1 answer
97 views
Try dragging an item from all products to Order grid's column caption. Bum.

---------------------------
Fatal error!
---------------------------
Error message: Object reference not set to an instance of an object.

StackTrace:    at Telerik.Windows.Examples.DragAndDrop.WPF.TreeToGrid.Example.OnGridViewDropInfo(Object sender, DragDropEventArgs e)

   at Telerik.Windows.Controls.DragDrop.DragDropEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) in c:\Builds\WPF_Scrum\Core_WPF_2010_Q1\Sources\Development\Core\Controls\DragDrop\DragDropEventArgs.cs:line 47

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.RaiseDropInfo() in c:\Builds\WPF_Scrum\Core_WPF_2010_Q1\Sources\Development\Core\Controls\DragDrop\RadDragAndDropManager.cs:line 659

   at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnRealDrag(IMouseEventArgs e) in c:\Builds\WPF_Scrum\Core_WPF_2010_Q1\Sources\Development\Core\Controls\DragDrop\RadDragAndDropManager.cs:line 1242

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)




---------------------------
OK   
---------------------------

Tina Stancheva
Telerik team
 answered on 03 Jun 2010
1 answer
60 views
I am writing an ebook management which use RadTreView and RadCarousel. The Treeview allow user choose ebook category. When an ebook category is chosen the ebook in that category was updated. but some category still does not have any book so  I want to display something inform the user that there is no book inside. Please advise for me how to do that

Best Regards,
Truong Pham
Maya
Telerik team
 answered on 02 Jun 2010
2 answers
143 views
Hello,

I am using the radcarousel panel and currently I am facing problems with wpf browser element. Namely my carousel contains several frame - elements which are containing a XAML - Page, something like this:
        <ScrollViewer x:Name="carouselScrollViewer" CanContentScroll="True" VerticalScrollBarVisibility="Hidden" Margin="0"
            <telerik:RadCarouselPanel x:Name="mainMenuCarousel"  
             ItemsPerPage="3" PathPadding="0,0,0,100" d:LayoutOverrides="Width, Height" ScrollViewer.VerticalScrollBarVisibility="Hidden"
                <Frame Width="600" Height="400" Content="Frame" Source="\View\MediaPlayerView.xaml" NavigationUIVisibility="Hidden" IsEnabled="False" ScrollViewer.VerticalScrollBarVisibility="Disabled"/> 
                <Frame Width="600" Height="400" Content="Frame" Source="\View\WebBrowserView.xaml" NavigationUIVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Disabled"/> 
                <Frame Width="600" Height="400" Content="Frame" Source="\View\MediaPlayerView.xaml" NavigationUIVisibility="Hidden" ScrollViewer.VerticalScrollBarVisibility="Disabled" Focusable="False" IsTabStop="False"/> 
            </telerik:RadCarouselPanel> 
        </ScrollViewer> 
 
So my WebBrowserView has an wpf browser element. While scrolling radcarousel wpf browser element stays always top element although frame containing it isn't a selected item and overlaps items in foreground. Is it a common bug in wpf browser element or there is something wrong with radcarousel ?

Thank you.

Daniel Ruehle
Top achievements
Rank 1
 answered on 02 Jun 2010
5 answers
189 views
Hi!

I am using the "IsHidden" property to hide RadPanes in my WPF application.
This works fine.

What I want to do is to animate the "hiding/showing" of the panes. Is this possible?

Regards,
Lennart
Miroslav Nedyalkov
Telerik team
 answered on 02 Jun 2010
3 answers
111 views
Can I have a column whose value is derived from the difference of a column in two rows. Like:

For example I have following radgrid:

Row_Id         Rank                            Derived Col
1                     5                                      0
2                     7                                      2
3                     7                                      0
4                     3                                     -4                         

Derived col = TableRow.Rank - TableRow(-1).Rank

Is it possible using bindings?
Vlad
Telerik team
 answered on 02 Jun 2010
1 answer
206 views
Hi,

I came across this scenario that appears to be a bug. When I bind a series of items to a RadTabControl that is not wide enough to show them the scroll buttons do not appear until I resize the window. This is the simplest way to duplicate:

XAML:

<Window x:Class="Workbench.RadTabControlTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" Title="RadTabControlTest" Height="400" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        
        <Button 
            Width="125"
            Height="25"
            Click="Button_Click">Set Items</Button>
        
        <Controls:RadTabControl 
            x:Name="tabs"
            Width="250"
            Height="150"
            Grid.Row="1"
            />
    </Grid>
</Window>

And the code behind:

public partial class RadTabControlTest: Window
    {
        public RadTabControlTest()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            tabs.ItemsSource = new[] {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"};
        }
    }

I am using the latest release and the project is .NET 4.0.

Am I doing something wrong?

Cheers,
Jose
Bobi
Telerik team
 answered on 02 Jun 2010
1 answer
77 views
Which control allows me to enter a Date and Time in order to input or display a DateTime value?
Kaloyan
Telerik team
 answered on 02 Jun 2010
1 answer
94 views
How can I explicitly indicate that I want a linebreak to be at a certain point in GridViewDataColumn header attribute? 

 

<telerik:GridViewDataColumn Header="Happy<LineBreakHere>(Days)"/> 

 

 

 

I want the text to be centered with (Days) appearing underneath "Happy", and I want to do this without implementing any Wrapping/ColumnWidth tricks.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Vlad
Telerik team
 answered on 02 Jun 2010
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?