Telerik Forums
UI for WinForms Forum
5 answers
214 views
Is there a way to format/specify position of some texts on group rows (collapsed groups) using HTML rendering? In the HTML-like text formatting, does it support style with position settings?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Oct 2020
1 answer
124 views

Hello.

I design a function form as record finder in my Application. I want to use it instead of dropdownlist in a MultiColumnComboBox Column in a radgridview. Is it possible to do that?

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Oct 2020
5 answers
1.2K+ views
I am servicing an application I did not write. It was written using Telerik UI for Winforms.  I was asked to add a new checkbox. Easy enough, or so I thought. I went to the toolbox and dragged the radcheckbox from telerik UI over to my form and got an error message.I have attached the entire error. The error is telling me that 'Telerik.WinControls.UI' already exists in the project.

My dev environment is straight forward enough. The application seems to have been written in .NET Framework 4 and I am using Visual Studios 2013. Anybody encounter this problem? What could be the fix?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Oct 2020
3 answers
311 views

I looked at the document here: https://docs.telerik.com/devtools/winforms/controls/scheduler/importing-and-exporting-appointments/export-to-a-custom-file

 

However that's not really the question I have.  How are appointments saved without data binding, to a file? The above example is how to save custom data to a file, but I'm trying to figure out how to save appointments that aren't custom.  I'd like to be able to write them out as JSON or something like that, and allow them to be imported that way as well.

I was able to get the list of events, but when I attempted to serialize them using Newtonsofts JSON, it throws an error. 

The error I get is: 

Newtonsoft.Json.JsonSerializationException: 'Self referencing loop detected for property 'Scheduler' with type 'Telerik.WinControls.UI.RadScheduler'. Path 'CultureInfoProvider.SchedulerInputBehavior'.'

Here is the code I was using to iterate over the appointments and attempt to serialize each appointment:

 

        Dim events As ISchedulerStorage(Of IEvent) = data.GetEventStorage()
        For Each ev As IEvent In events
            Dim jsonEvent As String = JsonConvert.SerializeObject(ev, Formatting.Indented)
        Next

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Oct 2020
3 answers
130 views

Is there an event that fires when the current time hits the appointment time?

Or should I be using the reminders and setting a time of 0?

If that is the case, is it possible to not render the reminder window at all?  

In short, I want to use the scheduler to schedule appointments (events), and have an event fire when they are hit, but not show the reminder window at all. I want to do my own custom logic at that point.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Oct 2020
2 answers
201 views

     Hey, I have a RadMenu, and what I'm trying to do is to put a RadButtonElement inside a RadMenuItem, but I can't find where and how to do it right, since it aways go to wrong position. This was my last try:

var item = new RadButtonElement
            {
                Text = "?",
                CaptureOnMouseDown = true,
                ShouldHandleMouseInput = true,
                StretchHorizontally = false,
                StretchVertically = true,
                NotifyParentOnMouseInput = false,
                Margin = new Padding(5),
                Alignment  = ContentAlignment.MiddleRight,
            };
            item.Font = new Font(item.Font, FontStyle.Bold);
            item.Click += Item_Click;
            btnCotacao.Layout.Children.Add(item);

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Oct 2020
2 answers
97 views

Hello!

I am experiencing some problems using custom RadDiagramShapes. What i am trying to achieve is a custom shape, that provides multiple TextAreas that show different information. Therefore, i implemented an ElementShape and a RadDiagram shape. The ElementShape uses the AddString Method of the graphicspath to add my TextAreas, and the RadDiagramShape uses this ElementShape and sets the InternalElementColor.

 

The problem with this is, that i can not click to select or drag my custom RadDiagramShape anywhere because the TextAreas cover the majority of the Shape, and when selecting any transparent spaces (generated from the AddString method) the underlying element will be selected. 

 

Can you give me an idea of how to add such TextAreas to my control without generating lots of transparent / unclickable spaces?

 

Thank you

Fabian
Top achievements
Rank 1
 answered on 12 Oct 2020
10 answers
260 views
Hi all,

I’m trying to simulate the MaxLength property (which is no longer available) on a RadMaskEditBox and I use:
radMaskedEditBox1.MaskType = MaskType.Standard; 
radMaskedEditBox1.Mask = “aaaaa”;

I set programmatically a first value in my RadMaskedEditBox1, “ABCDE”. The displayed value on my control is, as expected, “ABCDE”. 

Then I try to set another value, "XX”, and I notice that de displayed value of the control is “XXCDE”.

Any idea? How can I use masks to limit the chars n° in the RadMaskEditBox?
Thank you


L.E.: RadControls version 2013.3.1127.40
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Oct 2020
7 answers
643 views
How can I create (by code) a validation rule to test if the length of the text of a control is less then a maximun value or is between a minimun and a maximun value ?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Oct 2020
1 answer
122 views

Good morning,

Is there a limit to the number of tabs  in the exported file?

I have a multipart report that has 12 grids I need to export to the same excel doc.

On the 5th grid export it is just sitting there , no errors just hangs.

Most grids have 20 - 30 records but 2 can have a couple of 100Ks records.

Is this the issue?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Oct 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)
Form
Chart (obsolete as of Q1 2013)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
CollapsiblePanel
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?