Telerik Forums
UI for WinForms Forum
0 answers
230 views

Only users that have Telerik installation version 2021.1.122 are affected.

Symptoms:

Clients that have Telerik installation version 2021.1.122 can not build successfully .NET Core/.NET 5.0 projects. The following error occurs while compiling the project:

The problem is a missing NuGet fallback folder.

Solution:

You should create the missing ToolboxNuGetPackages folder in the installation folder of the controls, usually at C:\Program Files (x86)\Progress\ToolboxNuGetPackages.

Nadya
Top achievements
Rank 1
 asked on 28 Jan 2021
3 answers
15 views

Hello, I want to use SyntaxEditor for coloring and folding of my very simple custom language for defining sequence of steps. I have already made some tests and have no problem with coloring. But I have two questions to SyntaxEditor folding. My language is very simple, it's just sequence of steps, but now I have to implement if/else/endif handling.

1. If I add folding pair if/endif, it works ok, but what if I want to fold if and else branches separately? Is it possible to do folding somehow like on this screenshot? I tried similar code it in Visual Basic, VB folds whole section from if to endif, but I would like to do it like on the screenshot, if it's possible.

2. How can I customize the folding "title" (I don't know the exact terminology). I added a #region / #endregion to previous sample, and it's folding like on this screenshot:

I would like it like in Visual Studio, in case of if statement, you can see the condition, but region hides also the region directive, like on the next screenshot.

I know, C# is folding command block with braces, so it's different situation, but is it possible to do it like this also with my custom language?

I attached also my project, if it's needed for something.

Thanks.

Marian
Top achievements
Rank 1
Iron
 updated answer on 06 Jul 2022
0 answers
2 views

Hello,

We have a project that uses Telerik Controls and that was developed by a user with a valid license.

We would like a second user to be able to modify the project. This second user will not touch any of the Telerik Controls (this will be done by the user with a valid license). According to this post, a user without a valid license should be able to compile the project. However, when compiling on said user (or when restoring Telerik Nuget packages), we get a pop up box (see joined) asking for credentials. The second user does not have any Telerik credentials.

How can this user compile the project?

Thanks,

Guillaume

 

Guillaume
Top achievements
Rank 1
 asked on 06 Jul 2022
0 answers
1 view

I have just recently upgraded to the latest version of WinForms (2022.2.622.40), along with upgrading from .net 4.6 to 4.7.2 to take advantage of High DPI updates.

When I start my application, is simply goes away without reporting any error.

When I look at the Windows Event Viewer Application Logs I see the following error:

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException
   at Telerik.WinControls.RadSvgImage.FromByteArray(Byte[])
   at Telerik.WinControls.UI.RadPictureBoxElement.InitializeFields()
   at Telerik.WinControls.RadElement..ctor()
   at Telerik.WinControls.RadItem..ctor()
   at Telerik.WinControls.UI.LightVisualElement..ctor()
   at Telerik.WinControls.UI.RadPictureBox.CreateImageEditorElement()
   at Telerik.WinControls.UI.RadPictureBox.CreateChildItems(Telerik.WinControls.RadElement)
   at Telerik.WinControls.RadControl.Construct()
   at Telerik.WinControls.RadControl..ctor()
   at AGD.Cobalt.ScenarioTool.SplashForm.InitializeComponent()
   at AGD.Cobalt.ScenarioTool.SplashForm..ctor()
   at AGD.Cobalt.ScenarioTool.SplashForm.ShowForm()

I'm running on Windows 11, and have merged all dll's together using ILmerge (if t

I should add that my form has a single RadPictureBox with a small image loaded from the project resource but has defaults for SvgImage. DefaultImage and DefaultSvgImage 

Any ideas? is there a workaround ?

Thanks in advance

Toby

Toby
Top achievements
Rank 1
 updated question on 06 Jul 2022
7 answers
16 views

Hello, sorry, maybe I am too new to Telerik, but I was wondering how to do basic tasks with SyntaxEditor. I wanted to replace classic TextBox with SyntaxEditor and I thought it would be straightforward, but I got stuck on very basic tasks. Can you please help me, or navigate me?

1. How to get text from SyntaxEditor? I know how to set text by setting new document, but how to get text? I read whole SyntaxEditor part of documentation, but haven't found this, how is it possible? I was trying to find this out for about hour, but without success. I am wondering if am too new to Telerik or how it's possible I couldn't find this, I think this basic thing must be like "look and see".

2. Classic WinForms TextBox has Modified property indicating the text was changed. Is it also somewhere here? Also, TextBox has Lines property, is it somewhere here?

3. I tried the Cut/Copy/Paste commands, they are working, but I was wondering why CanExecute methods return always true. For example, I expect if there is no selection, CanExecute for Cut and Copy has to return false. Also, if there is no text in clipboard, Paste command has to return false, etc.

Marian
Top achievements
Rank 1
Iron
 answered on 06 Jul 2022
1 answer
5 views

Hello, how can I block the arrow keys from the Scheduler so that the user cannot change the month view's calendar?

I have blocked out and set all the days that is not within X month to be hidden, so I do not want the user to be able to use the arrow keys and accidentally change the view.

 

Also, related to the scheduler, how can I loop through and go through the entire month day-by-day to grab all the appointments?

Something like, for each day in MONTH....

 

Thank you

Dinko
Telerik team
 answered on 06 Jul 2022
0 answers
2 views

hello

 

I have multiple cameras attached to the system and at the time , I wanted to display result of 3 cameras in small screen and 1 from these cameras in a big picture box. But When I select one of the came and take snapshots and display the result in picture box, the video start displaying in a picture box but the selected camera starts blinking. In case, if you didn't understand my problem I have attached a video and a code.


Please guide me how I can display the selected camera video feed in a picture box and it should not blink.

Haithem
Top achievements
Rank 1
 asked on 06 Jul 2022
1 answer
7 views

Hello,
I am getting to know the RADPropertyGrid control, it seems flexible.
I have an XML file where "Key" would be the property name and "Value" would be the value in RADPropertyGrid. Where required, I also have a value list between the "ValueList" element. My question is, how can I pass the XML so that the value list for that element is displayed as a string in a combobox in the RADPropertyGrid associated with the property?

Can you show me a sample project on how to do this?

Sample XML:

<PictureBox>
    <Property>
        <Key>EnableClickZoom</Key>
        <Value>False</Value>
    </Property>
    <Property>
        <Key>EnableZoom</Key>
        <Value>False</Value>
    </Property>
    <Property>
        <Key>EnableAutoPan</Key>
        <Value>False</Value>
    </Property>
    <Property>
        <Key>SizeMode</Key>
        <Value>Fit</Value>
        <ValueList>
            <Value>Normal</Value>
            <Value>Stretch</Value>
            <Value>Fit</Value>
        </ValueList>
    </Property>
    <Property>
        <Key>Zoom</Key>
        <Value>30</Value>
    </Property>
    <Property>
        <Key>InterpolationMode</Key>
        <Value>Default</Value>
        <ValueList>
            <Value>Default</Value>
            <Value>Low</Value>
            <Value>High</Value>
            <Value>Bilinear</Value>
            <Value>Bicubic</Value>
            <Value>NearestNeighbor</Value>
            <Value>HighQualityBilinear</Value>
            <Value>HighQualityBicubic</Value>
        </ValueList>
    </Property>
</PictureBox>
Dinko
Telerik team
 answered on 05 Jul 2022
1 answer
4 views

Would it be possible in the next release to expose the panel border visibility at design time in the properties window, rather than having to navigate through "Edit UI Elements" (or via code). I have a lot of panerls where I don't want to see the border at run time but do need to see it sometimes at design time.

 

Thanks

Dinko
Telerik team
 answered on 05 Jul 2022
1 answer
6 views

Hi,

when calling the Initialize method WebCam fires an exception.

This is also in your demo application.

Version 2022.2.511.40, WinUI

Regards

Hardy

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