Telerik Forums
UI for WinForms Forum
2 answers
76 views

Hi,

I'm binding a grid to a collection where one of the properties is of type 'Color'.

I want to validate the selected color, as only a subset of colors are allowed.

The validating event fires twice after changing the value of 'Color col' cell. And hence my msg box is shown twice. Any way around this?

private void StatusRadGridView_CellValidating(object sender, CellValidatingEventArgs e)
{
    if (e.ActiveEditor != null && e.ActiveEditor is GridColorPickerEditor)
    {
        Color c = (Color)e.Value;
        if(!AllowedColors.Exists(o=>o.Name == c.Name))
        {
            e.Cancel = true;
            RadMessageBox.Show(errorMsg);
        }
    }
}

Thomas
Top achievements
Rank 1
 answered on 21 Jul 2016
1 answer
306 views
I need greater than and less than rules in excel like filtering. How can I get it?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jul 2016
3 answers
106 views

I want to insert column which index what i want.

so.. i Collocate control and I init first column and rows.

i success to insert column in runtime

but it is'nt editable..

I can edit when use Add(String) method ...

what is difference between?

I doubt columnItem's property.(Inheritanced GridViewDataColumn)

 - code

                        int index =radGridView1.SelectedCells[0].ColumnInfo.Index;

                         columnItem item=new columnItem();

                        radGridView1.Columns.Insert(index,item);

 

Please advise.

excute immature english.

jung
Top achievements
Rank 1
 answered on 20 Jul 2016
9 answers
456 views
Hello
How can right-to-left to form his form in this way?
Dimitar
Telerik team
 answered on 19 Jul 2016
2 answers
698 views

I have a GridView with some bound data. I have an unbound checkbox on the first column... This checkbox simply acts as a marker for further processing... eg on all checked rows, data is saved when a button is pressed...

On change of each checkbox I need to run some validation... which I won't go into here...So I use the event MyGridView_ValueChanged(object sender, EventArgs e).

From this event I use the following code to go through each row and find all the checked checkboxes...

            foreach(GridViewRowInfo gvri in MyGridView.Rows)
            {
                if (Convert.ToBoolean(gvri.Cells["chkSelected"].Value) == true)
                {
                       // Happy Days
                 }
            
}

Even though checking this checkbox fires the ValueChanged event, when this code is run, there are no values that return true for the checkboxes.  If I select another checkbox, the first one now appears as true, but the one I just selected remains false... Why does this not show the changed value in the grid?  Also can you advise if this is possible using any other events / properties?

Thanks

Mohammed
Top achievements
Rank 1
 answered on 19 Jul 2016
1 answer
96 views

Hi,

We are building a pivot table using Telerik to display figure for different dimension.  But my client also require the pivot table to able to select one of the cell (figure) and show the records related to that figure:

For example

             Jan 2016

Type A        10

Type B          8

The requirement is to click the figure 10 and somewhere show the 10 records which fits the criteria Jan 2016 and Type A.

Is there anyway to do so?

Thanks

Hristo
Telerik team
 answered on 19 Jul 2016
1 answer
241 views
Hey
I added a button in the start menu of RadRibbonBar. The problem is the button stays visible on the screen even after clicking it. How do I hide the start menu after the button is clicked?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jul 2016
1 answer
120 views
Is there a correct implementation to use this functionality between pivot grid and chart view.

Looking at it from an external perspective drilling down into a bar would effectively apply 1 or more filters to the data that correspond the bar selected. 

Many Thanks
Hristo
Telerik team
 answered on 18 Jul 2016
1 answer
123 views

Evaluating product;

 

How can I cancel a SelectedIndex change for a RadListView??

 

Thanks!

Dimitar
Telerik team
 answered on 18 Jul 2016
11 answers
1.4K+ views
I moved my code to a different virtual machine after getting back from a trip.  I just discovered that I can no longer use the mouse to either select or move any Rad GUI elements in my project.  Instead, I have a listing of icons for all Rad components at the bottom of the editing screen, in a window that I cannot dismiss.  I cannot figure out how this happened.

If I start a new project, it's fine, and everything works as expected.

No regular windows components are affected.  Those I can still select with the mouse, even when they're in a RadForm. 

I imagine there is a simple solution, but I can't figure it out.

Thanks


Dimitar
Telerik team
 answered on 18 Jul 2016
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?