Telerik Forums
UI for WPF Forum
7 answers
650 views
Hi all.

I want to determine if Row or Cell in sight.
I checked IsVisible field of RowGridView but it always true. IsVisible
property of GridViewCell is true at first. After i had moved it out of visible area
it became false. After that it was alway false even if row was in visible are of
grid.

Regards, Anton.

Valeri Hristov
Telerik team
 answered on 25 Feb 2009
3 answers
125 views
Just a quick heads up. Though your probably aware of this.

Having a Converter on a column gets ignored by the filters (the filters just display the 'DataMemberPath').

Thanks

Guido
Hristo Deshev
Telerik team
 answered on 25 Feb 2009
4 answers
561 views

Hi, 
I am new to the WPF world but I am trying to use the RadGridView in a ViewModel (MVVM) architecture.

Normally al my ViewModels contain a SelectedProduct property which automatically enables other realted commands in the UI. (change,view, etc).


This is working perfectly in the included ListBox control:

<ListBox ItemsSource="{Binding Products}"

                    SelectedItem="{Binding SelectedProduct}"

                    DisplayMemberPath="Product.ProductName">

        </ListBox>

When trying the same in your Telerik RadGrid it fails my property setter never gets called.

     <telerik:RadGridView telerik:Theming.Theme="Vista"

                                       MultipleSelect="False"

                                       ItemsSource="{Binding Products}"  IsReadOnly="False"

                                       SelectedItem="{Binding SelectedProduct}"

                                       ColumnsWidthMode="Fill" AutoGenerateColumns="False">

                   <telerik:RadGridView.Columns>


The SelectionChanged event off course works and raises every time I click / move on another item but I am expecting my "SelectedProduct" property to be automatically updated (setter never called).


This SelectedProduct property get's called on the getter so actually it's used/read.


Looks like it's not using 2-way binding...


Any ideas what I am doing wrong?? 


Sebastian Talamoni
Top achievements
Rank 1
 answered on 24 Feb 2009
1 answer
52 views
Hi every one i would like to know what features are available/not in the trial versions of the WPF controls.
Thanks.
Vlad
Telerik team
 answered on 24 Feb 2009
5 answers
259 views

I have a grid with a decimal column in it. When i try to type a number with a decimal (ie 101.5), on press of the decimal key (period) the mouse cursor returns to the beginning of the column.

GridViewDataColumn

valueColumn = new GridViewDataColumn();

 

 

valueColumn.Name =

"Value";  

 

 

valueColumn.UniqueName =

"Value";  

 

 

valueColumn.HeaderText =

"Value";  

 

 

valueColumn.DataMemberPath =

"Value";  

 

 

valueColumn.Width =

new GridLength(80);  

 

 

valueColumn.DataType =

typeof(decimal);

 

 

valueColumn.IsSortable =

false;

Thanks for any help.
-Brandon

 

 

 

 

 

Hristo Deshev
Telerik team
 answered on 24 Feb 2009
1 answer
117 views
Hi All,

I'm testing your WPF grid and would like to measure Filtering operation for my needs.
But I cannot find appropriate client events, something as:

RecordFilteringChanged
RecordFilteringDropDownOpen
RecordFilteringDropDownPopulated

Could you give me way to do that?

Grego


Valeri Hristov
Telerik team
 answered on 23 Feb 2009
1 answer
197 views

Hello.

I am trying RadSlider control and found this small problem:
I have on my container (Canvas) except RadSlider control also Button (or some other control that can have keyboard focus).

By default RadSlider has Focusable property set to true and when it has keyboard focus it also reacts on arrow keys.

Problem is that when I press and release arrow key it starts to move selection on slider but don’t stop with it (like when arrow key would be pressed forever).

I think the reason is that with arrow keys keyboard focus is moved to my button and I believe slider receives keydown event but don’t get keyup because it is already received by button. As KeyboardNavigation is by default set to Cycle keyboard focus with arrows.

For me this makes no problem because I don’t need this feature and so I set Focusable property on slider to false but I wanted to mention it.

Best regards,
Michal

Bobi
Telerik team
 answered on 23 Feb 2009
2 answers
138 views
Hello,

Is it possible to put tooltips on the bars of a bar chart and have the tooltip display the text in the x-axis tick point? 

Currently I'm using code similar to this post to add labels to the x-axis tick points and sometimes the value is too big and gets cut off.  I would like to have the same value that I'm using in the tick point label to also be displayed in a tooltip when I hover over a bar.

Thanks,

Joel 
JP
Top achievements
Rank 1
 answered on 23 Feb 2009
7 answers
144 views
Hi,
I have created WAP Browser Application. Set Itemsource property to datatable.

<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" >
                                    <Label Content="Name: " Foreground="#ff8FB3FF" FontSize="12"/>
                                    <Label Content="{Binding Path=Data.FirstName}" Foreground="#ff8FB3FF" FontSize="12" />                                    
                                </StackPanel>


FirstName is the field in datatable.

when I run this application i could see only  carousel items with first lable moving but not data is present(FirstName). but number of items are the number of rows in the datatable.

 



Vandana
Top achievements
Rank 1
 answered on 23 Feb 2009
2 answers
137 views
Hi,
I have created grid with the following column style
<Telerik:GridViewDataColumn HeaderText="Comment" IsFilterable="False" UniqueName="Comment" DataMemberPath="InnerValue" Width="*"
                    <Telerik:GridViewDataColumn.CellStyle> 
                        <Style TargetType="{x:Type Telerik:GridViewCell}"
                            <EventSetter Event="EditEnded" Handler="Comment_EditEnded"/> 
                            <EventSetter Event="MouseUp" Handler="Cell_MouseUp" /> 
                            <Setter Property="IsEnabled" Value="{Binding Path=IsSelected}"/> 
                            <Setter Property="Template"
                                <Setter.Value> 
                                    <ControlTemplate TargetType="{x:Type Telerik:GridViewCell}"
                                        <ctlPanel:ColumnWrapPanel> 
                                            <TextBlock TextWrapping="Wrap" TextTrimming="None" Text="{TemplateBinding Content}"/> 
                                        </ctlPanel:ColumnWrapPanel> 
                                    </ControlTemplate> 
                                </Setter.Value> 
                            </Setter> 
                            <Style.Triggers> 
                                <Trigger Property="IsInEditMode" Value="True"
                                    <Setter Property="Template"
                                        <Setter.Value> 
                                            <ControlTemplate TargetType="{x:Type Telerik:GridViewCell}"
                                                <ctlPanel:ColumnWrapPanel> 
                                                    <TextBox Name="txt" Height="auto" TextWrapping="Wrap" Margin="2,2,2,2"  Foreground="Black" 
                                                            Text="{TemplateBinding Content}"/> 
                                                </ctlPanel:ColumnWrapPanel> 
                                            </ControlTemplate> 
                                        </Setter.Value> 
                                    </Setter> 
                                </Trigger> 
                            </Style.Triggers> 
                        </Style> 
                    </Telerik:GridViewDataColumn.CellStyle> 
                </Telerik:GridViewDataColumn> 

when i finish editing, the e.NewValue in Comment_EditEnded event still shows the old value..am I missing something?
Thanks,
Tal

Tal
Top achievements
Rank 1
 answered on 23 Feb 2009
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?