Telerik Forums
UI for WPF Forum
1 answer
140 views
Hello,

I am using scrollindexintoviewasync  to keep my record in the screen after an edit. I have the below code. It reloads the grid and then calls the ScrollIndexIntoView to display the record. But it is displaying at the bottom of the grid. Could someone please give me an idea why please?

private void EditItem(object sender, Telerik.Windows.Controls.GridViewRowEditEndedEventArgs e)
        {
            GridViewRow row = e.Row;
            int index = this.RadGridView.Items.IndexOf(this.RadGridView.SelectedItem);
            GridData recordChanged = (GridData)e.NewData;
            dataService.EditRecord(recordChanged);
            this.RadGridView.ItemsSource = dataService.GetGridData();
            this.RadGridView.ScrollIndexIntoViewAsync(index, null, new Action<FrameworkElement>((f) => { (f as GridViewRow).IsSelected = true; }), null);

            LoadTablesAndGrid();
        }

Thank you,
Aryn


Dimitrina
Telerik team
 answered on 19 Nov 2014
5 answers
249 views
So, when using RadDataFilter in unbound mode, how does the actual filtering get done? I've subscribed to the FilterDescriptor events so I know *when* to do it, but not *how*. Do I need to iterate over the FilterDescriptors and write filtering code myself? I don't see how I can do that, since the only function available on those descriptors is CreateFilterExpression(Expression instance), but I can't find any documentation in the Telerik help on it. What is the instance parameter? Is there a sample that actually demonstrates this?

- Lutz
Dimitrina
Telerik team
 answered on 19 Nov 2014
7 answers
3.0K+ views
Hi,
I want my date picker to show only months and year in the calender. and on selection the date picker should show only the selected month and year(mm/yy). This kind of date picker is required in case of getting expiry date for credit card.
I tried to set some formatting string in my xaml page but it didn work.
Any help in this regard will be appreciating.

Thanks,
Anil
Nasko
Telerik team
 answered on 19 Nov 2014
1 answer
90 views
Suppose I copied a sub-tree and pasted on another node. It got pasted. But the bounds it take as 0,0 so all the nodes and its children appear on top of each other.
To fix this, in my MyCustomPaste() function, I called the same function which telerik has called in mind map diagram demo for layout.

So my aim is to call any default layout so that nodes get realigned into appropriate position once the pasting of new nodes is done.

settings.Roots.Add(this.diagram.ContainerGenerator.ContainerFromItem(this.maintViewModel.Source.Items.OfType<object>().ElementAt(0)) as IShape);
this.diagram.Layout(LayoutType.Tree, settings);
this.diagram.AutoFit();

This layout works for the remaining of the nodes which have not been touched by my custom cut and copy function. But the rest of the children of the node which is copied, still come on top of each other. Any fix for this?
Petar Mladenov
Telerik team
 answered on 19 Nov 2014
2 answers
228 views
hi there.
i have a data source in which i have to major objects. think of it as a graph in which object type one are nodes and object type two are connections.
i produced these using rad diagram and list of my types perfectly but problems shown up while i had to object type one which had more than one connection to each other. connections are overlapping on each other. it is important for me to make them separated in order to make content of connections readable.
would you please help me to find a solution?
regards
Arian
arian
Top achievements
Rank 1
 answered on 19 Nov 2014
2 answers
180 views
Hi,

I have a styling question:

When a GridView looses focus it is possible to set the background of a GridViewRow to a color that indicates, that the selection is inactive (like Selector.IsSelectionActive). Now at the same time, I want to set the Background_Current border of a GridViewCell to an inactive color. Because there is no VisualState like "CurrentUnfocused" on a GridViewCell, I do not know how to achieve this.

I thought about binding somehow to the state of the parent row, but could not find a way. Any ideas?

Thx
Vanya Pavlova
Telerik team
 answered on 19 Nov 2014
3 answers
310 views
Hi There

Control: RadMaps
Version: 2014.3.1021.45
License: Trial

I'm trying to load ESRI Shapefile inside RadMap using InformationLayer manually, but getting this issue "The DBF file is invalid or has unsupported format."
The shapefiles which I'm referring to is running fine in other window application.

Telerik example link which I'm referring is here http://www.telerik.com/help/wpf/radmap-features-shapefiles-support.html

Here is a WPF project that can reproduce the issue: https://www.dropbox.com/s/tr2vorqfbllbn6r/TelerikRadMap.rar?dl=0

Have attached the screen shots.

Thanks in Anticipation.
Petar Mladenov
Telerik team
 answered on 19 Nov 2014
4 answers
332 views
Hi,

Is it posible to set and get custom attributes on Span, ImageInline, Table and other RadRichTextBox elements? Cant find any info in this topic.
Petya
Telerik team
 answered on 18 Nov 2014
1 answer
150 views
Hi,

When an exception is throw during cell validation in RadGridView edit mode, disables the keyboard.

I am using Telerik for WPF 2014 - Q2 (Version-2014.2.0729.45).

In the attached sample, click on the first cell (Robert), Click F2 to begin the edit mode.
Try providing a name that is already exists (Eric) and exception will be thrown.
Close the message box and try typing anything in the cell which will not accept any keyboard inputs.

Please let me know if this issue can be fixed.
Dimitrina
Telerik team
 answered on 18 Nov 2014
15 answers
183 views
The binding on isVisible on the GridViewDataColumn is breaking our application when we upgrade to the latest version of Telerik WPF Controls.


<telerik:GridViewDataColumn Width="Auto" DataMemberBinding="{Binding AbstractionTarget}" IsVisible="{Binding IsMemberLevel}"

Why is this no longer a Dependency Property? It does not make sense to cause backward compatibility issues when it can be completely avoided.
Dimitrina
Telerik team
 answered on 18 Nov 2014
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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?