Telerik Forums
UI for WinForms Forum
1 answer
260 views
As the subject suggests, I would like to know if I can hide the horizontal scrollbar in a RadSchedule control when in timeline view?

Also, I would like to know if it's possible to navigate forwards and backwards through the timeline using events? IE have "Forward" and "Backward" buttons to move forwards or backwards a week at a time.

Thanks,
Karl
Ivan Todorov
Telerik team
 answered on 12 Jun 2012
1 answer
142 views
Hello,

I want to use RadScheduler to build a master/detail form as timeline views:
=> on top, a radscheduler component displaying a global timelineview of summarized tasks, with timescales as months, 12 months displayed.
=> on bottom, another radscheduler displaying a more detailed timeline view, with timescales as days, 30 days displayed.

It seems that any change in one component affects the other one.

                radScheduler1.GetTimelineView().ShowTimescale(Telerik.WinControls.UI.Timescales.Weeks);
                radScheduler1.GetTimelineView().GetScaling().DisplayedCellsCount = 12;

                radScheduler2.GetTimelineView().ShowTimescale(Telerik.WinControls.UI.Timescales.Days);
                radScheduler2.GetTimelineView().GetScaling().DisplayedCellsCount = 30;    

This piece of code results in having both controls displaying 30 days (Moreover with display glitches on the first one).
What am I doing wrong?
(I'm using 2012.1.12.215)

Regards,
Ivan Todorov
Telerik team
 answered on 12 Jun 2012
12 answers
590 views
How do I set make my ShapedForm's background color transparent? Setting in in the Visual Studio designer throws exception "Control does not support transparency". I am using an image with rounded corner as the background for the form, so unless the background color is transparent, there will be a small area at the form's corners having the same color as the form's background color, which doesn't look nice.

Thanks
Nikolay
Telerik team
 answered on 12 Jun 2012
2 answers
274 views
We have decided to go with an editable RadGridView for a particular project. We have run into some snags along the way which the forums have been very helpful. However, I have not noticed that anyone else has encountered this problem.

I have a Decimal Column with the DecimalPlaces property set to 2. When there is already data in the column lets say "50.00" and you move over to that column, without entering edit mode, and just start typing a new value like "123.50", the GridSpinEditor allows the user to overwrite the first digits (as it should), but when you get to typing the decimal in 123.50 it stops the overwriting and starts inserting.

This leaves a final text value of "123.50.00". When you hit enter the value magically changes to "1" in the grid.


Can anyone explain this?

I have a sample project. You can enter a value of 50 in column one. Then press enter to finalize it. Then, while the current cell is that same 50 cell, start typing 123.50. You will get 123.50.00 before the cell ends edit. And when it does end edit the final value will be 1.

namespace RadControlsWinFormsApp2
{
    partial class Form1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components;
 
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Windows Form Designer generated code
 
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn2 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.radSpinEditor1 = new Telerik.WinControls.UI.RadSpinEditor();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditor1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            //
            // radGridView1
            //
            this.radGridView1.Location = new System.Drawing.Point(0, 0);
            //
            // radGridView1
            //
            gridViewDecimalColumn2.FieldName = "VALUE";
            gridViewDecimalColumn2.HeaderText = "column1";
            gridViewDecimalColumn2.Name = "column1";
            this.radGridView1.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewDecimalColumn2});
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.Size = new System.Drawing.Size(240, 150);
            this.radGridView1.TabIndex = 0;
            this.radGridView1.Text = "radGridView1";
            //
            // radSpinEditor1
            //
            this.radSpinEditor1.Location = new System.Drawing.Point(93, 180);
            this.radSpinEditor1.Name = "radSpinEditor1";
            //
            //
            //
            this.radSpinEditor1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
            this.radSpinEditor1.ShowBorder = true;
            this.radSpinEditor1.Size = new System.Drawing.Size(100, 20);
            this.radSpinEditor1.TabIndex = 1;
            this.radSpinEditor1.TabStop = false;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(292, 266);
            this.Controls.Add(this.radSpinEditor1);
            this.Controls.Add(this.radGridView1);
            this.Name = "Form1";
            //
            //
            //
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "Form1";
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radSpinEditor1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
 
        }
 
        #endregion
 
        private Telerik.WinControls.UI.RadGridView radGridView1;
        private Telerik.WinControls.UI.RadSpinEditor radSpinEditor1;
    }
}


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data;
 
namespace RadControlsWinFormsApp2
{
    public partial class Form1 : Telerik.WinControls.UI.RadForm
    {
        public Form1()
        {
            InitializeComponent();
 
            (radGridView1.Columns[0] as Telerik.WinControls.UI.GridViewDecimalColumn).DecimalPlaces = 2;
 
        }
    }
}
Peter
Telerik team
 answered on 12 Jun 2012
1 answer
145 views
Hello Telerik Team,

In Winforms, is it possible to create a custom GridViewRichTextBoxColumn for RadGridview? If yes please help thanks :).
Stefan
Telerik team
 answered on 12 Jun 2012
8 answers
264 views

Hi,

I've created some style with Visual Style Builder and I'm using it with rad grid view.

I would like to hide a column border - but just between 2 column headers.

Particular grid view could have different data sources so I need to set this (hide column splitter) dynamically.

I've attached the screen shot with marked on the splitter I'd like to hide.

I browsed through column properties but still couldn't find any matching field to set, please help me with this one...

Regards.

Ivan Petrov
Telerik team
 answered on 12 Jun 2012
1 answer
169 views
Hi,

I have a relatively simple use for the RichTextBox. I'm using it to display log messages in an application.

I will have two types of messages: Information and Errors. I would like to display the error string in red while the information in black.

How can I change the font color as it is being inserted to the box?

Also, can the font and size be changed at design time? I have the standard font and size (8.25) but it looks much bigger than a standard RadTextBox. Also there seems to be some sort of padding above it as there is a large space between lines (something like a line height in HTML).

Thanks in advance.
Stefan
Telerik team
 answered on 12 Jun 2012
1 answer
194 views
Hello everybody

I've problem with radgridview.. Can i set auto collapse group in radgridview? Because i set the properties "AutoExpandGroup" to "False" but this code doesn't happen.. Can you give me another solution?

Cheers..
Stefan
Telerik team
 answered on 12 Jun 2012
1 answer
192 views
I'm currently developing a Word 2010 VSTO Document-Level Add-In that has to do extended operations on the open document. As these operations can take some seconds to complete, I'd like to indicate this to the users (so they don't get nervous and start clicking wildly around...). 

I've used the Telerik WPF RadBusyIndicator in a WPF project some time ago and really liked how easy it was to implement (and didn't obscure my code as well). It would be great if I could create the same effect using Telerik WinForms/WPF components.

Currently, the main thread directly operates on the document. I have not much experience in threaded programming, but I'd like to implement a clean and reusable solution that does not clutter the important part of my code. 

cheers
Nicolas
Boryana
Telerik team
 answered on 12 Jun 2012
1 answer
704 views
Hello
I used a datatable for fill Grid.
I add row in datatable in my Code and I want to show  changes in my Grid.
for this work I used "dt.AcceptChanges()".
but i need used "dt.GetChanges()".
Because I use "dt.AcceptChanges() ", " dt.GetChanges()" is empty.
Now how do I use "dt.GetChanges()".

Julian Benkov
Telerik team
 answered on 12 Jun 2012
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
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
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?