Telerik Forums
UI for WPF Forum
2 answers
144 views

Hi,

Would it be possible to add a 'Compact' view of the Cards where the Description is collapsed? 

Example attached.

Thanks,

Richard

Richard
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 24 Jun 2020
3 answers
254 views

Hello,

I currently new  with the WPF and the  telerik technologies and i was wondering if the Telerik has any badge controls (see the attach file for exemple).

if yes, is it possible to add a image on the side in which the format in a SVG.

 

Thanks

 

Martin Ivanov
Telerik team
 answered on 24 Jun 2020
5 answers
152 views

Hi,

i use a RadView with an ItemSource ViewModel and several RadGridViewColumns. Also i created a Button bound to the ExportCommand which works fine.
The performance is not very well, but ok. My questions: Is it possible to export only defined Columns and not all out of the GridView? The Problem is, that i have about 20 Columns and in the pdf is looks like a mass.

 

Thanks

Best regards

Rene

Sunil
Top achievements
Rank 1
 answered on 24 Jun 2020
4 answers
525 views

I'm using RadOpenFolderDialog with the new filters capability to show only my "custom places" on the left side of the dialog;   I need to force the user to only be able select from a list of configured folders or children of them.   But there is a problem.

When filtering is enabled in this way, the dialog always requires the user to select something inside of the selected custom place.  You can't just click the custom place on the left.  The "Select Folder" button doesn't enable.    You then have to go to the right hand pane and click one of its subfolders before the "Select Folder" button enables.

This is a problem.  Some of my custom places don't have subfolders within them so sometimes there is nothing on the right to select.

If I do not have filtering enabled then selecting the custom place does enable the "Select Folder" button.

For example, I ran my code with just one custom place configured.  "F:\Remote"  I made the filter log which folders it allows and which it denies.   I've attached an image (snap18.png) that shows what it looks like when I select that custom place.   Nothing enables.

Here is my dialog code.  The filter only allows folders that are equal to or subfolders of one of the custom places:


void SelectFolder(List<string> configuredFolders)
{
    var dlg = new Telerik.Windows.Controls.RadOpenFolderDialog
    {
        Multiselect      = false,
        Owner            = Application.Current.MainWindow,
        Header           = "Select a folder"
        ShowNetworkLocations = false,
    };
    foreach (var f in configuredFolders)
    {
        dlg.CustomPlaces.Add(f);
        Log.Debug($"Added custom place {f}");
    }
    // Hook up to the DirectoryRequesting event to prevent folders
    // we don't want to allow
    dlg.DirectoryRequesting += (sender, args) =>
    {
        // Get a normalized file path for easy comparison
 
        var name = FileUtils.NormalizePath(args.Directory.FullName);
        // Only allow folders that are not equal to or a child of one of the
        // configured folders
        if (!folders.Any(f => FileUtils.IsParentOrEqual(f, name)))
        {
            Log.Debug($"DirectoryRequesting: DENY {name}");
            args.Cancel = true;
        }
        else
        {
            Log.Debug($"DirectoryRequesting Allow {name}");
        }
    };
    var result = dlg.ShowDialog();
    // Do something with the result
}

 

Here is the log output

GelSight.Mobile.App: 21:28:53.241 [1] DEBUG - IsLive: Device IsLive => False
GelSight.Mobile.App: 21:28:53.273 [10] DEBUG - ThreadProc: Live thread proc stopping
GelSight.Mobile.App: 21:28:53.478 [1] DEBUG - .ctor: Added custom place F:\Remote
GelSight.Mobile.App: 21:28:53.509 [1] DEBUG - .ctor: DirectoryRequesting: DENY C:
GelSight.Mobile.App: 21:28:53.538 [1] DEBUG - .ctor: DirectoryRequesting: DENY D:
GelSight.Mobile.App: 21:28:53.570 [1] DEBUG - .ctor: DirectoryRequesting: DENY F:
GelSight.Mobile.App: 21:28:53.601 [1] DEBUG - .ctor: DirectoryRequesting Allow F:\Remote
System.Windows.Data Error: 26 : ItemTemplate and ItemTemplateSelector are ignored for items already of the ItemsControl's container type RadWatermarkTextBox
System.Windows.Data Error: 40 : BindingExpression path error: 'IsSearchActive' property not found on 'object' ''OpenFolderDialogViewModel' (HashCode=251973)'. BindingExpression:Path=IsSearchActive; DataItem='OpenFolderDialogViewModel' (HashCode=251973); target element is 'FileDialogSearchPane' (Name=''); target property is 'IsSearchViewActive' (type 'Boolean')

At one point, I even hacked this code to specifically allow the root folder "F:" also just to see what would happen.  It did not fix the problem, it just made "F:" appear on the left (where I don't want it).

So is there way to achieve what I want?

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Jun 2020
1 answer
147 views

Hi,

is there a way to fix / freeze grand total row on top of pivot grid while scrolling? I don´t find a way to achive this behavior.

Thanks

Daniel

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Jun 2020
0 answers
99 views

Hello,

var rowList = gridControl.ChildrenOfType<GridViewRow>();
var emloyeeRowList = rowList.Where(x => (x.DataContext is AppointmentInfo) && (x.DataContext as AppointmentInfo).EmployeeId == employeeId).ToList();

If emloyeeRowList.Count is 2,and i insert a same employeeId AppointmentInfo to the ItemsSource of the GridView.The emloyeeRowList.Count is still 2.

When is the emloyeeRowList.Count 3?  Or which event should i used to get the emloyeeRowList.Count 3?

 

guo
Top achievements
Rank 1
 asked on 24 Jun 2020
2 answers
204 views

Is it possible to set the Scrollbars mode on a single control (not the whole app)?

FluentPalette.Palette.ScrollBarsMode = ScrollViewerScrollBarsMode.Compact;

Thanks,

Richard

Richard
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 23 Jun 2020
4 answers
1.2K+ views
First off, thank you for adding the sub-items on the hamburger menu, it's a great feature. 

I'm trying to reduce the number of clicks a user has to perform to get to a sub-menu in the worst-case scenario if they are already looking at an open sub-menu and want to go to another sub-menu of a different option it can take 3 clicks. 

1st Click closes the sub-menu of the current item
2nd Click opens the sub-menu of the new item
3rd Click activates the sub-menu On Click event. 

Is there a way to have the sub menus automatically open on mouse over to reduce this to one click?

Thanks,
Richard
Richard
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 23 Jun 2020
5 answers
235 views

I've read in the docs that RadChart supports charts with multiple areas for its series. Is there any way to get something similar in RadChartView?

In case it helps, what I'm trying to achieve is to "stack" vertically different series (candlestick, lines, bars) sharing one common horizontal axis but each with its individual vertical axis.

Martin Ivanov
Telerik team
 answered on 22 Jun 2020
0 answers
110 views

Hello, 

in my code I want to set the MajorTickLength.

But if I do that, the Visual Studio Designer freeze or crashed with a Out of Memory Exception. 

 

 

      <controls:RadScheduleView x:Name="MapScheduleView" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
                                  NavigationHeaderVisibility="Collapsed"
                                  MinAppointmentHeight="5"
                                  >
            <controls:RadScheduleView.ActiveViewDefinition>
                <controls:TimelineViewDefinition MinTimeRulerExtent="1" MaxTimeRulerExtent="Infinity" ShowTimeRuler="False"
                                                 StretchAppointments="True" StretchGroupHeaders="True">
                    <controls:TimelineViewDefinition.MajorTickLength>
                        <provider:OneYearTick/>
                    </controls:TimelineViewDefinition.MajorTickLength>
                </controls:TimelineViewDefinition>
            </controls:RadScheduleView.ActiveViewDefinition>
        </controls:RadScheduleView>

The tick provider:

public class OneYearTick : ITickProvider
    {
        public string GetFormatString(IFormatProvider formatInfo, string formatString, DateTime currentStart)
        {
            return string.Empty;
        }
        public DateTime GetNextStart(TimeSpan pixelLength, DateTime currentStart)
        {
            return currentStart.AddYears(1);
        }

}

Telerik Version: 2020.2.513.45

Best regards

 

Markus
Top achievements
Rank 1
Veteran
 asked on 19 Jun 2020
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?