Telerik Forums
UI for WinForms Forum
1 answer
182 views

Hi,

I have a very special question.

Need to do this:
The user changes the "RecurrenceRule" of an appointment. Standard is, that the complete appointment series changes - the past, too. I have to identify the selected date of changing the recurrence and change the appointment from this day to all future occurences. Past must be unchanged. How can we get that?

Please see my examples attached.

I want to select Saturday 27th. Open the recurrence edit dialog. Then change the series to one hour later. Save. The result must be the same as in my screenshot. Is that possible?

Thanks for your help.

Sascha

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2017
3 answers
253 views
Rad Scheduler - how to set different appointment different  height in timeline view control. and I am using two different scheduler element provider so,how to maintain every appointment with different height.And also any solution for day duration wise automatically appointment height set using winforms.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2017
6 answers
105 views
Is it possible to add extra button to the GroupPanelElement of a radgridview?
See attached picture.
Hans Heuvelman
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2017
2 answers
163 views

Hello,

I tried to use RadListView to make component just like user preference.

The idea are:

  1. We have dynamic columns to display in a table (RadGridView)
  2. We have a list of user preference for these columns and user can change the position of columns by change the position of user preference

Then in step 2, I tried to use RadListView to display a list of user preference with checkboxes, drag/ drop feature to support these requiredment

But when I open this RadListView, if there are many preferences (one preference is one column) then RadListView have a scrollbar and have padding bottom too long (attachment #1) although it have space to display items. Then I have to scroll down to view.

My question is, how to remove this long padding?

My video to demonstrate is: https://drive.google.com/file/d/0B-bxiBfBubRgSi1PRVRmWUV2YWs/view?usp=sharing

My code are:

private RadListView lvUserPreference = new RadListView();
 
// Styles
lvUserPreference.Dock = System.Windows.Forms.DockStyle.Fill;
lvUserPreference.Margin = new System.Windows.Forms.Padding(0);
lvUserPreference.Name = "lvUserPreference";
lvUserPreference.ListViewElement.DrawBorder = false;
lvUserPreference.ShowCheckBoxes = true;
lvUserPreference.ViewType = ListViewType.ListView;
lvUserPreference.AllowDragDrop = true;
lvUserPreference.Padding = new Padding(20);
lvUserPreference.Margin = Padding.Empty;
lvUserPreference.ItemSpacing = 15;
lvUserPreference.AllowEdit = false;
lvUserPreference.AutoScroll = true;
 
lvUserPreference.ListViewElement.DragDropService.PreviewDragStart -= OnPreviewDragStart;
lvUserPreference.ListViewElement.DragDropService.PreviewDragStart += OnPreviewDragStart;
 
lvUserPreference.ListViewElement.DragDropService.PreviewDragOver -= OnPreviewDragOver;
lvUserPreference.ListViewElement.DragDropService.PreviewDragOver += OnPreviewDragOver;
 
lvUserPreference.ListViewElement.DragDropService.PreviewDragDrop -= OnPreviewDragDrop;
lvUserPreference.ListViewElement.DragDropService.PreviewDragDrop += OnPreviewDragDrop;
 
lvUserPreference.VisualItemFormatting += OnVisualItemFormatting;
 
// Item formatting event
private void OnVisualItemFormatting(object sender, ListViewVisualItemEventArgs e)
{
    e.VisualItem.ToggleElement.Margin = new Padding(10);
    e.VisualItem.BackColor = ComponentSettings.DefaultBorderColor;
    e.VisualItem.GradientStyle = GradientStyles.Solid;
    e.VisualItem.Margin = new Padding(0);
    e.VisualItem.MinSize = new Size(200, 30);
    e.VisualItem.Font = ComponentSettings.DefaultFont;
 
    var itemAttrId = (int)e.VisualItem.Data.Value;
    var field = _fields.FirstOrDefault(x => x.AttrId == itemAttrId);
    if (field != null && (field.IsTreeField || field.IsRequired))
    {
        e.VisualItem.ToggleElement.Enabled = false;
    }
    else
    {
        e.VisualItem.ToggleElement.Enabled = true;
    }
}

 

Regard,

Paul

Paul
Top achievements
Rank 1
 answered on 18 May 2017
2 answers
64 views

Hi,

Just another question.
I have inherited the DeleteRecurringAppointmentDialog. All works very fine, my "new" dialog is working. But now i have to add a third radiobutton to my custom dialog. 
Is it possible to get the information, which radiobutton was selected by the user (especially my new one) BEFORE the appointment is deleted? I have no idea... 

Thank you for helping.

 

Sascha

Sascha
Top achievements
Rank 1
 answered on 17 May 2017
1 answer
165 views
How would I sync the horizontal scrolling of child tables? I don't want to use GridViewAutoSizeColumnsMode.Fill but I want the user to vertically scroll and have all the same child tables be lined up.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2017
1 answer
135 views

Hi there,

 

With the SchedulerUIHelper.BringAppointmentIntoView you can bring a specific appointment into view.

I have a schedule in a timelineview. Is there a way to scroll to a resource(id) (bring a resource(id) into view)

 

Hope you can help.

 

Victor

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2017
1 answer
128 views
I have a gridview with a checkbox column that I would like to remain fixed.. but allow the other columns to auto size.  I'm using the following code:

   gvDocuments.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
   gvDocuments.Columns["Checked"].AutoSizeMode = BestFitColumnMode.None;
   gvDocuments.Columns["Checked"].MaxWidth = 30;
   gvDocuments.Columns["Checked"].MinWidth = 30;
   gvDocuments.Columns["Checked"].Width = 30;
  
   gvDocuments.Columns["Filename"].Width = 300;
   gvDocuments.Columns["Description"].Width = 300;
   gvDocuments.Columns["DocumentTypeDescription"].Width = 135;
   gvDocuments.Columns["DocumentDate"].Width = 135;

 

If you look in the attached screenshot, there is a space between the "Checked" column and the "Description" column.  I'm not sure what I'm doing wrong.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2017
1 answer
139 views

How would I sync the child template ItemSelected with every child RadPageViewStripElement?

In other words, if I have a grid with 22 rows and each row is expandable, when the user changes a tab of a nested child template, how would I also change the other child templates (that are expanded) to that same tab?

Dimitar
Telerik team
 answered on 17 May 2017
7 answers
469 views
Hi, this might be a silly question, but my checkbox is always middle aligned, even though text alignment is set to middleleft. Is there a way to fix this ?

Thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 May 2017
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
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
RibbonForm
Styling
Barcode
PopupEditor
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?