Telerik Forums
UI for WinForms Forum
5 answers
268 views

I use a LineSeries show points in a ChartView with data binding.

I want to change specific point style by specific condition from bound data.

How to do that?

Example: if data value bigger than 10 and change the point size to bigger.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2021
5 answers
104 views

As title.

I need to change specific point style on LineSeries.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2021
1 answer
241 views
Hello, i have developed a c# windows form application and i have a problem deploing the solution in other computers.
PS: I must run,deploy the solution in other computer that doesn't have SQL SERVER or VS installed. (It worked with other solution)

What I have tried:

I worked with Telerik and I just for each Telerik assembly reference in the Solution Explorer, on properties and in the property grid set the Copy Local property of the reference to True.
When i try to install the .exe from other copmuter i get this error :

Cannot install or run app. this app requires Telerik.WinControls assembly version 2020.2.616.20, which must first be installed in the global assambly cache
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2021
3 answers
443 views

Hi,

I've been struggling to work out how to export the current pdf page as shown in the pdfViewer after it has been rotated using controls in the pdfViewerNavigator. I'm trying to save the image in png format but it seems to export the page in the original orientation ignoring the applied rotation.  

 

Also whilst searching the forum for a solution, I came across the code

this.radPdfViewer1.PdfViewerElement.CurrentPage.PageNo

 

but  it appears that PageNo no longer exists in 2020.3.1020.

Currently i'm using

pdfViewer.ExportPage ( 0, _tempImageFileName, 1.0, true, ImageFormat.Png );

 

which exports the first page as a png, which works, I just need to save the currently selected page that may or may not have been rotated.

Is this possible, if so how ?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2021
3 answers
175 views

How to add placeholder in empty node? So that when added to a node, the placeholder disappears, and if the number of objects becomes zero again, it appears again.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2021
1 answer
224 views

I am following the following documentation for the RadTreeView on populating a Treeview through an XML Datasource.

However, The documentation doesn't really get in depth about how the XML schema and naming conventions correlates to the RadTreeview control itself or how the corresponding XML elements are being linked up.

The ID and parentID elements are obvious enough and those do appear to be referenced in the initialization of the RadTreeview control through the following code.

 

this.radTreeView1.ChildMember = "id";
this.radTreeView1.ParentMember = "parentId";

 

However, the XML "Title" element maps to the RadTreeView.DataMember property, which is not as obvious.

A RadTreeNode seems to have 4 different properties available to populate (Name, Tag, Text, Value). Again based on documentation I am not sure what the difference is in each of these values.

When populating the RadTreeView through XML Datasource, and then iterating through each of the nodes, it seems as though (Name, Text, and Value) are all populated with the XML value from the "Title" element, and that the RadTreeNode (Tag) value is left blank.

Can someone elaborate on the difference between (Name, Tag, Text, and Value) and what specific purpose each is intended to serve?

Can someone also elaborate on how the XML elements are being mapped?

Additionally can the XML schema be modified to populate these values? I am particularly interested in populating the (Tag) property, but would like to understand what else is possible with XML.

Right now I can iterate through the RadTreeView nodes after its loaded and manually set the Tag value, but this kind of defeats the purpose of using something like XML in the first place.

Any help much appreciated!

Dimitar
Telerik team
 answered on 22 Jan 2021
1 answer
183 views
Is there a way that you can order by the selected items in the CheckedList box?  So that when the dropdown list opens all the checked items are at the top.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2021
6 answers
253 views

I am not able to set the weekday format in Scheduler for month view. I am using the control in a very small area, and I need to set the weekday names to be abbreviated (Mon, Tue, Wed, etc.).

I have set the HeaderFormat property on both the GetMonthView() and the scheduler control, and it does not seem to change. I still see the weekday names fully spelled out, and Wednesday will not fit into the allocated area.

Fahmi
Top achievements
Rank 1
Veteran
 answered on 21 Jan 2021
9 answers
268 views

About the PropertyGrid in one of the SPINNER type inputs, we need this behavior, please help us:


1. We need to not be allowed to enter a number with the keyboard. Only allow increase / decrease using the Spinner arrows.  It's possible ?.

2. By increasing or decreasing with the arrows, certain code is executed immediately. Since we tried it through the PropertyValueChanged () event, but it is executed when the Spinner loses focus.

        private void rpgHcPropiedades_PropertyValueChanged(object sender, PropertyGridItemValueChangedEventArgs e)
        {
            if (e.Item.Name == "NumOperarios")
            {
                PropertyGridItem item = e.Item as PropertyGridItem;
                byte operario = (byte)item.Value;
                byte operarioAnt = (byte)item.OriginalValue;

               TO-DO!!!
            }
        }

 

3. Make a validation before the new value in the Spinner is accepted. If the validation does not pass, the Spinner does not increase.

4. Assign it a rank.

Please...
Can you provide us with some example code to achieve this?

 

Thank you very much!

POCO:

        [Category("Operaciones de cálculo")]
        [DisplayName("Operarios")]
        public byte NumOperarios { get => numOperarios; set => numOperarios = value; }

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Jan 2021
6 answers
95 views
How can I prevent dragging to a specific node? (by type of folders and files). Folders are nodes where you can put another node, and files are nodes where you can't put another node.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jan 2021
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?