Telerik Forums
UI for WinForms Forum
7 answers
3.4K+ 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
204 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
80 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
199 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
153 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
363 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
181 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
100 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
2 answers
100 views

Does anyone have any examples of using the RadSpellChecker with the WinForm DataGridView?  I'm trying to integrate these together and I'm not finding any examples or guidance.

 

Thanks

Scott
Top achievements
Rank 1
 answered on 28 May 2020
1 answer
107 views

Hi,

 

I want visible range minimum / maximum of vertical axis after zoom in.

Image1 is default view

Image2 is zoom view

 

How to get visible range of 12437.1275 & 11437.1275 after zoom

Nadya | Tech Support Engineer
Telerik team
 answered on 28 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)
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
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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?