Telerik Forums
UI for WinForms Forum
1 answer
193 views
Hello, I have the caretposition in a blank line, it just have the Enter symbol, I want to remove this line, I can't find a method to do this, you think you cal help me? Please.
Hristo
Telerik team
 answered on 13 Feb 2017
5 answers
191 views

Hi,

All the examples I have seen are all about identifying the row of a target GridView where an item has been dropped onto.

But I need to identify the column as well. Is there a way to do this given only the e.HitTarget from the RadDropEventArgs i.e. in

 

void dragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)

 

Thanks for any help.

Hristo
Telerik team
 answered on 13 Feb 2017
6 answers
1.3K+ views
Hi,

Maybe a stupid question, but I was wondering if there is an overview of the different formatstrings you can use for the DateTime Column?

I want to make a static function where I just need to call the right formatString, instead of every time searching the "net" for the right syntacs and add it.

Thanks
Scott
Top achievements
Rank 1
 answered on 13 Feb 2017
1 answer
272 views

 Hi, we use the rich text editor with the ribbon bar that has all the options to edit the text, we can select the font size from the drop down, but this only have integer values, we need it to be able to type the size we desire (in this case with decimals), well at least we need a .5 (8.5, 9.5, 10.5, 11.5 and 12.5)

 

Is there a way to achieve this? Please

 

I'm using 2017 Q1

 

Thank you all.

Hristo
Telerik team
 answered on 13 Feb 2017
2 answers
130 views

Hello,

I'm using a GridView for which I'm defining some default values.

When clicking on the NewRow, it displays the default values but if the user doesn't change any of row values, the row is never validated.

In the DefaultValuesNeeded event, I'm actually defining a specific column to have a specific ID each time, and I wish this could be sufficient to be able to validate the row. This used to work in Winforms Q1 2015...

OD
Top achievements
Rank 1
 answered on 13 Feb 2017
9 answers
178 views
Hi everbody,

I'm trying to format a bound DateTimeColumn to show only the short dateformat without the time. I have tried everything, but it does not work.

I tried:

Format = Short and Custom
FormatString = {0:d}
FormatString = d


I read the online documentation but it does not work. Does anyone have a solution for this?

Thank you very much and have a nice christmas!

Markus
Dimitar
Telerik team
 answered on 13 Feb 2017
5 answers
932 views
How do you change the default DateTime editor for a cell in a gridview date time column

I have tired using the DataEditFormatString, which according to the documentation is what you are supposed to use eg

gridView.Columns[5].DataEditFormatString = "{0:d}";

But it does not work.
Dimitar
Telerik team
 answered on 13 Feb 2017
2 answers
148 views

HI,

I want to add a "FilterClearButton" in every FilterCell. We are changing from Infragistics to Telerik and our users are familiar with that behaviour so I tried to create my own FilterCell but it was not working as expected. Everytime i click in my Filtercell, a EditorElement appears and my FilterClear button is not visible anymore. I think I have done smth wrong.

 

So has someone here tried anything similar?

Sincerely,

Dominik

Dominik
Top achievements
Rank 1
 answered on 13 Feb 2017
4 answers
1.2K+ views

I am using RadGridView. I insert datas to RadGirdView like this:

// I am using Lambda Expression to get datas from Database.
var o = _vt.persons;
radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
radGridView1.Columns.Clear();
radGridView1.Rows.Clear();
radGridView1.MasterTemplate.AllowAddNewRow = false;
radGridView1.Columns.Add(new GridViewDecimalColumn("No"));
radGridView1.Columns.Add(new GridViewTextBoxColumn("Puanı"));
radGridView1.Columns.Add(new GridViewTextBoxColumn("Sonuç"));
radGridView1.Columns[0].Width = 8;
radGridView1.Columns[0].ReadOnly = true;
{
    var enumerable = o.ToArray();
    foreach (var m in enumerable)
    {
        var r = radGridView1.Rows.AddNew();
        r.Cells[0].Value = m.no;
        r.Cells[0].Tag = "no";
 
        r.Cells[1].Value = m.puani;
        r.Cells[1].Tag = "puani";
 
        r.Cells[2].Value = m.sonuc;
        r.Cells[2].Tag = "sonuc";
    }
}
radGridView1.ClearSelection();
radGridView1.CurrentRow = null;

You knoew, when double-click on a cell, it forms to editable mode. You enter a new value an when you click anywhere on the form or click enter, new value appears in the cell. But when I lick anywhere on the form or click enter, I want to save new value to the database. For this, I am using CellEndEdit event, but I did not manage to save new value to database.

 

Kind regards,

Mehmet.

 

SarperSozen
Top achievements
Rank 1
 answered on 12 Feb 2017
3 answers
135 views
I am unable to select a theme for the RadDiagram.  I am trying to apply the Windows8Theme, but the dropdown list in the properties windows only shows: Reset and ControlDefault.  I did apply the to the form, but for some reason I can't get it to apply to the diagram.
Dimitar
Telerik team
 answered on 10 Feb 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?