Telerik Forums
UI for WPF Forum
1 answer
115 views
Hallo,
We look for a component package in WPF for new ERP system. We want thin desktop and web client. 
Now I analyze data binding of component for pivot table. 
You have it perfectly solved in web package Kendo UI (http://demos.telerik.com/kendo-ui/pivotgrid/index). A next data are loaded only if user expands next level. Can I achieve this behavior in WPF? 
In your WPF trials it seems that all data are loaded once and while expanding these are only shown. I try XmlaDataProvider (demo XmlaStyleRaggedHierarchies) and I defined expand behavior for collapse all levels.
Polya
Telerik team
 answered on 04 Jul 2016
1 answer
90 views

I need to limit available weekdays to select in Telerik WPF RadDatePicker. This RadDatePicker is in column of Telerik WPF RadGridView. Configuration of weekdays available to select should be different for each row.

I've created model with available weekdays configuration, but I don't know how to simply attach such functionality to RadGridView.

Thanks in advance for any help.

I need to limit available weekdays to select in Telerik WPF RadDatePicker. This RadDatePicker is in column of Telerik WPF RadGridView. Configuration of weekdays available to select should be different for each row.

I've created model with available weekdays configuration, but I don't know how to simply attach such functionality to RadGridView.

Thanks in advance for any help.

Dilyan Traykov
Telerik team
 answered on 04 Jul 2016
1 answer
120 views

I need to limit available weekdays to select in Telerik WPF RadDatePicker. This RadDatePicker is in column of Telerik WPF RadGridView. Configuration of weekdays available to select should be different for each row.

I've created model with available weekdays configuration, but I don't know how to simply attach such functionality to RadGridView.

Thanks in advance for any help.

Dilyan Traykov
Telerik team
 answered on 04 Jul 2016
3 answers
206 views
Hello,

I have many different custom shapes.  
I've added a new tab to the SettingsPane. How can I change the content of this tab depending on the custom shape that the user has dropped it or selected?
Any event for SettingsPane can help me?
I need event fires when I press  the SettingsPane button!
I tried (PreviewAdditionalContentActivated) and (AdditionalContentActivated) but both are fired when I dropped any shape now when I press the SettingsPane icon.

Thank you
Martin Ivanov
Telerik team
 answered on 04 Jul 2016
1 answer
192 views

Hi Guys,

After update the telerik to 2016 Q2, (Telerik.Windows.Controls 2016.2.613.45). I can´t access (see) the property LayoutControlGroup.Header and some other properties.

In another project that is using Telerik.Windows.Controls (2016.2.503.45) these properties are available.

 

What I can do to solve this problem ? 

Martin Ivanov
Telerik team
 answered on 04 Jul 2016
1 answer
1.1K+ views

i want to get the value of CheckBoxColumn in DataGrid wpf
i try this code

 

foreach (spShowTotal_Result item in dgShowStudent.ItemsSource)
        {
 
            bool? check = ((CheckBox)dgShowStudent.Columns[0].GetCellContent(item)).IsChecked;
 
        }

but this exception appear
Unable to cast object of type 'System.Windows.Controls.ContentPresenter' to type 'System.Windows.Controls.CheckBox'.
Ahmed
Top achievements
Rank 1
 answered on 04 Jul 2016
3 answers
216 views

We use a custom autocomplete textbox, and it's been working fine with Telerik Controls from 2012.

We've recently upgraded the DLL, and I've noticed that there is a new problem. When the Autocomplete is focused and Escape is being pressed, the textbox still has logical focus, but the keyboard focus is lost (The cursor is still on the textbox, but it is not blinking anymore).

After debugging it, I've found out that KeyTipService.HandleEscape is being called, and this specific code takes the keyboard focus:

                if (this.Ribbon != null)
                {
#if WPF
                    Keyboard.Focus(this.Ribbon.SelectedTab);
#endif
                    if (this.Ribbon.IsBackstageOpen)
                    {
                        this.Ribbon.IsBackstageOpen = false;
                    }
                }

 

I've tested this issue on a test project, and I can reproduce the issue, even with a regular textbox:

<telerik:RadRibbonWindow x:Class="RibbonTakesFocusFromAutoComplete.MainWindow"
        Title="MainWindow" Height="350" Width="525">
 
    <Grid x:Name="contentToDisable">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
 
        <telerik:RadRibbonView Name="MainRibbon" HelpButtonVisibility="Visible" HelpCommand="{Binding ShellHelpFileCommand}" GotKeyboardFocus="MainRibbon_GotKeyboardFocus"
            ApplicationName="Bob"
            telerik:KeyTipService.IsKeyTipsEnabled="True"
            MinimizeButtonVisibility="Visible"
            Foreground="Black"
            IsBackstageOpen="false"
            IsMinimized="False">
            <telerik:RadRibbonView.Backstage>
                <telerik:RadRibbonBackstage telerik:KeyTipService.AccessText="F">
 
                    <telerik:RadRibbonBackstageItem Header="New" telerik:KeyTipService.AccessText="N" Click="RadRibbonBackstageItem_Click" />
                    <telerik:RadRibbonBackstageItem Header="Open" telerik:KeyTipService.AccessText="O" Click="RadRibbonBackstageItem_Click_1"/>
                </telerik:RadRibbonBackstage>
            </telerik:RadRibbonView.Backstage>
            <telerik:RadRibbonTab Foreground="Black" Header="Edit" telerik:KeyTipService.AccessText="E">
                <telerik:RadRibbonGroup Header="Clipboard" telerik:ScreenTip.Title="Clipboard"
                    telerik:ScreenTip.Description="Bla Bla"
                    telerik:KeyTipService.AccessText="FO">
                    <telerik:RadRibbonGroup.Variants>
                        <telerik:GroupVariant Variant="Medium" Priority="0"/>
                    </telerik:RadRibbonGroup.Variants>
 
                    <StackPanel Orientation="Horizontal">
                        <telerik:RadRibbonButton Text="Paste"
                            Size="Large"
                            telerik:ScreenTip.Title="Paste"
                            Click="RadRibbonButton_Click"
                            telerik:ScreenTip.Description="Paste"
                            telerik:KeyTipService.AccessText="V">
 
                        </telerik:RadRibbonButton>
                    </StackPanel>
                </telerik:RadRibbonGroup>>
            </telerik:RadRibbonTab>
        </telerik:RadRibbonView>
 
        <Grid Grid.Row="1">
            <TextBox  Width="100" VerticalAlignment="Top" HorizontalAlignment="Left"/>
        </Grid>
    </Grid>
</telerik:RadRibbonWindow>

 

Run the project, and click the TextBox so it will get keyboard focus. Press the Escape key, and you'll see what I mean.

Is there any workaround?

 

Can you please fix it.

 

Thanks

 

BENN
Top achievements
Rank 1
 answered on 04 Jul 2016
1 answer
109 views
I'm trying to set merge field values manually and I can't get anything to work, or find anything indicating how I can do this directly.  Here's an example of my code:

 

                        var span = new Span("Testing");
                        var fragment = DocumentFragment.CreateFromInline(span);


                        start.Field.SetFragmentByDisplayMode(FieldDisplayMode.Result, fragment);

 

start.Field is a MergeField, and basically other than the end result being blank.  When I look at the MergeField objects properties after making this call I see that the ResultFragment shows as empty.  What am I missing here?  If this won't work is there some way to just remove the field and insert my text? 

I realize the documentation is angled towards mail merge but my situation doesn't make that feasible.

Matt
Top achievements
Rank 1
 answered on 03 Jul 2016
1 answer
97 views

hiiii,, i want to get the value of checkboxcolumn in datagrid wpf

i try this code

if (item.boolCol == true)
              {
                  MessageBox.Show("fail");
              }
              else
              {
                  MessageBox.Show("success");
 
              }

but don't take the changed value but take the same value of the my itemsourse 

Ahmed
Top achievements
Rank 1
 answered on 03 Jul 2016
1 answer
108 views

Hi,

I am using RadRichTextBox to load .docx file. In my file, there are some headings and I would like to show collapse and expand icon as in MS Word https://support.content.office.net/en-us/media/a30ff5ac-4df5-4a37-9f03-4abaa5c16ac7.png. 

I have tried to open with Demo control but cannot see them.

Do RadRichTextBox support these functions? 

 

Thanks

 

Tanya
Telerik team
 answered on 01 Jul 2016
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?