or
<telerik:RadRibbonBar> <telerik:RadRibbonTab Header="Tab 2" x:Name="Tab2"> <telerik:RadRibbonGroup Header="Select an item"> <StackPanel Orientation="Vertical" Margin="0,5,0,0"> <telerik:RadRibbonComboBox Name="myComboBox" Margin="0,5,0,0" > <telerik:RadRibbonComboBoxItem Content="New Item..." Selected="NewItem_Selected"></telerik:RadRibbonComboBoxItem> </telerik:RadRibbonComboBox> </StackPanel> </telerik:RadRibbonGroup> </telerik:RadRibbonTab></telerik:RadRibbonBar><UserControl.Resources> <DataTemplate x:Key="EmptyTemplate1"> <TextBlock FontStyle="Italic" Text="Select a value from the list" /> </DataTemplate> <DataTemplate x:Key="EmptyTemplate2"> <TextBlock FontStyle="Italic" Text="There are no selections at this time" /> </DataTemplate> <DataTemplate x:Key="EmptyTemplate3"> <TextBlock FontStyle="Italic" Text="Please complete the first tab before selecting" /> </DataTemplate></UserControl.Resources>myComboBox.EmptySelectionBoxTemplate = (DataTemplate)FindResource("EmptyTemplate1");myComboBox.InvalidateProperty(RadComboBox.EmptySelectionBoxTemplateProperty);myComboBox.InvalidateVisual();Hi Team Telerik,
RadRichtextBox property IsSpellCheckingEnabled is set to True ,but it is not working properly .All lowercase letters are getting marked as having spellerror and for uppercase letters spellerror is not getting marked.
Code:-
RichTextBox1.IsSpellCheckingEnabled =True
RichTextBox1.Language = Markup.XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.Name)
Public Class SendButton Inherits System.Windows.Controls.Button<ResourceDictionary xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> <Style TargetType="{x:Type Button}"> <Setter Property="telerik:StyleManager.Theme" Value="{x:Static telerik:StyleManager.ApplicationTheme}" /> </Style>theObjectScopeProvider1.myScope = GetNewObjectScope();
// The Error : Could not load file or assembly 'System.Data.SQLite' 'System.Data.SQLite' to class library as usual and it was working when i convert the project from class library to Console application and invoke the scope.AdjustForDynamicLoad function but nothing changed:static public void AdjustForDynamicLoad() { Assembly SQLiteAssembly = Assembly.LoadFile(@"C:\Lib\System.Data.SQLite.DLL"); if( theObjectScopeProvider1 == null ) theObjectScopeProvider1 = new ObjectScopeProvider1(); if( theObjectScopeProvider1.myDatabase == null ) { string assumedInitialConfiguration = "<openaccess>" + "<references>" + "<reference assemblyname='PLACEHOLDER' configrequired='True'/>" + "<reference assemblyname='PLACEHOLDEZ' configrequired='False'/>" + "</references>" + "</openaccess>"; System.Reflection.Assembly dll = theObjectScopeProvider1.GetType().Assembly; assumedInitialConfiguration = assumedInitialConfiguration.Replace("PLACEHOLDER", dll.GetName().Name); //assumedInitialConfiguration = assumedInitialConfiguration.Replace("PLACEHOLDEZ", SQLiteAssembly.GetName().Name); System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument(); xmlDoc.LoadXml(assumedInitialConfiguration); Database db = Telerik.OpenAccess.Database.Get("SQLiteDatabaseConnection", xmlDoc.DocumentElement, new System.Reflection.Assembly[] { dll, SQLiteAssembly. } ); theObjectScopeProvider1.myDatabase = db; } }<telerik:RadClock HorizontalAlignment="Left" Margin="1,7,0,0" Name="radTimeFrom" Culture="sl-SI" VerticalAlignment="Top" Width="166" Height="145"> <telerik:RadClock.Header> <TextBlock Text="From" Foreground="White"/> </telerik:RadClock.Header> </telerik:RadClock>