Telerik Forums
UI for WinForms Forum
1 answer
159 views
hi:
I need disable the contextmenu of the radgridview.
as I do?

thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 13 Oct 2010
4 answers
354 views
Hi,
I am new to GridView control for Windows Application.

I have some doubts.

How to apply theme to a Grid View.
Problem I am facing: When I apply themes to grid,outer border  are disapperaing and + symbol for expanding and collapsing Hierarchial grid is changing to some different control.Its make my grid looks odd.

How to set a GridView in Unbound Mode.
Which one will be the default mode for GridView.

Thanks,
A2H
Emanuel Varga
Top achievements
Rank 1
 answered on 12 Oct 2010
5 answers
154 views
I got the latest build  (dated 3/9) and while the new VSB is great, there are controls that are not listed as available for creating a theme. RadToolStrip, RadStatusStrip, RadPanel, and on and on and on. When can we expect all of the controls to be listed, or am I doing something wrong and there's already a way to get them listed and I'm missing it?
Peter
Telerik team
 answered on 12 Oct 2010
2 answers
188 views
I've created a custom GridViewColumn, along with a custom CellElement, inheriting from GridCommandCellElement, and by default, the GridCommandCellElement does not have DrawBorder set to true.  When I set it to true, it draws a border that is a different color than, say, a GridViewTextBoxElement within the same grid.  How does the GridViewTextBoxElement know to draw it's own border as the light blue color it is currently drawing it with, as opposed to the black color my custom element is being drawn with, and how can I fetch that value?

Thanks, 

David
David
Top achievements
Rank 1
 answered on 12 Oct 2010
2 answers
127 views
Hi
I am using Telerik WinForms controls
I Have a problem in RibBoonBar
Win I change any item in it or add new item ,all old item's size become zero
Peter
Telerik team
 answered on 12 Oct 2010
6 answers
225 views

Hi Everyone,

I have a radWaitingBar in my Project. As you can see in the attached image, there is a display bug. I use the breeze Theme. I tried many things, but it always looks like that.

public void show()
{
    inProgressForm.waitingBar.WaitingIndicatorWidth = 0;
    inProgressForm.waitingBar.StartWaiting();
      
    inProgressForm.ShowDialog();
}
Dobry Zranchev
Telerik team
 answered on 12 Oct 2010
15 answers
452 views

 

Hi

 

            Version: Q2 2010 SP2

            I want use custom editor.

            So in EditorRequired handler I create RadDropDownListEditor

            and in CellBeginEdit I set data source for dropdownlist.

 

In CellBeginEdit handler I want also set DropDownStyle on DropDownList but I get exception from telerik source code NullReferenceException.

 


If I do not change DropDownStyle property everything looks ok.


I tried set DropDownStyle on DropDownList in EditorRequired handler but I also got the same exception.

 


I cannot use just combo box type of column – in the same column I need display different editors.

 


Check my short source code.

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 Telerik.WinControls.UI;
  
namespace GridViewComboBox
{
    public partial class Form1 : Form
    {
        private CompoundAssignmentExpression _list = new CompoundAssignmentExpression();
  
        public Form1()
        {
            InitializeComponent();
  
            SimpleAssignmentExpression sae = new SimpleAssignmentExpression();
            sae.AttributeName = "Test";
            sae.Value = "123";
            _list.Add(sae);
  
            sae = new SimpleAssignmentExpression();
            sae.AttributeName = "Test1";
            sae.Value = "xx";
  
            _list.Add(sae);
            bsCAE.DataSource = _list;           
        }
  
        private void radGridView1_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
        {
            RadDropDownListEditor comboBoxEditor = this.radGridView1.ActiveEditor as RadDropDownListEditor;
  
            if (comboBoxEditor != null) 
            {
                RadDropDownListEditorElement editorElement = comboBoxEditor.EditorElement as RadDropDownListEditorElement;
                editorElement.DataSource = new string[] { "aaa", "bbb", "ccc", "ddd" };
  
                //these lines cause exception:
                //editorElement.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
                //comboBoxEditor.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            }
        }
  
        private void radGridView1_EditorRequired(object sender, EditorRequiredEventArgs e)
        {
            if ((radGridView1.CurrentRow.Index == 0) && (radGridView1.CurrentCell.ColumnIndex == 0))
            {
                RadDropDownListEditor editor = new RadDropDownListEditor();
                //exception here:
                //editor.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
                e.EditorType = typeof(RadDropDownListEditor);
                e.Editor = editor;          
  
            }
        }
    }
}

 


Regards

 

Martin Vasilev
Telerik team
 answered on 12 Oct 2010
1 answer
143 views
Hello,

my requirement is that when i select a node a second treeview should be populated.

Which event should i use after selecting a node??


Thanks!
Richard Slade
Top achievements
Rank 2
 answered on 12 Oct 2010
6 answers
369 views
Hi

can i add a close button on the ribbon tab ?
like the image ?

thank u

Emanuel Varga
Top achievements
Rank 1
 answered on 12 Oct 2010
2 answers
203 views
Can I Localize the Filtering options To Arabic ?
Because My Application Language Is Arabic And I am Using RadGridView
Thanks 
moh amm
Top achievements
Rank 1
 answered on 12 Oct 2010
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?