Hello,
I have a custom Editor derived from BaseInputEditor based on a RadButtonTextBoxElement.
In the "EndEdit()" function I change another property of the selected object, how can I see if the user canceled the edit by pressing ESC, so I can prevent the change of the other property?
I am using the new Arrow shape in the ImageEditor.
My users are complaining that when they draw an arrow that have to 1st select the arrow shape and then change the thickness.
They adding the arrows to many images (pictures).
Can I create a new item (draw arrow), under 'Draw Shape' on left that will open the draw shape toolbox when the arrow shape pre selected and the thickness set to the last thickness used?
-George
i have radgridview that contains 2 text columns and the third is an imagecolumn
i need to insert the data in the gridview into sql server table including the image in column3
how to do that please
Hello, I am in the process of settings up a custom Language Tagger for Lua. Following the example provided in the documentation (https://docs.telerik.com/devtools/winforms/controls/syntax-editor/features/taggers/custom-language). Everything seems to be working correctly, however I am having a slight problem with setting a String Literal. A numerical Literal example is provided by overriding the TryGetClassificationType function, however in attempting to do a similar approach for Strings does not give the correct result.
The " characters are colored correctly but the words between the " " characters remain uncolored.
Here is my TryGetClassificationType function (Note I am using Telerik Winforms in C++ but the C# code is very similar) :
01.
bool
TryGetClassificationType(String^ word, ClassificationType^ %classificationType) override {
02.
int
number;
03.
if
(
int
::TryParse(word, number)) {
04.
classificationType = ClassificationTypes::NumberLiteral;
05.
return
true
;
06.
}
07.
08.
if
(word->Contains(
"\""
)) {
09.
classificationType = ClassificationTypes::StringLiteral;
10.
return
true
;
11.
}
12.
13.
if
(word->Contains(
"\'"
)) {
14.
classificationType = ClassificationTypes::StringLiteral;
15.
return
true
;
16.
}
17.
18.
return
WordTaggerBase::TryGetClassificationType(word, classificationType);
19.
};
And my tagger registration as follows:
01.
RadSyntaxEditor^ newEditor = gcnew RadSyntaxEditor();
02.
//Register the Syntax Highlighting Taggers
03.
LuaTagger^ luaTagger = gcnew LuaTagger(newEditor->SyntaxEditorElement);
04.
newEditor->TaggersRegistry->RegisterTagger(luaTagger);
05.
//Set the Syntax Colors
06.
newEditor->TextFormatDefinitions->AddLast(ClassificationTypes::Keyword, gcnew Telerik::WinForms::Controls::SyntaxEditor::UI::TextFormatDefinition(gcnew SolidBrush(Color::FromArgb(255, 216, 160, 223))));
// Keywords
07.
newEditor->TextFormatDefinitions->AddLast(ClassificationTypes::Comment, gcnew Telerik::WinForms::Controls::SyntaxEditor::UI::TextFormatDefinition(gcnew SolidBrush(Color::FromArgb(255, 87, 166, 74))));
// Comments
08.
newEditor->TextFormatDefinitions->AddLast(ClassificationTypes::NumberLiteral, gcnew Telerik::WinForms::Controls::SyntaxEditor::UI::TextFormatDefinition(gcnew SolidBrush(Color::FromArgb(255, 181, 206, 168))));
//Numbers
09.
newEditor->TextFormatDefinitions->AddLast(ClassificationTypes::StringLiteral, gcnew Telerik::WinForms::Controls::SyntaxEditor::UI::TextFormatDefinition(gcnew SolidBrush(Color::FromArgb(255, 214, 157, 133))));
// String
10.
newEditor->TextFormatDefinitions->AddLast(ClassificationTypes::Operator, gcnew Telerik::WinForms::Controls::SyntaxEditor::UI::TextFormatDefinition(gcnew SolidBrush(Color::FromArgb(255, 180, 180 ,180))));
// Operators
11.
newEditor->TextFormatDefinitions->AddLast(LuaTagger::ObjectsClassificationType, gcnew Telerik::WinForms::Controls::SyntaxEditor::UI::TextFormatDefinition(gcnew SolidBrush(Color::FromArgb(255, 78, 201, 176))));
// Objects
This yields the following result: https://gyazo.com/6331b12a57135c478bd3dccf66037fe8
As you can see, the " symbols are being correctly colored but the text in between is not. How would I get the text inbetween the two " " to be registered as a String Literal?
Thanks!
When trying to upgrade from the trial version I get this error message.
I have gone to the folder in question and the subfolder is missing
An error occurred while running the wizard.
Error executing custom action Telerik.Web.UI.VSX.Actions.MultiProjectUpdateReferencesAction: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Users\Administrator\AppData\Local\Temp\Telerik\ShadowCopy\Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml, Version=2020.3.1019.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7\Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.dll'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName)
at Telerik.VSX.Internal.FileSystem.FileOperator.Copy(String sourceFileName, String destinationFileName)
at Telerik.VSX.Internal.Assembly.AssemblyLoader.GetShadowCopy(String assemblyPath)
at Telerik.VSX.Internal.Assembly.AssemblyLoader.ReflectionOnlyLoadFromShadowCopy(String loadInformation)
at Telerik.VSX.DistributionListing.DistributionItem.GetReferencedAssemblies()
at Telerik.VSX.DistributionListing.DistributionItem.GetFilteredPrerequisites()
at Telerik.VSX.DistributionListing.DistributionItem.get_DistributionWidePrerequisites()
at Telerik.VSX.DistributionListing.DistributionItemList.IntegrityCapableItem.ResetUnmetPrerequisites()
at Telerik.VSX.DistributionListing.DistributionItemList.Add(IDistributionItem newDistributionItem)
at Telerik.VSX.DistributionListing.FileBasedDistribution.PopulateItems(DistributionItemList items)
at Telerik.VSX.DistributionListing.Distribution.get_Items()
at Telerik.VSX.Actions.AdvancedUpdateReferencesAction.GetAssemblyReferences(IProjectWrapUIComponents projectWrap, IDistribution distribution)
at Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents projectWrap)
at Telerik.VSX.Actions.UpdateReferencesAction.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap project)
at Telerik.VSX.Actions.ProjectActionBase.Telerik.VSX.Actions.IProjectAction.Execute(IWizardContext wizardContext, IPropertyDataDictionary arguments, IProjectWrap projectWrap)
at Telerik.VSX.Actions.MultiProjectActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
at Telerik.VSX.Actions.MultiProjectUpdateReferencesActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
at Telerik.VSX.WizardEngine.Actions.ActionBase.Telerik.WizardFramework.IAction.Execute(IWizardContext wizardContext, IPropertyDataDictionary arguments)
at Telerik.VSX.WizardEngine.ActionManager.ExecActions()
I am having troubles with the ScreenTip on a gridview.
I can get the hovered text to show up in the StatusBar, but I do not get a popup over the hovered cell. Not sure what I am doing wrong?
GridDataCellElement cell = e.Item as GridDataCellElement;
e.Delay = 0;
RadOffice2007ScreenTipElement screenTip = new RadOffice2007ScreenTipElement();
if (cell.ColumnIndex == 1)
{
radLabelElement8.Text = cell.Text; // StatusBar
screenTip.CaptionVisible = false;
screenTip.Text = cell.Text.ToString();
}
Greetings,
I have 2 data tables. Both of them have 2 columns. The first column is in common which is " Name" column. The second column is "Numerical Values" (each data table has its own different values in the second column). I need to make comparison between these two data tables via RadChartView and LineSeries. So the horizontal axes should represent the common column (Names), and the vertical axes should represent 2 LineSeries Diagram, each corresponding to a data table.
I use the code below to draw diagram of one data table :
Dim
lineSeria
As
New
LineSeries()
lineSeria.DataSource = dataTable1
lineSeria.ValueMember =
"Values"
lineSeria.CategoryMember =
"Names"
ChartView.Series.Add(lineSeria)
'ChartView is a RadChartView
How can I use RadchartView's Multiple axes mode to draw the second diagram along with the first one together for making a comparison ?
P.S I've read about Multi Axes mode in documentations. But my case is different as I use a data table as LineSeries datasource.
Thanks in advance.
Even when the control loses focus, the selected row remains highlighted.
How to get the selected item to have the same style like the non selected items?
I just want to be able to check or uncheck the items, focus is not important and therefore there should not be a visible difference.
Expected something like this but it does not work:
ClassificationCheckedListBox.Focusable = False;
ClassificationCheckedListBox.AllowShowFocusCues = False;
Also trying some things from the selectedindex changed event like this does not do it:
ClassificationCheckedListBox.FocusedElement.ResetLayout(True);
Any clue appreciated