Telerik Forums
UI for WinForms Forum
4 answers
136 views
I'm using a gridview in my C# Winforms project and I need to both perform conditional formatting and fire certain custom actions (such as emailing someone, playing a sound, popping a Desktop Alert, etc) when a condition is met.  I've set up a conditional formatting framework which works great...when a condition is met it formats the cell or row differently (for instance, if an Order Totals cell value falls below 20 in a row then it will turn the text red).  My problem is trying to perform these custom, non-formatting actions when this condition is met.  The only way I've made this work is to use the CellFormatting event and check each cell for the condition(s) after each cell is bound, then perform the action at that time.  I would much rather just create a ConditionalFormattingObject (or something similar), apply that to a column, and perform all actions and formatting changes at the same time.  Is this possible?

Not sure if it matters, but the datagrid is being bound to a List<> of custom business objects returned from a WCF service.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Dec 2013
1 answer
182 views
After zooming with the lassozoomcontroller, is it possible to get back to the original chart (with a click or key combination)?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Dec 2013
1 answer
79 views
I sub window form how a GroupBox I realize adaptive size, thank you
Dimitar
Telerik team
 answered on 27 Dec 2013
1 answer
133 views
 I have a ribbon bar. It has ribbonbarbuttongroup and it has different elements like dropdownlistelement etc. we are creating  dropdownlistelements at run time. We are populating dropdownlistelements on form load. On form load, we are also hiding ribbon tab using '
this.radribbonbar1.RibbonBarElement.Expanded = false;'. After execution of this line,  dropdownlistelement's items count has become 0 during debugging though items are showing in it. So its creating problem when we loop through dropdownlistelement.
When i manually expand/collapse ribbon bar multiple times again items count become 0. One more thing, Suppose i selected some text in
dropdownlistelement and expand/collapse ribbon bar one/two times, text is showing selected but during debugging no item is selected (When we loop through).





George
Telerik team
 answered on 26 Dec 2013
3 answers
467 views
Hello Telerik Team
I want to have a column in radgrid which type is float or decimal ,but I dont want to have a fix decimal point .for example I want to enter number 2.35 or 123,4.6589 so I use the code bellow 

 GridViewDecimalColumn DecimalColumn = new GridViewDecimalColumn();
            DecimalColumn .Width = 150;
            DecimalColumn .Name = "Decimal";
            DecimalColumn .HeaderText = "Decimal";
            DecimalColumn .ThousandsSeparator = true;
            radGridView1.Columns.Add(DecimalColumn);
but there is a problem with thousandsSeparator .when I am typying number in the cell and when I leave the cell there is no thousandsSeparator 
please help me.
 

thank you 
Peter
Telerik team
 answered on 25 Dec 2013
1 answer
161 views
Hello, I wonder how do I use this code in radGridView. It works perfectly in datagridview standard visual studio.

Code:

int n = dataGridView1.Rows.Add();
                dataGridView1.Rows[n].Cells[0].Value = listProced.
                dataGridView1.Rows[n].Cells[1].Value = listConv;
                dataGridView1.Rows[n].Cells[2].Value = listPro;
                dataGridView1.Rows[n].Cells[3].Value = listProce;

                dataGridView1.FirstDisplayedScrollingRowIndex = n;

                dataGridView1.CurrentCell = dataGridView1.Rows[n].Cells[0];

                dataGridView1.Rows[n].Selected = true;

thank you!
Stefan
Telerik team
 answered on 25 Dec 2013
1 answer
381 views
Is it possible to disable the contextmenu (palette) when hitting the right mouse button?
Stefan
Telerik team
 answered on 24 Dec 2013
1 answer
294 views

Hi merry christmas.. :)

I developed used by radListView..

I want to image click listener..

How I add image click listener??
Stefan
Telerik team
 answered on 24 Dec 2013
3 answers
408 views
See attached image. We must disable pinning of rows.

How can we achieve this? We've tried to disable all "Allow***" properties, but none gives us the desired behavior.
Stefan
Telerik team
 answered on 24 Dec 2013
2 answers
164 views
I have code: 
RadGridView1.TableElement.GridViewElement.GroupPanelElement.Text = "Some Text"
RadGridView1.TableElement.GridViewElement.GroupPanelElement.TextAlignment = ContentAlignment.TopLeft

and I want to print my GroupPanelElement.Text along with my GridView.  Is this possible?  and if so can someone please provide the code to to do this.

I tried:
  RadGridView1.TableElement.GridViewElement.GroupPanelElement.GridControl.PrintStyle.PrintGrouping = True

But that doesn't work.

Thank you in advance,

Curtis
R.D. Henry and Co.
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 23 Dec 2013
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
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?