Telerik Forums
UI for WinForms Forum
3 answers
137 views
Hi,

It would be practible to arrange data series in different panes typical sharing one axis, e.g. temperature and pressure shearing a horizontal time axis or shearing a vertical level axis. Each pane with different caption and background.

/Brian
George
Telerik team
 answered on 09 Jul 2014
1 answer
98 views
I'm populating my chart view from a pivot grid. Is there any way to set the default series to a line - at the moment its displaying bars ?
Dimitar
Telerik team
 answered on 08 Jul 2014
1 answer
127 views
Hi i'm trying to do an example project using DataAccess + Winforms RadScheduler + sqlite
I red the tutorial at the page below

http://www.telerik.com/help/winforms/scheduler-data-binding-binding-to-entity-framework-and-telerik-data-access.html

But it didn't work for me.... may i find somewhere a c# tutorial or a c# example project explain how to create tables on sqlite to execute CRUD operation on appointment and recurrences by Telerik Data Access.

Thanks in advance
George
Telerik team
 answered on 08 Jul 2014
2 answers
170 views
Hi everyone!
We are doing a project, and use it in GridView and its capabilities. We had a problem with GridViewColumnGroup. Grid is used to display services for a week, and have the button to show / not show weekend. By default, the “show weekend” is disabled. When we click the button “show weekend”, the weekend columns for some reason added small, and not as the same width as the weekdays. But if you do show weekend the default, they appear normal. But if you then show \ not show the weekend, they are becoming less and less. 

public partial class Form1 : Form
{
    private static readonly List<string> DaysOfWorkingWeekList = new List<string>(new[] { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday"});
    private static readonly List<string> DaysOfWeekList = new List<string>(new[] { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" });
 
    public Form1()
    {
        InitializeComponent();
 
        foreach (var column in GetColumns())
        {
            rgvMain.MasterTemplate.Columns.Add(column);
        }
        rgvMain.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
 
        UpdateGroupHeader();
 
        var serviceWeeks = new List<ServiceWeek>();
        var serviceWeek = new ServiceWeek();
        serviceWeeks.Add(serviceWeek);
 
        rgvMain.DataSource = serviceWeeks;
    }
 
    private void UpdateGroupHeader()
    {
        AddGroupHeader(rgvMain.MasterTemplate, radCheckBox1.IsChecked ? DaysOfWeekList : DaysOfWorkingWeekList);
        rgvMain.MasterTemplate.Refresh();
    }
 
    private void radCheckBox1_CheckStateChanged(object sender, EventArgs e)
    {
        UpdateGroupHeader();
    }
     
    public void AddGroupHeader(GridViewTemplate template, List<string> groupHeaderText)
    {
        var columnGroupsView = new ColumnGroupsViewDefinition();
 
        for (int i = 0, index = 0; index < groupHeaderText.Count; index++)
        {
            columnGroupsView.ColumnGroups.Add(new GridViewColumnGroup(groupHeaderText[index]));
            columnGroupsView.ColumnGroups[index].Rows.Add(new GridViewColumnGroupRow());
 
            columnGroupsView.ColumnGroups[index].Rows[0].Columns.Add(template.Columns[i++]);
            columnGroupsView.ColumnGroups[index].Rows[0].Columns.Add(template.Columns[i++]);
        }
 
        template.ViewDefinition = columnGroupsView;
    }
 
    private IEnumerable<GridViewTextBoxColumn> GetColumns()
    {
        return new List<GridViewTextBoxColumn>
        {
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50},
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50},
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50},
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50},
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50},
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50},
            new GridViewTextBoxColumn(),
            new GridViewTextBoxColumn {Width = 50, MinWidth = 50, MaxWidth = 50}
        };
    }
}
 
public class Service
{
}
 
public class ServiceWeek
{
    public Service MondayService { get; set; }
    public Service SundayService { get; set; }
    public Service SaturdayService { get; set; }
    public Service FridayService { get; set; }
    public Service ThursdayService { get; set; }
    public Service WednesdayService { get; set; }
    public Service TuesdayService { get; set; }
}


Please help me! On the form located only a standard RadGridView and CheckBox.
Sorry for my English.
Nikita
Top achievements
Rank 1
 answered on 08 Jul 2014
13 answers
489 views
I have a grid with two levels of hierarchical grids and I use the SaveLayout / LoadLayout methods to save and restore the columns proporties of the grid, apparently the layout of the sub-grids is not stored in the XML file and there is no such properties on the sub-grids.
Is it possible to save and restore sub-grids layout ?

thanks in dvance
George
Telerik team
 answered on 07 Jul 2014
7 answers
304 views
DesktopAlert looks nice. Is there a way to automatically size the control to display the entire text? At the moment we have to manually set the FixedSize to get the text displayed fully.

Not every HTML tag is displayable. Not even everything i set in the markup editor is displayed (Hyperlinks or empty lines). Any plans to extend it to full HTML support?

Thank you for this control and please extend it.
George
Telerik team
 answered on 07 Jul 2014
1 answer
388 views
Hello, I am using a combination of RtfFormatProvider and HtmlFormatProvider to allow users to convert Rich Text to HTML. I noticed that even when font size is expressed in RTF in points (or really half-points), when exported to HTML it exports it as pixel sizes - it appears to assume 96 pixels per inch.

Based on this, it changes a 14.5 point font in RTF to a 19.33333 pixel font in HTML.

This works well when the resulting HTML is viewed in an environment that renders at 96 pixels per inch, but in some environments (such as when viewing on a retina display iPad) it makes the font appear much smaller.

Is there a way to control the HtmlFormatProvider to save fonts in points instead of pixels?
Ivan Todorov
Telerik team
 answered on 07 Jul 2014
2 answers
105 views
Hello, can I catch the exception raised by a databounditem (that implements ieditableobject and idataerrorinfo) ?

At the moment after the user edit a row and insert invalid values IEditableObject.EndEdit throw an exception and the program terminate.

I also tried to add a Validating event handler but looks like the IEditableObject.EndEdit is called before the Validating event.

Also tried to handle the DataError event but with no success.

Best regards.
Andrea
Peter
Telerik team
 answered on 07 Jul 2014
5 answers
714 views
Hi, I am using the radgridview with paging using the example below

http://www.telerik.com/community/code-library/winforms/gridview/gridview-paging-using-commandbar.aspx 

I am trying to export the radgridview to excel, however it only exports the current page. How do I export all pages to excel?

Thanks.

Ivan Petrov
Telerik team
 answered on 04 Jul 2014
1 answer
234 views
Hello,



I have displayed in datagridview with data in self-reference hierarchy. For example, I have data in the gridview ad the below:

Node1

    Node 1.1

    Node 1.2

        Node 1.2.1

        Node 1.2.2

            Node 1.2.2.1

.....



When I click filtering icon in the header column. The filtering dialog
doesn't display the same structure in the datagridview. It just displays
as the below in filtering dialog.

All

    Node1

    Node 1.1

    Node 1.2



I expect the filtering dialog should display as same as the
datagridview. Please show me how to do. I also attach the screenshot for
more detail

Thannks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Jul 2014
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?