Telerik Forums
UI for WPF Forum
0 answers
75 views
Hello,

I am occasionally receiving an ArgumentOutOfRangeException with the message 'The added or subtracted value results in an un-representable DateTime.' while scrolling on mouse.


Stack Trace:

   at System.DateTime.Subtract(TimeSpan value)
   at Telerik.Windows.Controls.TimeBarBase.ZoomOut(Double centerOffsetPercentage)
   at Telerik.Windows.Controls.TimeBarBase.OnMouseWheel(MouseWheelEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at -.dje_zAQG4QXAUTAXTGKYLAMESW_ejd.Main()

Thanks in advance.
bilge
Top achievements
Rank 1
 asked on 08 Dec 2023
0 answers
64 views

Hi,

I have a RadGridView that has a RowDetailTemplate that we are using a listbinding to show another grid showing details associated with the parent row item.

I'm setting RowDetailVisibilityMode to Visible to show the nested RowDetailTemplate expanded by default. All of this data is loaded from a monolith API call and then held in memory.

We are using an ICollectionView to filter the parent grid using fields in the UI.

This all works, BUT when the filter is released using a command and the entire grid is restored from the collection in memory, the child (RowDetailTemplate) grid only shows the values in the first column of the grid rows. The others don't show up unless I resize the App window, then they all show up.

So, I know the data is there, but it's not showing up without resizing the window after we restore the collection.

Is there a known issue with this behavior or a setting that I can apply to either the parent or child grid that will force the column values to re-render in the UI?

billy
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 07 Dec 2023
1 answer
133 views

Hi,

does the RadWaterMarktextBox support validation at Property level like the DataGrid validation feature

Thank you

Stenly
Telerik team
 answered on 07 Dec 2023
1 answer
94 views
Hello Telerik Team,
Please let me know how to avoid the horizontal white lines in the RadGridView. (Refer the attachment please)
If I do a vertical scroll, the horizontal white lines disappear for some rows and appear for some rows.
Behaves weirdly.
Awaiting for the solution.

Thanks and Regards,
Muhammad Azhar Shah
Martin Ivanov
Telerik team
 answered on 06 Dec 2023
0 answers
95 views

Hello,

I'm using RadRichTextBox (WPF Telerik 2021.1.222.40) and get an error about my span's font can't cannot be italicized. From what I'm investigating, it seems like my FontFamily is specifying the style so I can't reassign the FontStyle. Some fonts where I am experiencing this problem: MS 明朝 Regular, MS Pゴシック Regular, A-OTF 新ゴ Pro B, A-OTF 新ゴ Pro EL... I assume it has to do with the suffixes behind the font names: Regular, B, EL

Has anyone else encountered this issue?

Thanks for your help.

This is the xaml content of RadRichTextBox:


<t:RadDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:t="clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents" xmlns:s="clr-namespace:Telerik.Windows.Documents.Model.Styles;assembly=Telerik.Windows.Documents" xmlns:r="clr-namespace:Telerik.Windows.Documents.Model.Revisions;assembly=Telerik.Windows.Documents" xmlns:n="clr-namespace:Telerik.Windows.Documents.Model.Notes;assembly=Telerik.Windows.Documents" xmlns:th="clr-namespace:Telerik.Windows.Documents.Model.Themes;assembly=Telerik.Windows.Documents" version="1.2" LayoutMode="Flow" LineSpacing="18.6700000762939" LineSpacingType="AtLeast" ParagraphDefaultSpacingAfter="0" ParagraphDefaultSpacingBefore="0" SectionDefaultPageMargin="73,79,72,64" SectionDefaultPageSize="816,1056" SelectedBibliographicStyleName="\APA.XSL" StyleName="defaultDocumentStyle">
  <t:RadDocument.Captions>
    <t:CaptionDefinition IsDefault="True" IsLinkedToHeading="False" Label="Figure" LinkedHeadingLevel="0" NumberingFormat="Arabic" SeparatorType="Hyphen" />
    <t:CaptionDefinition IsDefault="True" IsLinkedToHeading="False" Label="Table" LinkedHeadingLevel="0" NumberingFormat="Arabic" SeparatorType="Hyphen" />
  </t:RadDocument.Captions>
  <t:RadDocument.ProtectionSettings>
    <t:DocumentProtectionSettings EnableDocumentProtection="True" Enforce="False" HashingAlgorithm="None" HashingSpinCount="0" ProtectionMode="ReadOnly" />
  </t:RadDocument.ProtectionSettings>
  <t:RadDocument.Styles>
    <s:StyleDefinition DisplayName="Document Default Style" IsCustom="False" IsDefault="False" IsPrimary="True" Name="defaultDocumentStyle" Type="Default">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LineSpacing="18.6700000762939" LineSpacingType="AtLeast" SpacingAfter="0" TextAlignment="Justify" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="A-OTF ゴシックMB101 Pro U,MS Gothic" FontSize="14" FontStyle="Normal" FontWeight="Normal" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 1 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading1" Name="Heading1Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontSize="18.6666660308838" FontWeight="Bold" ForeColor="#FF4F81BD" ThemeFontFamily="major" ThemeForeColor="accent1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 2 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading2" Name="Heading2Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontSize="17.3333339691162" FontWeight="Bold" ForeColor="#FF4F81BD" ThemeFontFamily="major" ThemeForeColor="accent1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 3 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading3" Name="Heading3Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontWeight="Bold" ForeColor="#FF4F81BD" ThemeFontFamily="major" ThemeForeColor="accent1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 4 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading4" Name="Heading4Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontStyle="Italic" FontWeight="Bold" ForeColor="#FF4F81BD" ThemeFontFamily="major" ThemeForeColor="accent1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 5 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading5" Name="Heading5Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties ForeColor="#FF4F81BD" ThemeFontFamily="major" ThemeForeColor="accent1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 6 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading6" Name="Heading6Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontStyle="Italic" ForeColor="#FF4F81BD" ThemeFontFamily="major" ThemeForeColor="accent1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 7 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading7" Name="Heading7Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontStyle="Italic" ForeColor="#FF000000" ThemeFontFamily="major" ThemeForeColor="text1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 8 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading8" Name="Heading8Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontSize="13.3333330154419" ForeColor="#FF000000" ThemeFontFamily="major" ThemeForeColor="text1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Heading 9 Char" IsCustom="True" IsDefault="False" IsPrimary="False" LinkedStyleName="Heading9" Name="Heading9Char" Type="Character">
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontSize="13.3333330154419" FontStyle="Italic" ForeColor="#FF000000" ThemeFontFamily="major" ThemeForeColor="text1" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Normal" IsCustom="False" IsDefault="True" IsPrimary="True" Name="Normal" Type="Paragraph" />
    <s:StyleDefinition DisplayName="TableDefault" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TableDefault" Type="Table">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LineSpacing="18.6700000762939" LineSpacingType="AtLeast" SpacingAfter="0" TextAlignment="Justify" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.TableStyle>
        <s:TableProperties Borders="1,Single,#FF000000,none,,">
          <s:TableProperties.TableLook>
            <t:TableLook />
          </s:TableProperties.TableLook>
        </s:TableProperties>
      </s:StyleDefinition.TableStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TableNormal" IsCustom="False" IsDefault="True" IsPrimary="True" Name="TableNormal" Type="Table" />
    <s:StyleDefinition DisplayName="TitleLevel1" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel1" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="24" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Gothic" FontSize="18.6700000762939" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel2" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel2" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="24" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Gothic" FontSize="18.6700000762939" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel3" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel3" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="24" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="16" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel4" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel4" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="21.3299999237061" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="14" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel5" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel5" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="21.3299999237061" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="14" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel6" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel6" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="21.3299999237061" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="14" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel7" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel7" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="21.3299999237061" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="14" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel8" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel8" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="21.3299999237061" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="14" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="TitleLevel9" IsCustom="True" IsDefault="False" IsPrimary="True" Name="TitleLevel9" Type="Paragraph">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LeftIndent="0" LineSpacing="21.3299999237061" LineSpacingType="AtLeast" SpacingAfter="0" SpacingBefore="0" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="MS Mincho" FontSize="14" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
  </t:RadDocument.Styles>
  <t:Section PageSize="793.700805664063,1122.51965332031">
    <t:Paragraph Background="#FFD8D6CB" StyleName="TitleLevel1">
      <t:ReadOnlyRangeStart AnnotationID="1" />
      <t:Span Tag="[INDEX_SID:3295715,DOC_DATA_SID:2646844]" Text="てきすと" />
    </t:Paragraph>
    <t:Paragraph FirstLineIndent="-12" FontSize="12" LeftIndent="33.3300018310547" LineSpacing="16" LineSpacingType="AtLeast" RightIndent="0" SpacingAfter="4" SpacingBefore="0" TextAlignment="Justify">
      <t:Paragraph.ParagraphSymbolPropertiesStyle>
        <s:SpanProperties BaselineAlignment="Baseline" FontFamily="MS Pゴシック Regular,MS PGothic" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" UnderlineDecoration="None" />
      </t:Paragraph.ParagraphSymbolPropertiesStyle>
      <t:ReadOnlyRangeEnd AnnotationID="1" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS Pゴシック Regular,MS PGothic" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" Text="*" UnderlineDecoration="None" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS 明朝 Regular,MS Mincho" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" Text="少額" UnderlineDecoration="None" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS 明朝 Regular,MS Mincho" FontSize="12" FontStyle="Italic" ForeColor="#FF000000" Text="貯蓄非" UnderlineDecoration="None" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS 明朝 Regular,MS Mincho" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" Text="課税制度" UnderlineDecoration="None" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS Pゴシック Regular,MS PGothic" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" Text="(マル優)" UnderlineDecoration="None" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS ゴシック Regular,MS Gothic" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" Text="をご利用いただけます" UnderlineDecoration="None" />
      <t:Span BaselineAlignment="Baseline" FontFamily="MS Pゴシック Regular,MS PGothic" FontSize="12" FontStyle="Normal" ForeColor="#FF000000" Text="。詳しくは販売会社にお問い合わせください。" UnderlineDecoration="None" />
    </t:Paragraph>
  </t:Section>
</t:RadDocument>

Tran
Top achievements
Rank 1
 asked on 06 Dec 2023
1 answer
88 views

I don't see an easy way to do this.  I Selected the added item in the view model and then sent a message to the view to get it to call the Begin Edit method, but that didn't cause the card to go into edit mode.

Even though I added an item to the list that was bound to the Items source of the RadCardView,  I noticed when I made the below call (from the view code behind), the list of cardViewItems did not contain the newly added object that I added to the source.  Not sure why it is not automatically updating the cardviewitems, as the itemsSource is bound to an Observable Collection.  

  IEnumerable<RadCardViewItem> cardViewItems = cardView.ChildrenOfType<RadCardViewItem>();

 

I think that when BeginEdit is called, it is not finding the CardViewItem and therefore it does nothing.  Not sure how to fix that.   Maybe there is a bug in the cardview class.

Dinko
Telerik team
 answered on 04 Dec 2023
1 answer
84 views

Hi,

I am trying to add new record into Details in Master Details RadGridView (Based on Telerik Demos/GridView/Editing/Entity Framework CRUD). I added option to add new detail record into master, in row details grid view new row with message "Click here to ad new item" appeared. After clicking on message an filling data in GridViewAddingNewEventArgs, I see new record in the details, but when I try to save it with dbContext.SaveChanges(), I've got message in output window about SQL update statement instead of insert (I always got the EntityFrameworkCore.DBUpdateConcurrencyException). 

 

Ľubomír
Top achievements
Rank 1
Iron
 updated answer on 04 Dec 2023
0 answers
122 views
g
Paul
Top achievements
Rank 1
 updated question on 04 Dec 2023
0 answers
163 views

Hello, Telerik

I want to create a feature with the following characteristics:

1. Use of the MVVM pattern.
2. The number of columns in the DataGridView is not fixed but dynamic. (Users can specify the number of columns as an option, allowing for dynamic changes.)
3. Only the first column's text is fixed, while the 2nd to nth columns are ComboBoxes, allowing users to select which columns they want to view.

For example, if a class has (name, age, gender, department, major, student number, average grade, highest grade, lowest grade) as fields,
'Name' is always shown in the first column as fixed data.
'Age' to 'Lowest Grade' are available as ComboBox options for users to select and view as they wish.

If n = 5, it could be displayed as follows:

      1st               | 2nd |    3rd    |     4th |    5th
Name (Fixed) | Age | Gender | Major | Avg Score

or
       1st             | 2nd    |      3rd         | 4th         | 5th
Name (Fixed) | Major | Avg Score | Max Score | Min Score

In this way, users can view data in the columns of their choice.

As mentioned, since the number of columns is dynamic, I don't want to write the column code as below.

<telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="column 1" DataMemberBinding="{Binding data_1}"/>
                <telerik:GridViewDataColumn Header="column 2" DataMemberBinding="{Binding data_2}"/>
                <telerik:GridViewDataColumn Header="column .." DataMemberBinding="{Binding data_1}"/>
                <telerik:GridViewDataColumn Header="column n" DataMemberBinding="{Binding data_n}"/>

</telerik:RadGridView.Columns>

 

I searched all the SDK examples and forums, but I don't know how to write it.

Thank you in advance.

Kim
Top achievements
Rank 1
 asked on 04 Dec 2023
0 answers
128 views

Hi, we are looking at using the RadStepProgressBar

in Xaml


  <telerik:RadStepProgressBar
x:Name="SystemStepProgressBar"
ItemsSource="{Binding Steps}"
SelectedItem="{Binding SelectedStep, Mode=TwoWay}">

We are binding to a collection of StepInfo as per example online

When we change the SelectedItem in code behind, this is not registering visually, even though the RadStepProgressBar.SelectedItem and SelectedIndex is as we expect the visual display does not change?

 

Matthew
Top achievements
Rank 1
 asked on 01 Dec 2023
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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?