Telerik Forums
UI for WinForms Forum
2 answers
168 views

In my grid with databinding, I'd like to show the object properties in the first column, and the values in the second column. If the GridView isn't capable, are any other Telerik controls capable of doing this w/ binding.

 See attached for better description.

 

 

Nick
Top achievements
Rank 1
 answered on 20 May 2015
4 answers
285 views

Hi, how do I prevent hot-tracking and highlighting of a selected cell/row with the RadListView?

I need to do this with ListViews having a ViewType of both IconView and DetailsView.

I found the following post and tried the suggestion (with both ViewTypes) but it did not work for me:

http://www.telerik.com/forums/remove-selected-and-hover-states

The code I was using was (following the above post):

void radListView1_SelectedItemChanged(object sender, Telerik.WinControls.UI.ListViewItemEventArgs e)
{
    radListView1.CurrentItem = null;
    radListView1.SelectedItem = null;
}

 Thanks,

  -Lou


Lou
Top achievements
Rank 1
 answered on 19 May 2015
3 answers
157 views

Hi,

I have a certain docked window that is always opened when my application is started (and cannot be closed by the user) and I'd like to always keep this window  at the left-most tab position in the document container. Any new documents should open to the right of this document. How would I do this?

Thanks,

-Lou

Dimitar
Telerik team
 answered on 19 May 2015
3 answers
167 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
143 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
137 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
279 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
204 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
132 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
293 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
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?