Telerik Forums
UI for WPF Forum
0 answers
40 views

Hi,

I cannot get the RichTextBox to behave properly with deleting spans cleanly when using a mouse to select a range (parts get left behind, or other words get deleted with it etc) ...and I;m out of time.

Is there a way to completely turn off and disallow range selection ability ?...so no mouse drag/select allowed.

Thanks,

Barry

Barry
Top achievements
Rank 1
 asked on 18 May 2017
5 answers
135 views

 Hi,

I read in this, http://www.telerik.com/forums/details-of-features-supporterd, thread that you fully support binding to DataViewManager. However, I can't get it to work. Can you please elaborate on how it's possible to bind the grid to DataViewManager to be able to display the hierarchy of the tables in the underlying dataset.

The background/purpose of my question is this: I have a DataSet returned from our service that contains multiple tables with a parent-child relation, specified with a DataRelation in the DataSet. These tables are fully dynamic which makes it hard to create a proper ViewModel of it. Hence, I want to display the data with its relation directly in the grid.

This works well when binding the grid directly to the DataSet. The hierarchy is correctly displayed in the grid. However, my next demand is that it should support update notification of the underlying data so that the grid automatically refreshes when a value in a DataTable changes. That's why I figured I should bind to the DataViewManager of the DataSet instead, but that doesn't work. Binding to the parent table's DataView works, but then the hierarchy is lost (and I get a DataRelation column too).

/Staffan

Yoan
Telerik team
 answered on 18 May 2017
1 answer
133 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
342 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
100 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.1K+ 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
154 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.8K+ 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
468 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
150 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
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
Styling
TimeBar
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
Bronze
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
Bronze
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?