Telerik Forums
UI for WPF Forum
5 answers
222 views

Hi,

Could you please advise how to reference the row(s) of the SelectedCells?

For example, would like to implement a "copy down/fill handler" (as in Excel) using a ContextMenu on the gridview. For each SelectedCell, we would like to copy the cell contents of the top selected row down to each row of the SelectedCells using MVVM. Please find a sample of the XAML attached.

        <telerik:RadGridView Name="dtgMyData" 
                             ItemsSource="{Binding Path=MyData}" 
                             AutoGenerateColumns="False" 
                             RowIndicatorVisibility="Visible"
                             HorizontalAlignment="Stretch"
                             SelectionMode="Extended"
                             SelectionUnit="Mixed">

...

<telerik:RadMenuItem Header="Copy Values Down" Command="{Binding DataContext.CopyValuesDownCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadContextMenu}}}" CommandParameter="{Binding Path=UIElement, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=telerik:RadContextMenu}}" />
                    </telerik:RadContextMenu.Items>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>

...columns...

</telerik:RadGridView>

 

Kindly advise.

Thanks

Abhinav
Top achievements
Rank 1
 answered on 17 Oct 2016
1 answer
125 views

Is it possibile obtain a gridlist for combobox?

Like WinForm controls?

Yana
Telerik team
 answered on 17 Oct 2016
3 answers
84 views

I found a strange behaviour:

  1. Open a document.
  2. Copy a text.
  3. Paste.
  4. Undo.
  5. Redo.

Redo command works but also select all document content. Why? How can I avoid it?
It happens only with paste: all other redo commands haven't this behaviour.

Thank you.

Tanya
Telerik team
 answered on 17 Oct 2016
2 answers
122 views

Our application uses RadMaskedTextInputs for user data input. When Enter is pressed, we perform field validation and focus the fields that need revising. If however two of these controls are focused one after the other, the application freezes. To test try the following:

Create a WPF with two RadMaskedTextInputs

    <Grid>
        <telerik:RadMaskedTextInput Width="100" Height="20" Margin="200,122,0,167" Name="txt1"></telerik:RadMaskedTextInput>
        <telerik:RadMaskedTextInput Width="100" Height="20" Margin="200,155,0,134" Name="txt2"></telerik:RadMaskedTextInput>
    </Grid>

On txt2 keyup event:

    Private Sub txt2_KeyUp(sender As Object, e As System.Windows.Input.KeyEventArgs) Handles txt2.KeyUp
        If e.Key = Key.Enter Then
            txt1.Focus()
            txt2.Focus() 
        End If
    End Sub

Run the application, type something in txt2 and press enter.

Regards

Kristof Van Cauwenberghe
Top achievements
Rank 1
 answered on 17 Oct 2016
2 answers
195 views

We would like to click a row and show only the DETAILS row, not the "original" row.  Please see attached files for clarity.

The main idea here is "Less is More". I don't want essentially 2 rows of information when I select a particular row.

If the user exits the DETAILS row (either by clicking another row or activates another window) then the row returns back to its normal state.

Thanks in advance!!!

Stefan Nenchev
Telerik team
 answered on 17 Oct 2016
1 answer
201 views
Hi,
I Use a RadDataPager in Unbound Mode.
when I want to set ItemCount to a big number (for example 450000000),
it takes almost 20 second.
is any way to improve time?
Thanks.
Ahmad
Top achievements
Rank 1
 answered on 17 Oct 2016
4 answers
134 views

Hello,

Is it possible to make group row selectable so on selecting group row all group records will be selected and also group row should look like selected? 

Stefan
Telerik team
 answered on 17 Oct 2016
4 answers
494 views

Is it possible to show a Index like in the image attached in the Row Indicator Column of RadGridView ?

 

 

Stefan
Telerik team
 answered on 17 Oct 2016
5 answers
181 views

Hi all...


I have a requirement to be able to drag the data contained within a group to another grid by dragging the group header row.

Anyone have any ideas as to if/how this could be achieved?

Jamie

Stefan
Telerik team
 answered on 17 Oct 2016
1 answer
113 views

Hello Team,

I have updated the latest Telerik Version(2016 Q3) and after update I am seeing "True" value instead of "And/Or" in the Filter. Please look at the Screenshot for more information. 

Stefan Nenchev
Telerik team
 answered on 17 Oct 2016
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?