Telerik Forums
UI for WinForms Forum
2 answers
121 views
Now that I have the ColumnGrouping working correctly, I've moved on to adding print support to my grid.  I have only implemented a call to PrintPreview() and my resulting print is missing the first column from my table.  The attached screen print shows both the source grid and print preview version.  Could this be related to having the first ColumnGroup marked with IsPinned=true?
Pete
Top achievements
Rank 1
 answered on 05 Oct 2015
2 answers
303 views

I'm sure i'm missing something simple but the solution eludes me - i'm trying to use a RadContextMenu instead of the standard Windows.Forms.ContextMenu but receive the following error:

 

'Telerik.WinControls.UI.RadContextMenu' cannot be converted to 'System.Windows.Forms.ContextMenu'.

 

Any help or suggestions would be very much appreciated!

-Curtis

 

Hristo
Telerik team
 answered on 05 Oct 2015
4 answers
273 views

I've created a GridViewComboBoxColumn and now I need to get the combobox's dropdownclosed event. Or possibly it's selectedvalue changed event. How do I create the handlers for those. In VB code please.

 

Later

Art

Dimitar
Telerik team
 answered on 05 Oct 2015
5 answers
126 views

Hey,

is there a way to display row / group numbers?

Let's say i have three RowGroupDescriptions, i want to start numbering each top level group.

Cheers,

Jens

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Oct 2015
3 answers
98 views

Hey,

the data i'm aggregating contains a string value (eg. country) for each item.

I want to display the string value in the PivotGrid as followed:

There should be a column "Country" and the grouped items should display an empty string (since i see no good way to aggregate strings except maybe concatenating). When i open up the groups and drill down to a specific item, the "Country" column should display the country value for the item.

Is there any way to achive this?

Cheers,

Jens

Hristo
Telerik team
 answered on 02 Oct 2015
5 answers
153 views

Dear All 

Please Help me how to make from like example MDI Layout - Radribbonbar 

i mean step by step... with properties not coding  

i have follow this step...

i have change properties 

controlbox = false 

formborderstyle = fixedsingle 

text = null 

 ismdicontainer = true 

 

i still cannot get like mdi layout - ribbonbar example

 

thanks before

 

Hengky
Top achievements
Rank 1
Veteran
 answered on 02 Oct 2015
1 answer
72 views

Hi,

I am using a RadToggleButton and a RadDropDownButton in a RadRibbonBar.

The RadDropDownbutton does not have the "IsChecked" property. How do I get the same behavior â€‹than a RadToggleButton, meaning: If i click on the radDropDownButton i want it to have the same "visual behavior" as a normal RadTogglebutton;

I need it to change the backgroundcolor after a click like the togglebutton and to change it back if you click again.

 

thanks for any help

 

 

Hristo
Telerik team
 answered on 02 Oct 2015
5 answers
568 views

Hello,

Very new to Telerik Components.

 I am using Telerik Gridview with different column types like multicombobox, decimal, combo box etc., Now I need to do validation each cells and written code for validation in CellValidating event of Gridview. it is  validating  properly. but I need to clear the cell content which is not happening.

I red other articles regarding the same and i initialize a cell validating event in the editor (Multicombobox editor). in this case the event itself is not firing.

kindly help me sort this issue.

 I am attaching code snip shot for your ref.

Grid level Cell validation event

private void grddisplaygrid_CellValidating(object sender, CellValidatingEventArgs e)
        {
            e.Cancel = true;
            grddisplaygrid.CurrentRow.Cells[0].Value = string.Empty;
            }​

 

in editor level (keydown event is firing but the validaiting event is not firing

-----------------------

private void grddisplaygrid_CellEditorInitialized(object sender, GridViewCellEventArgs e)
        {
                if (this.grddisplaygrid.CurrentColumn is GridViewMultiComboBoxColumn)
                {
                    RadMultiColumnComboBoxElement editor = e.ActiveEditor as RadMultiColumnComboBoxElement;
                    if (editor != null)
                    {
                        iscellintialized = true;
                        editor.EditorControl.EnableFiltering = true;
                        editor.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
                        editor.ClearTextOnValidation = false;
                        editor.Text = "";
                        RadMultiColumnComboBoxElement editorElement = editor.EditorElement as RadMultiColumnComboBoxElement; //_gridEditor.EditorElement as RadItem;
                        editorElement.KeyDown += new KeyEventHandler(MultiComboboxeditor_KeyDown); //.KeyDown += new KeyEventHandler(radGridView1_KeyDown);
                        editorElement.Validating += new CancelEventHandler(editor_validaitng);
                        editorElement.Validated += new EventHandler(editor_validated);
                    }
                }
            }

        private void editor_validated(object sender, EventArgs e)
        {
            throw new NotImplementedException();
        }

        private void editor_validaitng(object sender, CancelEventArgs e)
        {
            //throw new NotImplementedException();
            
        }​

 

 

 

 

 

 

 

 

T S
Top achievements
Rank 1
 answered on 02 Oct 2015
2 answers
107 views

I have a problem with the way ColumnGrouping is handling a GridViewTextBoxColumn.  I have recreated the problem in a very simple code snippet.  I am attaching a screen image of how it is rendered and the code that populates the table.

What am I doing wrong?

radGridView1.Visible = false;
radGridView1.Columns.Clear();
radGridView1.Rows.Clear();
radGridView1.SummaryRowsTop.Clear();
radGridView1.Refresh();
//radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
// Handle Planning Group definitions if provided.
ColumnGroupsViewDefinition ColView = new ColumnGroupsViewDefinition();
ColView.ColumnGroups.Add(new GridViewColumnGroup("SYSTEM"));
ColView.ColumnGroups.Add(new GridViewColumnGroup("DETAILS"));
ColView.ColumnGroups[0].Rows.Add(new GridViewColumnGroupRow());
ColView.ColumnGroups[1].Rows.Add(new GridViewColumnGroupRow());
radGridView1.TableElement.BeginUpdate();
GridViewTextBoxColumn gt = new GridViewTextBoxColumn("System");
//gt.MaxLength = 40;
gt.AutoSizeMode = BestFitColumnMode.None;
radGridView1.MasterTemplate.Columns.Add(gt);
ColView.ColumnGroups[0].Rows[0].Columns.Add(radGridView1.Columns["System"]);
for (int x=1; x<10; x++)
{
radGridView1.MasterTemplate.Columns.Add(new GridViewDecimalColumn(x.ToString()));
ColView.ColumnGroups[1].Rows[0].Columns.Add(radGridView1.Columns[x.ToString()]);
}
radGridView1.ViewDefinition = ColView;
// Add data rows
for (int y=1; y<20; y++)
{
// Populate the columns for this system
object[] columns = new object[10]; // Allocate a new array
columns[0] = "System"+y.ToString();
for (int c=1; c<10; c++)
{
columns[c] = Convert.ToDecimal(y*c);
}
radGridView1.Rows.Add(columns);
}
// Done populating grid
radGridView1.TableElement.EndUpdate();
radGridView1.Columns[0].IsPinned = true;
radGridView1.Columns[0].PinPosition = PinnedColumnPosition.Left;
radGridView1.Refresh();
radGridView1.Visible = true; 

 

 

 

Pete
Top achievements
Rank 1
 answered on 01 Oct 2015
2 answers
96 views

Hello:

 When I set uxTreeView.SelectedNode = someNode, if the newly selected node is out of view, the RadTreeView control is scrolled so that the newly selected node is in view and visible.  How do I prevent the scroll from occurring?  I want to select a node that may be out of view, but don't want the node to be scrolled into view.

 Thanks!

Mark
Top achievements
Rank 1
 answered on 30 Sep 2015
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
CheckedDropDownList
ProgressBar
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?