Telerik Forums
UI for WinForms Forum
13 answers
441 views
I'd like to use the grid like Excel.

1. As soon as the user selects a datacell it goes into edit mode (not using F2 or key stroke to enter edit mode). Is this possible?
2. When the user press Enter key, move to next datacell  (and go in to Edit mode of course)
3. When in datacell and end of text and user press Right arrow key, move to next datacell  (and go in to Edit mode of course)
4. When in datacell and beginning of text and the user press Left arrow key, move to previous datacell (and go in to Edit mode of course)

Everything to get the grid to act as Excel.
Jack
Telerik team
 answered on 20 Oct 2009
2 answers
130 views

In my GridView the user selects a number of rows, and then asks to do some processing based on each of the selected rows, one by one.

The rows are typically selected by "normal" multirow selection, by pressing the shift or ctrl key and clicking the rows/range of rows in question. The last clicked row is then selected, and the arrow to the left is on this row, while the others are marked with blue.

When the processing begins the first (topmost) row and then the rest in sequence. I would like the arrow to follow the row in progress, but by setting CurrentRow, the "multiselection" is cleared, and only the CurrentRow is marked with blue.

Is there a way to programatically move the arrow to the left without clearing the "multiselection"?

Regards, Jill-Connie Lorentsen

Jill-Connie Lorentsen
Top achievements
Rank 1
 answered on 20 Oct 2009
2 answers
76 views
Is there an example of this (VB or C#) found anywhere on this site? I seem to be coming up short. I've been learning .net / vb for the past year, but have not had the privilege of coding such an object to date.

We're looking to deploy an organizational-wide (internal) radRibbonForm that would basically be deployed as a floating toolbar for users to gain quick access to internal resources.

The RibbonTab is a great high level way for user to navigate topic, and then within each tab, the RibbonBarGroup contains relavent DropDownButtons, which of course contain ButtonElements...

When I click the buttonElement, I get a 'Win32Exception was unhandled' error.

Here's an example of a particular Button Element's code:

 

Imports System.Web  
Imports Telerik.WinControls.UI  
 
Partial Public Class RadRibbonForm1  
 
    Private Sub rbeD1CPT_Click(ByVal sender As ObjectByVal e As EventArgs) Handles rbeD1CPT.Click  
        System.Diagnostics.Process.Start("iexplorer.exe""http://www.google.com")  
    End Sub 
 
    Public Sub buttonClickEvent(ByVal sender As ObjectByVal e As EventArgs) Handles rbeD1CPT.Click  
        Dim rbeD1CPT As RadButtonElement = TryCast(sender, RadButtonElement)  
        System.Diagnostics.Process.Start("iexplorer.exe"DirectCast(rbeD1CPT.Tag, String))  
    End Sub 
End Class 


Any assistance would be greatly appreciated (I can post the *.designer.vb if it will help..)

Keith

Nikolay
Telerik team
 answered on 20 Oct 2009
5 answers
193 views
HI @all,

i use a Win Form with a Backgroundimage - so if i add a new radCarousel control to my form and set up the backgroundimage to "transparent" - i see always a a Gradient over this control. I use the Style Builder and add a new XML - but i dont find a proberty to turn off this functionality?
Have someone a solutions for me?
--> done :-) but... i think there is a small problem with the  theme manager. Sometime it works - somtime not. So - i try to find out the basicly problem and post it here.

and my seceond question: can i use my own button´s to rotate my radCarousel?
--> done :-) i use the selected Index function. Thanks

thanks @all
Markus

PS: RadControls Q1
Victor
Telerik team
 answered on 20 Oct 2009
3 answers
474 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
245 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
130 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
178 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
227 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
252 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?