Telerik Forums
UI for WPF Forum
1 answer
158 views

I recently updated my Telerik UI for WPF version to 2017.1.117.45 and since then it seems that the property AllowFinish of the RadWizard is ignored (and possibly the others Allow* properties). When I set the value of AllowFinish to False (directly or with a binding) the Finish button is always enabled.

Could you confirm if this is a bug like in this topic or if I might be doing something wrong? (but I think that it was working well before the update)

 

Thanks in advance.

Yoan
Telerik team
 answered on 18 May 2017
16 answers
385 views
We use VirtualQueryableCollectionView because our data sets are very large. For the same reason, we need to restrict the number of items the user can select. We do this by hooking into the SelectionChanging event and if the number selected exceeds our limit we put up a message telling them they need to select fewer rows. We then cancel the select.

Presumably the way the user selected so many rows was to select a row and then scroll quickly to a page much further down and shift-click another row. The problem is that when we show the message to say they exceeded the limit, the RadGridView is making the calls to load all the rows that would be part of that selection. This defeats the point of having the limit. Those rows should only be loaded on a SelectionChanged, not a SelectionChanging, since the latter can be cancelled. Our entire application locks up and eventually gets an out-of-memory from trying to load all the rows that shouldn't be loading.

Is there a way to stop the grid from loading those rows before the SelectionChanged event has occurred. 

Thank you.
Martin Ivanov
Telerik team
 answered on 18 May 2017
1 answer
119 views
Keeps failing at the registration point telling me my password is bad. I have activated it, and changed the password 3 times with no luck. Anyone their can resolve the issue for me?
Vesko
Telerik team
 answered on 18 May 2017
8 answers
1.2K+ views

All fonts which are the sub font style of a font family in c:\windows\fonts are not able to set to bold or italic( bold/Italic are not shown in richtextbox but when exported to word, they are showing correctly). Is there any solution on it?

Some examples: Arial Black, Arial Narrow, Bodoni MT Black, Bodoni MT Condensed,Calibri Light, Franklin Gothic Medium, ... 

Tanya
Telerik team
 answered on 18 May 2017
4 answers
180 views

Hi,

I try to load runtime Theme but after load of my application and the window which used to show is invisible i can't find why can you help me.

Dinko | Tech Support Engineer
Telerik team
 answered on 17 May 2017
11 answers
1.9K+ views
Hello,
There is a way to Binding SelectedItems of a telerik:RadComboBox with AllowMultipleSelection="True" that works in a runtime?
Our purpose is to create a multiple combobox with checkboxes (bindable from a property)

At the movement I have this code, but it doesn’t works correctly because SelectedItems don’t exist


        public class Agency(){
            public string Text { get; set; }
            public bool IsChecked { get; set; }
        }

        private ObservableCollection<Agency> Agencies;
        public ObservableCollection<Agency> Agencies
        {
            get
            {
                return this.selectedAgencies;
            }
            set
            {
                if (this.selectedAgencies != value)
                {
                    this.selectedAgencies = value;
                    this.OnPropertyChanged(() =>this.SelectedAgencies);
                }
            }
        }


        private ObservableCollection<Agency> selectedAgencies;
        public ObservableCollection<Agency> SelectedAgencies
        {
            get
            {
                return this.selectedAgencies;
            }
            set
            {
                if (this.selectedAgencies != value)
                {
                    this.selectedAgencies = value;
                    this.OnPropertyChanged(() =>this.SelectedAgencies);
                }
            }
        }

        <telerik:RadComboBox x:Name="radComboBox"
                             ItemsSource="{Binding Agency}"
                             AllowMultipleSelection="True"
                             SelectedItems="{BindingSelectedAgencies}">
            <telerik:RadComboBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <CheckBox VerticalAlignment="Center"IsChecked="{Binding IsChecked}"></CheckBox>
                        <TextBlock Margin="5" Text="{Binding Text}"/>
                    </StackPanel>
                </DataTemplate>
            </telerik:RadComboBox.ItemTemplate>
        </telerik:RadComboBox>
Stefan
Telerik team
 answered on 17 May 2017
2 answers
504 views

This may be a long-shot as I don't see it documented anywhere, but can I omit the style tag but still trigger the CssClassExporting event. What I need is to pull the extracted styles into a separate css file. I can parse the files manually if need be, but if there is some combination of configuration options I'm missing here please correct me.  Here is what i have at the moment.

 

HtmlFormatProvider provider = new HtmlFormatProvider();            

provider.ExportSettings.DocumentExportLevel = DocumentExportLevel.Fragment;          

provider.ExportSettings.StylesExportMode = StylesExportMode.Classes;                      

provider.ExportSettings.SpanExportMode = SpanExportMode.DefaultBehavior;                         

provider.ExportSettings.ExportStyleMetadata = true;          

// Dont export the document styles

provider.ExportSettings.StyleRepositoryExportMode = StyleRepositoryExportMode.DontExportStyles;             

// Export font style as style rather than tag          

provider.ExportSettings.ExportFontStylesAsTags = false;             

// Only create styles which need be             

provider.ExportSettings.ExportLocalOrStyleValueSource = true;             

provider.ExportSettings.CssClassExporting += ExportSettings_CssClassExporting;             

var data = provider.Export(RadDocument);             

Doug
Top achievements
Rank 1
 answered on 17 May 2017
5 answers
211 views

Although I am not using this control in a DataForm, it is definitely derived from DataFormDataField. As you can see I am getting an exception in the Xaml designer.  It compiles fine and displays fine at runtime; however it prevents the Xaml UserControl from displaying in the designer.  I get many, many of these errors.  Can anyone give me a hand with this?

Thanks ahead of time,

Steve

 

Dilyan Traykov
Telerik team
 answered on 17 May 2017
6 answers
421 views
I have RadGridView with SearchPanel set to Visible and IsSearchingDeferred to True. Everything works fine, but I also have Filtered event on GridView and it calculate values for Items on selected page for one column. Event doesn't work for SearchPanel filter and SearchPanel doesn't have own event for this. Is there any way to make it works?
Stefan
Telerik team
 answered on 17 May 2017
5 answers
293 views

Hi,

I am trying to create a GridView with both Cell and CellEdit templates for one of the columns. The problem that I am experiencing is two fold:

1. If I bind the column AND the CellTemplate to the same property, I noticed that the IDadaErrorInfo indexer gets called twice per "Name" cell. This is a problem as the validation logic is not particularly straight forward and starts to create a performance issue once there are few dozen rows:

<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}">
    <telerik:GridViewDataColumn.CellTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Name, ValidatesOnDataErrors=True, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.CellTemplate>
    <telerik:GridViewDataColumn.CellEditTemplate>
        <DataTemplate>
            <TextBox Text="{Binding Name, ValidatesOnDataErrors=True, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>

2. Removing the DataMemberBinding from the column and keeping it in the CellTemplate works fine when it comes to displaying the data, but does not seem to work with the IDataErrorInfo. I can see the indexer get called, however I do not see the validation error reflect in the UI. Which effectively means that the validation can only be shown in CellEditTemplates:

<telerik:GridViewDataColumn>
    <telerik:GridViewDataColumn.CellTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Name, ValidatesOnDataErrors=True, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.CellTemplate>
    <telerik:GridViewDataColumn.CellEditTemplate>
        <DataTemplate>
            <TextBox Text="{Binding Name, ValidatesOnDataErrors=True, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>

 

What is the correct way of setting up Cell and CellEdit template binding to display IDataErrorInfo errors in both edit and non-edit mode at all times, while not having the IDataErrorInfo indexer getting hit twice as much as it should?

 

Thanks in advance,

Ross

Rostislav
Top achievements
Rank 1
 answered on 16 May 2017
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?