Telerik Forums
UI for WPF Forum
3 answers
117 views
Hi ,

I trying to use the ToolTip of the column like this

 

 

 

<my:GridViewDataColumn ToolTip="LastName" Header="LastName" DataMemberBinding="{Binding Path=LastName}" />

what wrong this not working

Best regards
Ehud

 

Vlad
Telerik team
 answered on 23 Jun 2010
2 answers
112 views
Does anyone have a good suggestion to determine the item currently in the center or middle when using a RadCarouselPanel? I want to make sure that the item is in the center before allowing them to select it and also I need to do some visual things to the items not in the center.

Thanks!
Scott
Top achievements
Rank 1
 answered on 22 Jun 2010
6 answers
308 views
Hi,

I would like to know  if there is a way to select an individual cell/cells in a RadGridView rather than an entire row and if so, how one goes about it.

Thanks in advance, Steve
Milan
Telerik team
 answered on 22 Jun 2010
2 answers
115 views
Hi,
i got a problem with getting custom row details. Ive got a gridview with messages (subject,date,sender), what i need is when someone click once on a row, the message will load into some controls. The problem is that MouseLeftButtonDown or MouseLeftButtonUp doesnt work, it sometimes works when i click BOTH left and right buttons, or left click than right lick fast. Roactivated also inst working as i would expect, because it works on enter or doubleclick. How can i achive event on one left mouse button click?
Zbigniew Kozłowski
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
94 views

Hi,

I need to remove the delete button binding

So click on Del button will not delete rows in grid

Best regards

Ehud

Vlad
Telerik team
 answered on 22 Jun 2010
4 answers
347 views
Good day!
I have such a xaml:

<Window x:Class="CAP.AdminTool.Questions"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Вопросы" Height="700" Width="750" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Icon="/CAP.AdminTool;component/favicon.ico" FontFamily="Verdana" FontSize="13" Loaded="Window_Loaded" >
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" MinHeight="60"></RowDefinition>
            <RowDefinition Height="auto" MinHeight="30"></RowDefinition>
            <RowDefinition Height="auto" MinHeight="60"></RowDefinition>
            <RowDefinition Height="auto" MinHeight="30"></RowDefinition>
        </Grid.RowDefinitions>
        <telerik:RadGridView Grid.Row="0"
             HorizontalAlignment="Left"
             Name="grQuestionSets"
             VerticalAlignment="Top"
             Height="auto"
             MinWidth="700"
             AutoGenerateColumns="False"
             SelectionChanged="grQuestionSets_SelectionChanged"  >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Раздел вопросов" UniqueName="Name" Width="auto" MinWidth="300"/>
                <telerik:GridViewDataColumn Header="Описание" UniqueName="Description" Width="auto" MinWidth="400"/>             
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>       
    </Grid>
</Window>


I want my RadGridView width to change when I change the width of the window.
How can I do it?
lina fetisova
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
422 views
1) When I bind the menu icon to an image which is defined as a StaticResource, the image does not appear but I can see the text "pack:" What am I doing wrong?

2) I want to bind the visibility to the underlying datasource using the BooleanToVisibilityConverter, so that when a menu item is selected the image is visible. I know how to use the converter but where in xaml do I set the binding.

Datasource:

public partial class Toolbar : UserControl 
    { 
        public Toolbar() 
        { 
            InitializeComponent(); 
 
            this.zoomMenu.ItemsSource = GetZoomMenuItems(); 
        } 
 
        private ObservableCollection<ZoomMenuItem> GetZoomMenuItems() 
        { 
            return new ObservableCollection<ZoomMenuItem>() 
            { 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=10, ZoomSettingText="10%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=25, ZoomSettingText="25%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=50, ZoomSettingText="50%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=75, ZoomSettingText="75%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=100, ZoomSettingText="100%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=200, ZoomSettingText="200%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=400, ZoomSettingText="400%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=600, ZoomSettingText="600%" }, 
                new ZoomMenuItem(){ IsSelected=false, ZoomSetting=800, ZoomSettingText="800%" }                 
            }; 
        } 
    } 

Menu:

<BitmapImage x:Key="tickImage" UriSource="../Images/tick.png" DecodePixelWidth="10"/> 
 
<Style x:Key="ZoomMenuItemStyle" TargetType="telerikNav:RadMenuItem"
            <Setter Property="Icon" Value="{Binding Source={StaticResource tickImage}}" />             
</Style> 
 
<HierarchicalDataTemplate  
            x:Key="zoomMenuItemTemplate" 
            ItemsSource="{Binding ZoomMenuItem}"
            <TextBlock Text="{Binding ZoomSettingText}" /> 
</HierarchicalDataTemplate> 
 
<telerik:RadDropDownButton  
                x:Name="RadDropBtnZoom" 
                Height="20" 
                Width="15"
                <telerik:RadDropDownButton.DropDownContent> 
                    <telerikNav:RadContextMenu 
                        x:Name="zoomMenu" 
                        Width="75"  
                        BorderThickness="0" 
                        ItemContainerStyle="{StaticResource ZoomMenuItemStyle}" 
                        ItemTemplate="{StaticResource zoomMenuItemTemplate}"
                    </telerikNav:RadContextMenu> 
                </telerik:RadDropDownButton.DropDownContent>                 
</telerik:RadDropDownButton> 



Pana
Telerik team
 answered on 22 Jun 2010
1 answer
95 views
By default each column can be sorted in 3 ways: Ascending, Descending, No Sort. How do I get rid of the third state, but have each the column can only be sorted either in ascending or descending order when I click the column header?

Thanks,
Yang
Ваня
Top achievements
Rank 1
 answered on 21 Jun 2010
3 answers
143 views
Hi All

I have bound the ItemSource of the RadBook to an ObservableCollection of classes, then I am using the item template to create a user control that binds it DataContext to the object. This is working well. I found however that I need to ensure that all the UserControls are loaded as soon as the ItemSource of the RadBook is Updated. Right now they only load when you navigate to that page.

Is there any method that I can call that does not require me to cause the book to iterate through all the pages?

Thanks for you help

Nick
Kiril Stanoev
Telerik team
 answered on 21 Jun 2010
1 answer
296 views

       Hello!  you may have a look at the attach.why the horizontal scrollbar can't auto hide? how to solve this problem ?

          

<Telerik:RadTreeView Name="_treeView" ScrollViewer.VerticalScrollBarVisibility="Auto"  ScrollViewer.HorizontalScrollBarVisibility="Auto"  SelectionMode="Extended" ExpanderStyle="{StaticResource Expander}" local:TreeViewHelper.EnableRightClickSelection="True" MouseRightButtonDown="_treeView_MouseRightButtonDown" PreviewMouseRightButtonDown="_treeView_PreviewMouseRightButtonDown">  
            <telerikNavigation:RadContextMenu.ContextMenu > 
                <telerikNavigation:RadContextMenu  x:Name="radTreeViewMenu">  
                    <telerikNavigation:RadMenuItem Header="View In Master Document" Tag="View in Master Document"/>  
                    <telerikNavigation:RadMenuItem Header="Show PDF" Tag="SHOW PDF" IsEnabled="False"/>  
                    <telerikNavigation:RadMenuItem Header="Show PDF AT Division" Tag="Show PDF AT Division" IsEnabled="False"/>  
                    <telerikNavigation:RadMenuItem Header="Copy Division" Tag="Copy Division" IsEnabled="False"/>  
                    <telerikNavigation:RadMenuItem Header="Job Ticket" Tag="Job Ticket" IsEnabled="False"/>  
                </telerikNavigation:RadContextMenu> 
            </telerikNavigation:RadContextMenu.ContextMenu> 
</Telerik:RadTreeView> 

If you see this message,please reply as soon as possible.I 'm very anxious. Thanks my friend.

Dimitrina
Telerik team
 answered on 21 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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
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
CardView
DataBar
WebCam
FilePathPicker
Licensing
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
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?