Telerik Forums
UI for WinForms Forum
3 answers
153 views
i want to make ribbon bar button for show\hide a Document Window in the same position of  RadDoke any one can help me ??
Dimitar
Telerik team
 answered on 18 May 2015
4 answers
131 views

Hello people

I want to remove the hour of my date column.

 

I just have proved these three sentences but It don't work

'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dddd, MMM dd, yyyy}"
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:yyyy/MM/dd}"
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dd - MM - yyyy}"

My Form
Private Sub Form5_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
 Dim tabla3 As New DataTable()

'cancelación y devolución
        tabla3.Columns.Add("Código del pedido")
        tabla3.Columns.Add("Estado del pedido")
        tabla3.Columns.Add("Fecha de Cancelación o Devolución")
        tabla3.Columns.Add("Hora de cancelación")
        tabla3.Columns.Add("Forma de pago")

        dgvCanDev.DataSource = tabla3
        '===========================================================
        'Modificando el ancho de las columnas
        dgvCanDev.Columns("Código del pedido").Width = 140
        dgvCanDev.Columns("Estado del pedido").Width = 153
        dgvCanDev.Columns("Fecha de Cancelación o Devolución").Width = 210
        dgvCanDev.Columns("Hora de cancelación").Width = 150
        dgvCanDev.Columns("Forma de pago").Width = 150

'Assing formatting
dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dddd, MMM dd, yyyy}"
        'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:yyyy/MM/dd}"
        'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dd - MM - yyyy}"

End Sub

Also I try

Private Sub dgvCanDev_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles dgvCanDev.CellFormatting
        e.CellElement.TextAlignment = ContentAlignment.MiddleCenter

    End Sub

I let an image

Dimitar
Telerik team
 answered on 18 May 2015
0 answers
120 views

I have tow Toolwindow at the top of RadDock and other toolWindow at the buttom of RadDock so can i hide a free space between them to have one split line between toolWindows ??

 

look to Picture .

 

Ammar
Top achievements
Rank 1
 asked on 18 May 2015
1 answer
255 views

I am using a Q1 2015 Winforms RadGrid, added a checkbox column, made EnabledHeaderCheckbox = true, added following event and now want to select all rows in the grid when header checkbox is checked, but it is giving object reference error. Here is the code examples - 

 

        private void _sampleRadGridView_HeaderCellToggleStateChanged(object sender, GridViewHeaderCellEventArgs e)
        {
            if (e.State.ToString() == "On")
                    _sampleRadGridView.SelectAll();
            else
                _sampleRadGridView.ClearSelection();

         }

Please help. Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2015
1 answer
180 views

Hello, 

 

    I have two Grid Views with drag and drop behavior. working perfect. 

     Gesture is enabled on both.

     However, When I try to use Touch (on Tablet)  to drag row from Grid1 to Grid2 is not working, What am I missing ? 

     

Thank You

Mansi Mansi 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 May 2015
0 answers
122 views

have Error : "Object reference not set" when  use with document tab strip object

i want to set the following:

Dim Doctab as New DocumentTabStrip  

Doctab.DockManager.Dock=DockStyle.Fill

 

Ammar
Top achievements
Rank 1
 asked on 17 May 2015
4 answers
279 views

Bug: 

When I use the backspace key in RadRichTextEditor it causes visual artifacts to be left behind. It doesn't matter if I am deleting a selection or just one character. The artifacts disappear as soon as I press or click anything else (including pressing backspace again, on the KeyDown event).

See attached image.

Solution:

The control (or affected visual area) should be invalidated when the backspace key is pressed.

Hack:

I was able to eliminate all artifacts by overriding the KeyDown event and forcing the control to invalidate whenever the backspace key is pressed:

protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e)
{
    base.OnKeyDown(e);
 
    if (e.KeyCode == System.Windows.Forms.Keys.Back)
    {
        Invalidate();
    }
}

Chris Ward
Top achievements
Rank 1
 answered on 15 May 2015
4 answers
228 views

Hi,

I have a multicol combo with 5 columns and I have enabled filtering on each column :

multiColumnComboElement.EditorControl.EnableFiltering = true;

multiColumnComboElement.EditorControl.ShowHeaderCellButtons = true;

 

The issue I'm having is that when a user clicks on the OK button in the available filter list (see attached image) the main dropdown closes.

What I would like to happen is when the user clicks OK on the filter button the main drop down is still available but only showing the matching rows.

So for example and using the attached image as reference, if the user checks 19, 21, 30 and clicks OK the main dropdown remains open so the user can select from the filtered rows.

Not explaining this very well, but hope you get the idea.

I have managed to create a work around but its not ideal, basically on dropdown close I cancel if selectedIndex < 0, on dropdownopening I set selectedindex = -1.

Thanks for your help.

 Cheers

 

Shaun

 

 

 

Shaun
Top achievements
Rank 1
 answered on 14 May 2015
1 answer
157 views

Hello everyone,

 After I have updated my UI for WinForms to 2015.1.331.40, I am encountering strange problem with RadCommandBar control. If I create a new project in Visual Studio Community 2013 (VS 2012 Express as well) and drag, lets say, RadGridView into my RadForm everything is ok and i can change control Name as i like. However,  as soon as I add RadCommandBar control to my form, if I try to change other control Name property i get following message: 

Property value is not valid.

Details:

Unable to cast object of type:

'Telerik.WinControls.UI.RadGridView' to type

'Telerik.WinControls.RadItem'.

 

Does anyone have the same problem? If i add other controls (except RadCommandBar) everything is working as intended. My colleague is encountering the same problem on his computer (he is working on Win8, I am working on Win7). 

 

Any tips would be appreciated.

Thanks for your time,

Mateusz

 

 

Dimitar
Telerik team
 answered on 14 May 2015
0 answers
119 views
how to add Separator between elements in Ribbon Bar Group ??
Ammar
Top achievements
Rank 1
 asked on 14 May 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)
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?