Telerik Forums
UI for WPF Forum
1 answer
133 views

Hello,

We are playing with the interactive form pdf and when you are in the field editing the text and then we go to save the document the field has not yet been updated with the new value.  Is there a way to force them out of the field editing and update the text of the field when they click the save button?

Thanks,

Brandon

Georgi
Telerik team
 answered on 22 Jun 2018
2 answers
230 views

Being new to Telerik controls I'm struggling to get RadGridView to populate automatically with SQL query collection.
I have some questions to understand what can and cannot be done and go from there:
I have a SQL query result collection contains over 4,000 records is there a way to set dump the datatable directly into the RadGridView with "AutoGenerateColumns="True"",
or do i have to iterate through all the rows?
Secondly I have the RadGridView in a tab of a RadPaneGroup. Which action should I use to only call the RadGridView population when its tab is selected?

Development
Top achievements
Rank 1
 answered on 22 Jun 2018
4 answers
136 views

Hi,

I try to change text of "Grand Total" with Localization Manager, set the localization for "Pivot_GrandTotal", but nothing happened. Other text, such as "Pivot_AggregateSum", "Pivot_AggregateCount", and other are translated successfully, but "Pivot_GrandTotal" not.

Could you help me?

Thanks

Martin
Top achievements
Rank 1
 answered on 22 Jun 2018
3 answers
222 views

I am using the telerik library with version 2017.3.1018.45.
At the moment I'm struggling with a drag & drop implementation between a RadGridView and RadTreeView. A row must be draggable from the RadGridView to the RadTreeView only.
The drag & drop from the grid to the tree works perfectly. Unfortunately it is also possible to drop elements from the grid on the grid itself. The Effects property of GiveFeedBackEventArgs in OnGiveFeedback() is Move when staying with the mouse over the grid. It should be None though.

Setting AllowDrop=false on the grid does not make a difference.
I as well tried to disallow dropping before the mouse pointer leaves the grid - using OnDragLeave - but it fires as well when the pointer still is over the grid.
Another approach is to compare the source and destination when dropping. It does not seem possible though to figure out the drop destination in the OnDrop or OnDragDropCompleted events.

How can I omit dropping a grid element on the same grid?

Rico
Top achievements
Rank 1
 answered on 22 Jun 2018
5 answers
183 views

The shape's minheight is 60, The name of the object displays on the bottom of the shape, when  zoom out the  shape,  the name string may word wrap,  so the shape's minheight  is increase by a new line's height,   but when resizeing, the minheight of the bounds is not change,

how to solve this problem?

thanks!

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Jun 2018
5 answers
144 views
Hi,

Is there a way to get the RadCalculatorPicker to display a cursor during input?  Right now, whatever user types shows in the TextBlock but it does not offer user the same look & feel as a regular input control.

Thanks.

Rubens.
Dinko | Tech Support Engineer
Telerik team
 answered on 22 Jun 2018
5 answers
146 views

Hi,

My application it's using the diagram and i needed to override the SelectAll() command since i have a special shape in the diagram i dont want to get deleted. This is the first shape added to the diagram. So diagram.Items[0].

I've created the newbinding as follows

 var controlAllBinding = new CommandBinding(DiagramCommands.SelectAll, OnSelectAllExecute, OnCanSelect);            CommandManager.RegisterClassCommandBinding(typeof(PatternDiagram), controlAllBinding);

And the implementation

  private static void OnSelectAllExecute(object sender, ExecutedRoutedEventArgs e)
        {
            var diagram = (sender as PatternDiagram);
            diagram.SelectAll();
            (diagram.Items[0] as RadDiagramShape).IsSelected = false; //This works
            (diagram.Items[1] as RadDiagramShape).IsSelected = false; //This works
        }

        private static void OnCanSelect(object sender, CanExecuteRoutedEventArgs e)
        {
            e.canExecute = true;

            e.Handled = true;
        }

 

However there are a few other items that are not RadDiagramShapes but they inherited from it (ProductShape : RadDiagramShape), there are 2 kinds of this products, the ones that are enabled and the ones that are disabled using the IsEnabled property.

So:

- 2 RadDiagramShapes (Rectangles) [CANNOT BE DELETED]

- 3 ProductShapes (IsEnabled = true) [SHOULD BE DELETED AND SELECTABLE]

- 3 ProductShapes (IsEnabled = false) [SHOULD NOT BE DELETED]

If i try to use a foreach inside the diagram.Items or diagram.SelectedItems and after that i try to check which ones are disabled and when i get them i try to use IsSelected = false (because i dont want them to be selected or deleted) it is not working.

I've tried to modify CanSelect, SelectAll, CanDelete, DeleteExecute, PreviewSelectionChange, SelectionChange with no luck.

Is there maybe about the ProductShape class that is not working? The class only has 2 properties and a predefined style.

 

Is there any way i can achieve this?

Thanks

Martin Ivanov
Telerik team
 answered on 22 Jun 2018
1 answer
126 views

Trying to migrate from RadDragAndDropManager  to DragDropManager.

 

Below is my existing code : 

 

RadDragAndDropManager.AddDragQueryHandler(this.gvDocumentToAttach, OnDragQuery);

RadDragAndDropManager.AddDragInfoHandler(this.gvDocumentToAttach, this.OnDragInfo);

 

private void OnDragQuery(object sender, DragDropQueryEventArgs e)

{ e.QueryResult = true; e.Handled = true; } 

private void OnDragInfo(object sender, DragDropEventArgs e) {

IEnumerable draggedItems = e.Options.Payload as IEnumerable;

if (e.Options.Status == DragStatus.DragInProgress)

{ TreeListViewDragCue cue = new TreeListViewDragCue();

cue.ItemsSource = draggedItems;

e.Options.DragCue = cue; } }

 

Wanted to know the corresponding options available in DragDropManager.

Martin Ivanov
Telerik team
 answered on 22 Jun 2018
1 answer
130 views

SortDescriptor icon is not coming during the loading of the GridViewcolumn.

 

Martin
Telerik team
 answered on 22 Jun 2018
1 answer
903 views

Hi,

 

I am able to create and run WPF applications using Telerik just fine, but when I run one through a 3rd party application launcher (Bloomberg) I am getting a XmlParseException saying "The invocation of the constructor on type 'Telerik.Windows.Controls.RadChart' that matches the specific.."

 

The inner exception is a SecurityException. I am guessing the 3rd party interferes but I am wondering if there's anything I can do to get around this with how I use or where I place the telerik .dlls?

 

Thanks,

Fredrik

Martin Ivanov
Telerik team
 answered on 22 Jun 2018
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?