Telerik Forums
UI for WPF Forum
1 answer
95 views

Hello 

Our horizontal axis is always a frequency, is it possible to display the unit kilo/Meg/Gig,
for example display 1.2 GHz, 100kHz, 10MHz instead of 1200000 Hz, 100000Hz, 10000000Hz ?

thanks

Martin Ivanov
Telerik team
 answered on 23 Sep 2019
9 answers
280 views

Hey,

I have the problem with a gridview. When I cancel the Rowedit with pressing 'Esc' two times the row not fully cancels. As you can see in my video.

(https://www.dropbox.com/s/ctpiyfsq0v3vyx2/Record100919.wmv?dl=0)

The previously in the same row entered value is still visible. As soon as you click in the cell, it disapears. If  I not click into it and change another cell, it even writes the before cancelled value into the cell.

 

I not have something really special there. The radgridview itemsource is a Datatable set in C#:                

rgvTeile.ItemsSource = Daten.GibTeileWithReklamationsID(aktReklamationsID).DefaultView;

 

This is my radgridview:

                            <telerik:RadGridView
                                Grid.Row="3"
                                x:Name="rgvTeile"
                                Margin="0 10 0 0"
                                AutoGenerateColumns="False"
                                GroupRenderMode="Flat"
                                ShowGroupPanel="False"
                                FilteringMode="Popup"
                                ShowSearchPanel="False"
                                ValidatesOnDataErrors="InEditMode"
                                EnableColumnVirtualization="False"
                                NewRowPosition="Bottom"
                                HorizontalAlignment="Left"
                                RowEditEnded="RgvTeile_RowEditEnded"
                                ActionOnLostFocus="CommitEdit"
                                >
                                <telerik:RadGridView.Columns>
                                    <telerik:GridViewDataColumn
                                        DataMemberBinding="{Binding ID}"
                                        Header="ID"
                                        IsVisible="False"
                                        IsReadOnly="True"
                                        />
                                    <telerik:GridViewDataColumn
                                        DataMemberBinding="{Binding Menge}"
                                        Header="Menge"
                                        />
                                    <telerik:GridViewDataColumn
                                        DataMemberBinding="{Binding Bezeichnung}"
                                        Header="Bezeichnung"
                                        />
                                    <telerik:GridViewDataColumn
                                        DataMemberBinding="{Binding ArtikelNummer}"
                                        Header="ArtikelNummer"
                                        />
                                    <telerik:GridViewDataColumn
                                        DataMemberBinding="{Binding Farbe}"
                                        Header="Farbe"
                                        />
                                    <telerik:GridViewDataColumn
                                        DataMemberBinding="{Binding Fertigmaß}"
                                        Header="Fertigmaß"
                                        />
                                </telerik:RadGridView.Columns>
                            </telerik:RadGridView>

Greetings

Benedikt

Benedikt
Top achievements
Rank 4
Iron
Iron
Iron
 answered on 23 Sep 2019
3 answers
163 views

Hi,

I have a RadTreeMap that's working perfectly except that I want its labels to be centered vertically and horizontally within each rectangle.

I'm also using a Colorizer:

<telerik:TypeDefinition.Mappings>
      <telerik:DesaturationColorizer From="1" To="0.1" StartColor="#d9ac26"/>
</telerik:TypeDefinition.Mappings>

...so, when I attempt to change use a TextBlock with the proper alignment:

<Style TargetType="telerik:RadTreeMapItem">

     <Setter Property="Template">
           <Setter.Value>
                <ControlTemplate>
                     <TextBlock Text="{Binding Label}" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
                 </ControlTemplate>
            </Setter.Value>
       </Setter>
</Style>

...it successfully centers the labels, but I lose the colorizing effect. How can I make the TextBlock respect the intended colorizing?

Wayne

n/a
Top achievements
Rank 1
 answered on 21 Sep 2019
1 answer
146 views

As I see when RT control import and export back, it cleans custom attributes.

id tag is required for styles as i understand, but what about my own attribute "data-id" (by html specification all data-* attributes are user defined attributes)?

Is it any solution to prevent remove user custom attributes?

Peshito
Telerik team
 answered on 20 Sep 2019
1 answer
108 views

Hello 

Is it possible to do a datareduction so we dont display all the points : Handle
one million points (5 series of 200 000), and display one point by pixel (with
only the maximum level for each pixel. So one million points are never
displayed at the same time and we do datareduction.

Vladimir Stoyanov
Telerik team
 answered on 19 Sep 2019
5 answers
277 views

Hi there,

Does anyone know how we can have an endless horizontal scrolling? Basically, I want to be able to change the visible range of ganttview dynamically as user clicks on the right/left thumb of horizontal scrolling.

 

Thanks,

Bahram Afsharipoor

Vladimir Stoyanov
Telerik team
 answered on 19 Sep 2019
1 answer
119 views

Hello,I have a requirement that set the visibility property to collapsed of the ListRootContainer which in the Radtreeview control 

So, what should I do? Or some way to make the ListRootContainer hide.

Dilyan Traykov
Telerik team
 answered on 19 Sep 2019
3 answers
201 views

Hi,

The RadDocking.Close event is not fired when close the pane with mouse middle button (click by pane header), how to get it raised?

Thank you.

 

Dimitar Dinev
Telerik team
 answered on 19 Sep 2019
7 answers
576 views

Hi, I've got a grid where one of my columns shows an alphanumeric id and I want to sort the numbers correctly so I've implemented manual sorting. The bound data comes from a DataTable so I don't have a viewmodel for the rows. My sorting code, which I've hooked up to the Sorting-event, looks something like this:

private void OnGridViewSorting(object sender, GridViewSortingEventArgs e)
{
  if (e.Column.IsCustomSortingEnabled)
  {
    var dataView = (DataView)e.DataControl.ItemsSource;
    if (e.NewSortingState == SortingState.None)
    {
      // TODO: We should maybe reset sorting, not just return here.
      return;
    }
        
    if (dataView.Table.Rows.Count > 0)
    {
      e.Cancel = true;
      DataTable dtNew;
      if (e.OldSortingState == SortingState.None)
      {
        e.NewSortingState = SortingState.Ascending;
        dtNew = dataView.Table.AsEnumerable().OrderBy(x => (string)x[e.Column.Name], GenericStringLogicalComparer.Default).CopyToDataTable();
      }
      else
      {
        e.NewSortingState = SortingState.Descending;
        dtNew = dataView.Table.AsEnumerable().OrderByDescending(x => (string)x[e.Column.Name], GenericStringLogicalComparer.Default).CopyToDataTable();
      }
      var existingDataView = (DataView)this.ItemsSource;
      for (int n = 0; n < existingDataView.Table.Rows.Count; ++n)
      {
        // Just copy the item array instead of rebuilding table
        existingDataView.Table.Rows[n].ItemArray = dtNew.Rows[n].ItemArray;
      }
      existingDataView.Table.AcceptChanges();
    }
  }
}

 

But I have two issues:

  1. When sorting on several columns I want to manage the sorting indices showing in the column headers, but I don't know how. It seems like they correspond to what's in the SortDescriptors collection. But I can't really edit the descriptors without adding some other sorting, can I? Is there some way to manually update the indices? Or set the SortDescriptors without really add another sort.
  2. We can store the state of grids to user-defined views, and do this by using the PersistenceManager to get xml describing the state of the grid. But since the sorting is defined by the SortDescriptors collection our manually sorting is not exported to xml.

I guess that both problems is about how I should edit the SortDescriptors when using the Sorting event.

Martin Ivanov
Telerik team
 answered on 19 Sep 2019
1 answer
3.0K+ views

I want to remove the "Select All" option from multi select check box filter in kendo grid view, when there is no data to be shown on UI or when grid is empty.

Any setting i can do to do so?

Nikolay
Telerik team
 answered on 18 Sep 2019
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?