Telerik Forums
UI for WinForms Forum
1 answer
192 views

Hi

How can i use a contexMenueStrip on a radGridView ?

I wanna cut a cell and paste it into another but I don't wanna use radGridView cutting property ...

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jul 2017
1 answer
196 views

Hello,

I have set up a RadDataEntry for inputting into a custom view model very similarly to the example given in the documentation found here:

http://docs.telerik.com/devtools/winforms/dataentry/validation

What I want to be able to do and have not been able to find a clear way of doing so is to check the validation state of the control. I want to check to make sure none of the fields are in an Invalid state (aka have an error) when the user clicks the Save button. If anything has an error, I want to be able to prevent the Save button from being enabled or saving the data until they fix the errors. Is there a built in way or a standard procedure for checking if any errors exist in the Data Entry control?

Thanks,

Hristo
Telerik team
 answered on 19 Jul 2017
2 answers
117 views

Hello,

I am having trouble with slow down when loading series with a large number of points (>10,000). I have seen in other posts that the suggested solution is to manually aggregate out the data. I just have couple of questions in reference to this.

1. Are there any other ways to increase performance? I have seen on posts in the WPF forum that there are graphics acceleration features available using Direct2D. Am I correct in understanding that these are not at all available in the Winforms version?

2. If aggregating the data is the only way to reduce the number of rendered points, is it possible to load in removed data points when using the zoom feature to zoom in on sections of the data?

Thank you for your help!

Dimitar
Telerik team
 answered on 17 Jul 2017
37 answers
2.1K+ views

I am needing that every document (text file) is converted to the same Font(Consolas) and Size(10).

 I have tried 

Public Sub SetDefaultFontPropertiesToEditor(ByVal editor As RadRichTextEditor)
 
editor.RichTextBoxElement.ChangeFontFamily(New Telerik.WinControls.RichTextEditor.UI.FontFamily("Consolas"))
 
editor.RichTextBoxElement.ChangeFontSize(Unit.PointToDip(10))
 
editor.DocumentInheritsDefaultStyleSettings = True
 
 End Sub

Which changes the Font and Size drop downs but not the document.

any thoughts


 
Harm
Top achievements
Rank 1
 answered on 17 Jul 2017
1 answer
404 views

Hi,

How do I set the visibility of the search row programatically please.? I know I can show it using ctrl F (Localization, does this change for chinese equivalent?) but we don't want to have users phoning us up for support if they click the close button and they don't know about the ctrl F option.

At the moment I'm calling the following to force it to appear from a context menu option.

dataGrid.AllowSearchRow = false;
dataGrid.AllowSearchRow = true;

From finding a thread on the forum I can read the visibility by calling

var searchCell = dataGrid.TableElement.GetCellElement(dataGrid.MasterView.TableSearchRow, null) as GridSearchCellElement;
if (searchCell != null) return searchCell.Visibility != ElementVisibility.Hidden;

But if I set searchCell.Visibility then I'm still seeing the row that would hold the search controls, but the controls themselves are hidden.

thanks :)

 

Dimitar
Telerik team
 answered on 17 Jul 2017
2 answers
146 views

Hi,

I am following this example : http://www.telerik.com/support/kb/winforms/details/creating-a-radradiobuttoncellelement

It is working now, but i want to add 1 textbox behind the last radio button. Default this textbox is disable. When click last radio button, it will be enabled and focus.

I already added it. But i can not set focus when i click on the radio button.

Now i am putting the code in SetContentCore:

 customText.Enabled = true;
 customText.Focus();

But it is not working, because when i click to any radio button, it will run SetContentCore method all rows.

Thanks. 

Dimitar
Telerik team
 answered on 17 Jul 2017
1 answer
2.1K+ views

My grid view has 2 handlers, that should handle cell and row formatting.

grid.RowFormatting += gridViewRaces_RowFormatting;

grid.CellFormatting += gridViewRaces_CellFormatting;

And this is their code:
private void gridViewRaces_RowFormatting(object sender, RowFormattingEventArgs e) {

      e.RowElement.DrawFill = true;

      e.RowElement.GradientStyle = GradientStyles.Solid;

      e.RowElement.RowInfo.Cells[2].Style.BackColor = Color.Blue;

}

 

private void gridViewRaces_CellFormatting(object sender, CellFormattingEventArgs e) {

      e.CellElement.DrawFill = true;

      e.CellElement.GradientStyle = GradientStyles.Solid;

      e.CellElement.BackColor = Color.Black;

}

}
But i've 2 problems:
1. Event CellFormatting doesn't fire on filling of Grid
2. RowFormatting is firing on filling of Grid, but color of cell doesn't change.
How to change cell color on GridView refresh/setting datasource?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jul 2017
1 answer
117 views
I have a gridview with CellValueChanged event on checkbox checked changed, and filtering is enabled
When i try to filter using checkbox column, it gives me exception???
I want some example to implement this scenario.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jul 2017
1 answer
297 views

I want to update grid row and show the selected value highlighted in GridViewComboBoxColumn so that i can change value from there.

Initially i try so many times but it will display only System.Data.DataRowView in GridViewComboBoxColumn.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jul 2017
4 answers
88 views

Hi 

I've got a radGridView like this below

Now I wanna drag a cell and it's value, like that is significanted by red line, and drop it into a vacant cell

would you please help me .. It's very essential and emergency

 

Mohammad
Top achievements
Rank 1
 answered on 16 Jul 2017
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?