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

I have a boolean data column which is displaying true/ false when bound to the grid view. Is there a way that i can format this column to display yes/ no instead.


thanks

santosh
Victor
Telerik team
 answered on 20 Oct 2009
2 answers
216 views
Is it possible to label the xaxis w/date and time?

i see
.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;
and
.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortTime;

I have hourly-ish data over several-ish days...


Edward
Top achievements
Rank 1
 answered on 19 Oct 2009
1 answer
106 views
Hi Telerik team,

We are evaluating your gridview capability to see if you can stream data onto grid without grid hanging or using up lot of memory.  We are looking at update rates of around 10,000 quotes per second.  Can you let us know your gridview has the capability to do so and if so can you point me to some examples.  I would like to evaluate your grid and if it fits our needs we can plan to buy the product.

Thanks
Jun


Jack
Telerik team
 answered on 19 Oct 2009
3 answers
157 views
I want to add some winform controls in my ribbonbargroup using the RadHostItem. I follow some tips found on this forum but they don't work for me. My ribbonBarGroup is empty

Here is my code :

Dim Foo As New TextBox 
Foo.Text = "Bar" 
Dim hostItem As New RadHostItem(toto) 
MyRibbonBarGroup.Items.Add(hostItem) 

So, I though that the proble came from the add method. I tried the same code replacing the hostItem by a RadButtonElement control and it worked fine.

That's why I think the problem comes from the radHostItem.
Peter
Telerik team
 answered on 19 Oct 2009
0 answers
197 views
Hi,

I cannot figure out how to display an image on the ToolWindow tab. This does not display the image on the tool window :

using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Windows.Forms;  
using Telerik.WinControls.UI;  
using Telerik.WinControls.UI.Docking;  
using System.Drawing;  
 
namespace toolWindowTest  
{  
    static class Program  
    {  
        /// <summary>  
        /// Point d'entrĂ©e principal de l'application.  
        /// </summary>  
        [STAThread]  
        static void Main()  
        {  
            Application.EnableVisualStyles();  
            Application.SetCompatibleTextRenderingDefault(false);  
            Application.Run(new MainForm());  
        }  
    }  
 
    public partial class MainForm : RadForm {  
 
        public MainForm() {  
            InitializeComponent();  
            IsMdiContainer = true;  
            radDock.AutoDetectMdiChildren = true;  
        }  
 
        Bitmap bitmap;  
        protected override void OnCreateControl() {  
            base.OnCreateControl();  
            bitmap = new Bitmap(16, 16);  
            DrawToBitmap(bitmap, new Rectangle(0, 0, 16, 16));  
            Clipboard.SetImage(bitmap);  
        }  
 
        private void radButton_Click(object sender, EventArgs e) {  
            ToolWindow toolWindow = new ToolWindow();  
            toolWindow.Image = bitmap;  
            radDock.DockControl(new ToolWindow(), DockPosition.Right, DockType.ToolWindow);  
        }  
 
    }  
    partial class MainForm {  
        /// <summary>  
        /// Required designer variable.  
        /// </summary>  
        private System.ComponentModel.IContainer components = null;  
 
        /// <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);  
        }  
 
        private void InitializeComponent() {  
            this.radDock = new Telerik.WinControls.UI.Docking.RadDock();  
            this.documentContainer1 = new Telerik.WinControls.UI.Docking.DocumentContainer();  
            this.radPanel = new Telerik.WinControls.UI.RadPanel();  
            this.radButton = new Telerik.WinControls.UI.RadButton();  
            ((System.ComponentModel.ISupportInitialize)(this.radDock)).BeginInit();  
            this.radDock.SuspendLayout();  
            ((System.ComponentModel.ISupportInitialize)(this.documentContainer1)).BeginInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radPanel)).BeginInit();  
            this.radPanel.SuspendLayout();  
            ((System.ComponentModel.ISupportInitialize)(this.radButton)).BeginInit();  
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();  
            this.SuspendLayout();  
            //   
            // radDock  
            //   
            this.radDock.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(254)))));  
            this.radDock.Controls.Add(this.documentContainer1);  
            this.radDock.Dock = System.Windows.Forms.DockStyle.Fill;  
            this.radDock.DocumentManager.DocumentInsertOrder = Telerik.WinControls.UI.Docking.DockWindowInsertOrder.InFront;  
            this.radDock.Location = new System.Drawing.Point(0, 0);  
            this.radDock.MainDocumentContainer = this.documentContainer1;  
            this.radDock.Name = "radDock";  
            this.radDock.Size = new System.Drawing.Size(284, 201);  
            this.radDock.TabIndex = 0;  
            this.radDock.TabStop = false;  
            this.radDock.Text = "radDock";  
            //   
            // documentContainer1  
            //   
            this.documentContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(254)))));  
            this.documentContainer1.Location = new System.Drawing.Point(0, 0);  
            this.documentContainer1.Name = "documentContainer1";  
            this.documentContainer1.Size = new System.Drawing.Size(284, 201);  
            this.documentContainer1.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Fill;  
            this.documentContainer1.TabIndex = 0;  
            this.documentContainer1.TabStop = false;  
            //   
            // radPanel  
            //   
            this.radPanel.Controls.Add(this.radButton);  
            this.radPanel.Dock = System.Windows.Forms.DockStyle.Bottom;  
            this.radPanel.Location = new System.Drawing.Point(0, 201);  
            this.radPanel.Name = "radPanel";  
            this.radPanel.Size = new System.Drawing.Size(284, 30);  
            this.radPanel.TabIndex = 1;  
            //   
            // radButton  
            //   
            this.radButton.AllowShowFocusCues = true;  
            this.radButton.Location = new System.Drawing.Point(3, 3);  
            this.radButton.Name = "radButton";  
            this.radButton.Size = new System.Drawing.Size(75, 23);  
            this.radButton.TabIndex = 0;  
            this.radButton.Text = "ToolWindow";  
            this.radButton.Click += new System.EventHandler(this.radButton_Click);  
            //   
            // MainForm  
            //   
            this.ClientSize = new System.Drawing.Size(284, 231);  
            this.Controls.Add(this.radDock);  
            this.Controls.Add(this.radPanel);  
            this.Name = "MainForm";  
            //   
            //   
            //   
            this.RootElement.ApplyShapeToControl = true;  
            ((System.ComponentModel.ISupportInitialize)(this.radDock)).EndInit();  
            this.radDock.ResumeLayout(false);  
            ((System.ComponentModel.ISupportInitialize)(this.documentContainer1)).EndInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radPanel)).EndInit();  
            this.radPanel.ResumeLayout(false);  
            ((System.ComponentModel.ISupportInitialize)(this.radButton)).EndInit();  
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();  
            this.ResumeLayout(false);  
 
        }  
 
        private Telerik.WinControls.UI.Docking.RadDock radDock;  
        private Telerik.WinControls.UI.Docking.DocumentContainer documentContainer1;  
        private Telerik.WinControls.UI.RadPanel radPanel;  
        private Telerik.WinControls.UI.RadButton radButton;  
    }  
    class ToolWindow : Telerik.WinControls.UI.Docking.ToolWindow {  
 
        public ToolWindow() {  
            Text = "No image...";  
        }  
 
    }  
}  
 

Thanks.
jpl
Top achievements
Rank 1
 asked on 19 Oct 2009
5 answers
199 views

Hello,

I have several custom width columns in my RadGrid and when I click in a cell that is partially displayed the grid horizontally auto scrolls to bring the entire column into view.  This functionality is great in most cases but when the column contains buttons it causes undesired results. 

IE: Cell contains several buttons but the entire cell isn’t visible within the grid.  When the user clicks the first button the grid auto scrolls, bringing the column into view, but the button click event that fires is for one of the hidden buttons instead of the button clicked.  We think this is happening because the auto scrolling fires before the click event and since the mouse cursor in now on a new button after the scrolling it fires that event instead of first clicked button.

One of two solutions will work for me.

1.  Either suppress the auto horizontal scrolling so the column doesn’t shift into view.

Or

2.  Make sure the proper button click event fires.

How do I make either of these happen?

Regards,
Mike

Jack
Telerik team
 answered on 19 Oct 2009
3 answers
182 views
I am trying to setup the charts so that only the plot area is shown and the chart has no border.  I can't seem to find the correct border property.  There is a border property on the chart object itself that is set to false.  Is the chart border coming from the skin?

Thank you.
Ves
Telerik team
 answered on 19 Oct 2009
5 answers
279 views
Dear friends,

I have a read only RadGridView with several columns. One of those columns is a date, and i want to change the backcolor of the rows that have the date smaller than today's data.

Can you help me?

Thanks in advance.
Tiago
Top achievements
Rank 2
 answered on 19 Oct 2009
2 answers
135 views

I’m developing a c# win app using RadGrid. I would preferably like to be able to use the grid property builder in design time to configure columns, dropdowns etc. On the other hand I would like to work with business objects (using EntitySpaces or similar) to access the data in SQL Server and later implement remoting or similar technologies to migrate to a true n-tier client server app. Anyone having some suggestion regarding an architecture that makes it quick and easy to build the app using RadGrids, but enough ‘future safe’ and object oriented to work in a business application?

Could Microsoft entity framework and Linq to Objects be the solution?


Regards,

Erik

 

Nick
Telerik team
 answered on 19 Oct 2009
1 answer
92 views
Why I can not find any ColorPicker  (similar to Office)?  any where?
Nick
Telerik team
 answered on 19 Oct 2009
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?