Telerik Forums
UI for WPF Forum
1 answer
114 views

Hello,

some BarCode controls such as "Code 39 Extended" and "Code 25 Interleaved" require a TwoWay binding of the "Text" property when used in a MVVM scenario. (And some do not, such as "Code 128")

It took us several hours to find that out.

My suggestion is to improve the documentation for this behaviour.
In the demos and documentation only a fixed text is used.

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Apr 2018
0 answers
148 views

I need to use the filtering UI and keep the selected values and filter expressions, but I don't want RadGridview to do actual filtering, because I do all that in backend. How do I bypass the data filtering and just use RadGridView for filtering UI?

 

Dmitri
Top achievements
Rank 1
 asked on 02 Apr 2018
2 answers
277 views

Actually there are a couple of issues here.

  • No search panel available for the TreeListView :-(  Setting ShowSearchPanel = true does nothing.

------------------------------------------------

I am running issues with hierarchy items that are expanded while not visible.

 We are using the IsExpandedBinding property which is binding okay, and our data item implements INotifyPropertyChanged.  When you set a node's IsExpanded property, it also recursively set's its parent's IsExpanded property to match.

--------------------------------------------------

  • ScrollIntoView(item) doesn't work with items which were expanded but never visible.  No scroll happens.  ScrollIntoView works with items that were previously or currently visible.  ScrollIntoView(item,true) and the ScrollIntoViewAsync() methods do no better.

I managed to get better results by Scrolling to the item's root, then recursively using ScrollIntoView() on the root to item path.

ex:
A
  B
    C
Doing ScrollIntoView(A), then ScrollIntoView(B), then ScrollIntoView(C) gives better results

But item C is just below the bottom of the grid.  Item B is at the bottom.  This is kind of a 'one off' problem.

----------------------------------------------------

  • Setting SelectedItem isn't working for items recently expanded but never visible.

SelectedItem works ok if the item is visible, or was previously visible.

--------------------------

  I think these problems are happening because when you expand an item while not visible, it does not get into the TreeListView items property until it becomes visible. ExpandHierarchyItem() does not help.

Is there something we can do to help get these newly expanded (but not visible) nodes into the TreeListViews tracked items? (I assume this is the grid.Items collection)

 

Yoan
Telerik team
 answered on 02 Apr 2018
1 answer
285 views

Hi,How to disable scrolls when printing RadImageEditor component? I try some properties like ScrollViewer.VerticalScrollBarVisibility,ScrollViewer.HorizonalScrollBarVisibility but no one works.(hidden and disable values of these properties)

 

 <imaging:ZoomController  x:Name="zoomController" Grid.Row="0" Grid.Column="1" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ScrollViewer.PanningMode="Both" ImageEditor="{Binding ElementName=imageEditor}"  Margin="0.8"/>

....

 <telerik:RadImageEditor   IsPanningEnabled="True"  Margin="0,0,0,0"  x:Name="imageEditor" ScaleFactor="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

 

 

Vladimir Stoyanov
Telerik team
 answered on 02 Apr 2018
1 answer
90 views

Hi Team,

I have query on RadgridView:

-Clear the grid row selection if a user clicks outside the grid area.

 

Thanks,

Amit Kulha

Vladimir Stoyanov
Telerik team
 answered on 02 Apr 2018
0 answers
120 views

Hi All, 

I Have a gridview, which I enabled filter by FilteringMode.Popup. popup listing all the distinct values. How can I allow user to filter there distinct values or search within them ? Maybe something like dropdown beaviour may help, I mean when user types beginning of the value and the scroll goes to first item matches within the list. Have any option to do that ? 

Mustafa Erhan
Top achievements
Rank 1
 asked on 02 Apr 2018
5 answers
275 views
I'm trying to drag from an external list box to the schedule view control, but i'm getting a "Object reference not set to an instance of an object." Exception in the DragDropBehavior.Drop.

 at Telerik.Windows.Controls.ScheduleViewBase.CreateNew(IAppointment appointment) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\ScheduleView.Editing.cs:line 96
   at Telerik.Windows.Controls.ScheduleViewDragDropBehavior.CopyAppointment(DragDropState state, Slot targetSlot, IAppointment appointment) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\DragDropBehavior\ScheduleViewDragDropBehavior.cs:line 447
   at Telerik.Windows.Controls.ScheduleViewDragDropBehavior.Drop(DragDropState state) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\DragDropBehavior\ScheduleViewDragDropBehavior.cs:line 110
   at MAXIS.Scheduling.ScheduleItem.ScheduleViewDragDropBehavior.Drop(DragDropState state) in C:\Projects\_AX\Production\Scheduling\MAXIS.Sch

It's a custom Appointment. I've implemented the copy & the copyfrom methods like is shown in the examples. I can drag & drop from within the control just fine, but dragging a appointment from a listbox throws the exception.  the only difference i see in the state object is that the SourceAppointmentsSource is nothing.

The control version is 2012.1.215.40
amine
Top achievements
Rank 1
 answered on 30 Mar 2018
1 answer
2.1K+ views

Hi Team,

I have query on Radgridview selection row:

- How can I clear row selection if a user click outside the grid.?

 

Thanks,

Amit Kulha

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Mar 2018
1 answer
155 views

Hello Team,

We are using the Telerik (i.e version 2014.2.729.45) PivotGrid to display the data. We are able to save the custom view based on the columns added in Row Label, Column Label and values. But when we apply any label filters in Column Filter and trying to save the view getting the below issue. Please help me to resolve the issue.

Message: Type 'System.Globalization.GregorianCalendar' with data contract name 'GregorianCalendar:http://schemas.datacontract.org/2004/07/System.Globalization' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.
Stack Trace :
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteCultureInfoToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteYearGroupToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteSetConditionHashCollectionToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )
   at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteSetConditionToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteItemsFilterConditionToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteLabelGroupFilterToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteDateTimeGroupDescriptionToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfanyTypeToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )
   at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteDataProviderSettingsToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(Stream stream, Object graph)
   at AIMSDotNet.DataProviderValueProvider.ProvideValue(Object context) in E:\AIMS36032Bit\AIMS360SQL32BIT\AIMSDotNet\PivotGridReports\OrderBIV2.xaml.vb:line 1021
   at Telerik.Windows.Persistence.Serialization.Serializer.HandleSerializationProvider(Object objectToSerialize, Type type, ReferenceValue parentValue, PropertyData parentPropData)
   at Telerik.Windows.Persistence.Serialization.Serializer.GeneratePropertyTree(Object objectToSerialize, String path, ReferenceValue parentValue, PropertyData parentPropData, SerializationMetadataCollection options, Boolean shouldValidateCriteria, Int32 nestingDepth)
   at Telerik.Windows.Persistence.Serialization.Serializer.GenerateRootElementTree(Object objectToSerialize)
   at Telerik.Windows.Persistence.Serialization.Serializer.Serialize(Object obj)
   at Telerik.Windows.Persistence.PersistenceManager.Save(Object obj)
   at AIMSDotNet.OrderBIV2.SaveCustomizations()

Regards,

Chakradhar

Dilyan Traykov
Telerik team
 answered on 30 Mar 2018
7 answers
281 views

Hi,

 I want to be able to hide a subtotal for particular fields within the pivot.

 I know I can use RowSubTotalsPosition="None" against the RadPivotGrid but that hides all subtotals.

 For instance, if a user adds both Customer Account and Customer Name to the pivot grid then I want to be able to suppress the subtotal of Customer Account. However, there could be an outer group (e.g. sales representative) that would want a subtotal.

 Is this possible?

 Many thanks,

Darran

Kalin
Telerik team
 answered on 30 Mar 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
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
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?