Telerik Forums
UI for WinForms Forum
1 answer
310 views

 

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

Nadya | Tech Support Engineer
Telerik team
 answered on 08 Dec 2020
1 answer
134 views
If I have quick access items listed on the Windows File Explorer, is there any way to get them to show up on RadOpenFolderDialog?
Nadya | Tech Support Engineer
Telerik team
 answered on 08 Dec 2020
4 answers
118 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Dec 2020
9 answers
655 views

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!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Dec 2020
1 answer
799 views

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()

Vesko
Telerik team
 answered on 08 Dec 2020
17 answers
667 views
Can the sort arrow gliphs be turned on and off in column headers without using the sort feature.  I am unable to use the internal sorting mechanism in radGrid.  I load the grid manually and would like to use the internal sort arrow glyphs to indicate the current sort order.

I am using VB.net and VS 2008.

Thank you.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Dec 2020
1 answer
234 views

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();
               

            }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Dec 2020
2 answers
155 views

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.

 

George C.
Top achievements
Rank 2
Iron
Veteran
 answered on 07 Dec 2020
2 answers
597 views

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 

Entropy69
Top achievements
Rank 1
Veteran
 answered on 07 Dec 2020
3 answers
108 views

Hi All,

 

Which dataset type gives the best performance for control or field utilizing dictionaries or datasets do display data based on Key and Value?

I can suggest a Dictionary, KeyValuePair array, List of KeyValuePair, IEnumerable of KeyValuePair. Am I miss something?

 

Thanks!

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Dec 2020
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?