Telerik Forums
UI for WPF Forum
3 answers
239 views
Hihi~ is it possible to get a collection of the current visible rows in the RadGridView? I would like to change some of the rows' and cells' visual properties.

Cheers,

Tim.
Maya
Telerik team
 answered on 12 Mar 2011
1 answer
249 views
2010 Q3 SP1
Windows 7

With SelectionMode="Extended", pressing Ctrl+A does not select all items. The documentation claims it should (http://www.telerik.com/help/wpf/gridview-multiple-selection.html). The relevant part of the grid declaration is below.

            <telerik:RadGridView 
                              ScrollViewer.CanContentScroll="True"
                              IsReadOnly="True"
                              ShowGroupPanel="False"
                              SelectionMode="Extended"
                              IsFilteringAllowed="True"
                              RowIndicatorVisibility="Collapsed"
                              CanUserSelect="True"
                              CanUserDeleteRows="False"
                              >
Maya
Telerik team
 answered on 12 Mar 2011
4 answers
68 views
Hi Telerik,

In RadGridView, when dragging a row it defaults with a line indicator of the target position. How can I change this format to a highlighted target row instead while dragging a row? I can't find any tricks to achieve this. Please help! Thanks.
Cheau-Long
Top achievements
Rank 1
 answered on 12 Mar 2011
1 answer
222 views
Hi Telerik Team,
        I had created a style for ToolTip and I applied it for a button. But it is not applying and displays System.Windows.Style as a ToolTip. The following is the ToolTip Style which I created.
 

<

 

 

Style x:Key="ToolTipStyle1" TargetType="{x:Type ToolTip}">

 

    

<Setter Property="Template">

 

    

    <Setter.Value>

 

    

        <ControlTemplate TargetType="{x:Type ToolTip}">

 

    

            <Border Height="Auto" Width="200" BorderThickness="2" BorderBrush="#FFB79700" CornerRadius="3">

 

                    <StackPanel Background="{StaticResource ToolTipBackGround}">

 

    

                    <StackPanel Height="25" Width="200" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Background="{StaticResource ToolTipHeaderBG}">

 

 

                            <Image x:Name="ImgToolTipIcon" VerticalAlignment="Top" Width="30" Height="22" Source="{Binding ToolTipIcon}" />

 

 

                            <TextBlock Foreground="Black" TextWrapping="Wrap" VerticalAlignment="Top" Margin="2,4,4,0" Height="18" Width="Auto" HorizontalAlignment="Right">

 

 

                                <Run x:Name="RunHeaderText" FontFamily="Andalus" FontSize="14" FontWeight="Bold" Text="{Binding ToolTipHeader}"/>

 

 

                            </TextBlock>

 

 

                        </StackPanel>

 

 

                        <StackPanel Width="200" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" > 
                            
<TextBlock TextWrapping="Wrap" Foreground="#FFF9F4F4" TextAlignment="Center" Background="{x:Null}" HorizontalAlignment="Right" VerticalAlignment="Top" Width="181" Height="Auto">

 

 

                                <Run x:Name="RunBodyText" FontFamily="Verdana" FontSize="11" FontWeight="Normal" Foreground="#FF151514" Text="{Binding ToolTipText}"/>

 

                            </TextBlock>

 

                        </StackPanel>

 

                    </StackPanel>

 

                </Border>

 

            </ControlTemplate>

 

         

</Setter.Value>

 

     

</Setter>

 

 

</Style>

 

 

 


I had applied the style in the following code:
 

<

 

 

Button Content="Show Tool Tip" Height="23" Margin="288,226,0,0" Name="Button2" VerticalAlignment="Top" HorizontalAlignment="Left" Width="85" ToolTip="{StaticResource ToolTipStyle1}" />


Please let me know any mistakes available in the Style.

Thanks & Regards
Azharshah H

 

 

 

Petar Mladenov
Telerik team
 answered on 11 Mar 2011
1 answer
210 views
Hi there, 

Is that possible to bind the Visibility property of TreeListView Row into a ViewModel's property?

For example here is the format of the ViewModel
public class EntryViewModel
{
    private String _name;
    private ObservableCollection<EntryViewModel> _items;
    private Boolean _isVisible;
   
    public EntryViewModel(String name, Boolean isVisible = true)
    {
        _name = name;
        _items = new ObservableCollection<TSEntryViewModel>();
        _isVisible = isVisible;
    }
   
    public String Name
    {
        get { return _name;}
        set { _name = value; }
    }
   
    public ObservableCollection<EntryViewModel> Items
    {
        get { return _items; }
        set { _items = value; }
    }
   
    public Boolean IsVisible
    {
        get { return _isVisible; }
        set { _isVisible = value; }
    }
}

So, is that possible to set the Visibility  property of TreeListView row to Collapsed when IsVisible value is false?
I've tried to look for some APIs here but can't find any API that can serve my purpose.
http://www.telerik.com/help/wpf/telerik.windows.controls.gridview-telerik.windows.controls.radtreelistview_members.html


Regards, 

Arinto



Ivan Ivanov
Telerik team
 answered on 11 Mar 2011
4 answers
108 views
Hi,

is there an effective way to highlight rows after inserting it?

thanks
Maya
Telerik team
 answered on 11 Mar 2011
1 answer
164 views
I have, through code, added appointments with multiple resources, and these do show up in both the resources calendars. great :)

but, how do i create an apointment, via the schedule control gui for multiple resources? as there is only a drop down list rather than a mulli select control.

When editing an already existing appointment with multiple resources, if you change the drop down list, even if you change it back to the original selection, it removes the other resources from the appointment.

So is there a flag or something i can set to allow multi resource appointments creation?
Valeri Hristov
Telerik team
 answered on 11 Mar 2011
1 answer
234 views
I wanted to customise the edit apointment dialog, but cant find any examples on how to do this for the new sheduleview.

Can anyone point me in the right direction?
Valeri Hristov
Telerik team
 answered on 11 Mar 2011
0 answers
119 views
Hi,

My RadGridView control hangs when I rebind it with the data source.

Attached is the screenshot.

Any ideas on this issue?..

Thanks
Arpit
Top achievements
Rank 1
 asked on 11 Mar 2011
9 answers
240 views
Hi,

Can any one help me how to retain the value which I can select the from the RadGridViewComboBox column.

As, in my application when I select a value from the dropdown and move to the next field, the value in the Combobox field is blank.

Any sample code which will help to resolve this solution will be highly appreciated.


Thanks & Regards,
Hirak
Maya
Telerik team
 answered on 11 Mar 2011
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?