Telerik Forums
UI for WinForms Forum
4 answers
250 views

Hello, I want to find answer about scrollbar.

When item's height in RadTreeView is altered,

scrollbar's Maximum value is untrue.

So, scrolling for find last node is impossible.

Thank you.

Nadya | Tech Support Engineer
Telerik team
 answered on 04 Jun 2020
3 answers
1.6K+ views

hi
i need change culter to persian raddatetimepicker
how i do?are you update for this component?

most iranian developer use telerik . update for they

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Jun 2020
7 answers
3.7K+ views

Hello

How can i set a shadow on my windows form? When i create a telerik form, default shadow disappear.

Thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Jun 2020
3 answers
249 views

hello,

I'm trying to bind scheduler to MS SQL database using EntityFramework 6 and Code First approach. I did it partly but I have a big problem with saving exceptions of recurring appointment.

First of all, I can't find any sample of such (it would seem) common scenario where recurring appointment's exceptional occurrences are stored in database using EntityFramework 6. I would be very grateful if someone could show me such an example because Telerik documentation sample doesn't work.

I have very simple code where I configure RadScheduler, SchedulerBindingDataSource and mapping between entities and scheduler fields. I'm pretty sure my Code First entity model and database tables and relations are correct. Despite this, I'm not able to store in database exceptions of recurring appointments. Recurring appointments with removed occurrences are properly stored and removed dates are saved in recurrence rule of appointment. But occurrences with exceptional time or duration are not saved at all.

Please, help me.

This is my appointment entity with self reference for exceptions:

01.[Table("App")]
02.public class App
03.{
04.    public App()
05.    {
06.        this.Resources = new HashSet<Res>();
07.        this.Exceptions = new HashSet<App>();
08.    }
09. 
10.    [Key]
11.    [DatabaseGenerated(DatabaseGeneratedOption.None)]
12.    public Guid Id { get; set; }
13. 
14.    [Required(AllowEmptyStrings = false)]
15.    [StringLength(255)]
16.    public string Summary { get; set; }
17. 
18.    public DateTime Start { get; set; }
19.     
20.    public DateTime End { get; set; }
21.     
22.    public string RecurrenceRule { get; set; }
23.     
24.    public bool Visible { get; set; }
25.     
26.    [ForeignKey("MasterEvent")]
27.    public Guid? MasterEventID { get; set; }
28. 
29. 
30.    public virtual App MasterEvent { get; set; }
31. 
32.    public virtual ICollection<App> Exceptions { get; set; }
33. 
34.    public virtual ICollection<Res> Resources { get; set; }
35.}

 

and my configuration of relations:

01.protected override void OnModelCreating(DbModelBuilder modelBuilder)
02.{
03.    base.OnModelCreating(modelBuilder);
04. 
05.    modelBuilder.Entity<App>()
06.        .HasMany(t => t.Resources)
07.        .WithMany(t => t.Apps)
08.        .Map(m => {
09.            m.ToTable("AppRes");
10.            m.MapLeftKey("AppId");
11.            m.MapRightKey("ResId");
12.        });
13. 
14.    modelBuilder.Entity<App>()
15.        .HasOptional(t => t.MasterEvent)
16.        .WithMany(t => t.Exceptions)
17.        .HasForeignKey(t => t.MasterEventID)
18.        .WillCascadeOnDelete(true);
19.}

 

and mapping:

01.var appointmentMappingInfo = new AppointmentMappingInfo()
02.{
03.    UniqueId = "Id",
04.    Start = "Start",
05.    End = "End",
06.    Summary = "Summary",
07.    RecurrenceRule = "RecurrenceRule",
08.    Exceptions = "Exceptions",
09.    MasterEventId = "MasterEventID",
10.    Resources = "Resources",
11.    ResourceId = "Id",
12.    Visible = "Visible"
13.};
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Jun 2020
3 answers
110 views

Program uses spell check and autocomplete on a radtextbox control.

In order to use ILMerge, I have:

Telerik.WinControls.RadTypeResolver.Instance.ResolveTypesInCurrentAssembly = True

Near top of main form.

 

 

References in Solution Explorer show: 

Telerik.WinControls

Telerik.WinControls.SpellChecker

Telerik.WinControls.UI

Telerik.WinControls.Design

 

However, when I build the program, I find just about every major Telerik assembly dll, From PdfView, to RadWebCam.
I've searched the entire solution, and can't figure out where all those references are coming from.

 

Where did I go wrong?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Jun 2020
4 answers
245 views

Hi

Is there a way to remove the startButtonImage, respectively the tabs start at the left?

If I set: 

this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

The button is gone but the space is still here.

I also tried: 

this.radRibbonBar1.StartButtonImage = null;

this.radRibbonBar1.StartMenuWidth = 0;

but the space is always here.

 

Thank you in Advance

 

Kind Regards,

Dominik

 

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Jun 2020
2 answers
197 views

Hi,

I'm programming with VB.NET, I need help with the ChartView Y-axis value formatting.

Can you let me know how to format the Y-axis with thousand separator instead of the exponential format and how to widen the Y axis if this is the issue.

I attached a screenshot...

Thanks and best regards,

Dominic

Dominic
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 02 Jun 2020
2 answers
425 views

How for I offset ChartView Line Chart Label position more to the left of the datapoint ?

Meaning how do I move the label further left of the datapoint ?

 

Dominic
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 01 Jun 2020
2 answers
212 views

Hello,

The ScrollBar getting started guide shows a example using panels.

 

Please, may I know if is possible to use RadGridView with a RadVScrollbar?

An application can have multiples RadGridView and the default scroll bars doesn't match with the theme selected.

An example will be useful.

Thanks

Hu
Top achievements
Rank 1
Veteran
 answered on 30 May 2020
1 answer
147 views
There are times when I want certain property descriptions to change as other properties change. How to modify the value of an property description at runtime. Is this feasible? How is this achieved? Thank you!
Nadya | Tech Support Engineer
Telerik team
 answered on 29 May 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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?