Telerik Forums
UI for WinForms Forum
2 answers
102 views

how do i select an item programmatically in my listview so that the group is expanded, the item is selected and current, like radgridview isVisible = true, isCurrent = true ?

 

thanks

Andre
Top achievements
Rank 1
 answered on 23 Jan 2019
5 answers
727 views

Hi,

Is it possible that each time we select a new item in the autocompletebox, the selected item disappears from the list of auto complete items.

This is to avoid to enter twice the same items.

If this is possible, how to do it?

I put an attachment to show what is my current behaviour. What i would like is that once if have selected tag, it does not appears anymore in the list of choice

FYI, I am using auto completion with unbound mode.

Thanks a lot

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jan 2019
5 answers
72 views

     Hi 

 

Dimitar
Telerik team
 answered on 23 Jan 2019
1 answer
133 views

Hi, 

Sometime the last chat message does not appear when the scrollbar is visible, to reproduced:

1- Type Test <ENTER> multiple time until you see the scrollbar

2- Scroll up to the middle so you can't see the last message

3- Type any word and scroll down

Now you can't see the last typed message, instead you may see small dot, You may need to repeat step 3 more than one time.

I'm not sure if it is related to Fluent Theme, because I wasn't able to reproduce it with Crystal Theme.

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jan 2019
2 answers
259 views

I have a column with which get's edited using the ListViewDateTimeEditor.

The question is, how do I format the value that gets submitted to the ListView.

To be clear, I have already formatted the ListViewDateTimeEditor to use the following: 

Dim Editor As New ListViewDateTimeEditor
TryCast(Editor.EditorElement, BaseDateTimeEditorElement).Format = DateTimePickerFormat.Custom
TryCast(Editor.EditorElement, BaseDateTimeEditorElement).CustomFormat = "MM/dd/yyyy"
e.Editor = Editor

 

Even with this formatting, it still submits the full DateTime to the ListView when finished editing.  How do I make it output only the formatted Date value, without the Time?

Dimitar
Telerik team
 answered on 23 Jan 2019
1 answer
97 views

Hello,

I have 3 hierarchical levels in my grid. Here is the structure:

Master template

|___tab1: Details (html view)

|___tab2: Orders (standard grid)

       |___tab2-1: Clients (standard grid)

|___tab3: Networks (standard grid)

 

I'am inspired by some posts in the forum to save and restore the expanded rows and selected rows. It works great.

I save the grid state before data refresh, and reset after data refresh. Here is the code.

Dim scrollpos As Integer = -1
Dim CurrentRow As Integer = -1
Dim expandedRows As New List(Of Boolean)()
Dim selectedRows As New List(Of Boolean)()
 
    Private Sub SaveSeletectedAndExpanded()
        scrollpos = myGridView.TableElement.VScrollBar.Value
 
        If myGridView.CurrentRow IsNot Nothing Then
            CurrentRow = myGridView.CurrentRow.Index
        End If
        If myGridView.Rows Is Nothing Then
            Exit Sub
        End If
        expandedRows.Clear()
        selectedRows.Clear()
        For i = 0 To myGridView.Rows.Count - 1
            expandedRows.Add(myGridView.Rows(i).IsExpanded)
            ' How can I remember which page tab is displayed currently?
            selectedRows.Add(myGridView.Rows(i).IsSelected)
        Next
    End Sub
 
    Private Sub RestoreSeletectedAndExpanded()
        If scrollpos <> -1 Then
            myGridView.TableElement.VScrollBar.Value = scrollpos
        End If
        If CurrentRow <> -1 Then
            myGridView.CurrentRow = myGridView.Rows(CurrentRow)
        End If
        If expandedRows IsNot Nothing Then
            For i = 0 To expandedRows.Count - 1
                myGridView.Rows(i).IsExpanded = expandedRows(i)               
            Next
        End If
        If selectedRows IsNot Nothing Then
            For i = 0 To selectedRows.Count - 1
                myGridView.Rows(i).IsSelected = selectedRows(i)
            Next
        End If
    End Sub

 

But I've found that the current selected tabbed view in the expanded row is reset to default after refresh.

How can I save the current selected tabbled view index for the expanded rows ?

 

Thank you by advanced.

Hristo
Telerik team
 answered on 23 Jan 2019
1 answer
552 views

Hello, administrator

    In the past, I used the DataGridView control, but now I use the RadGridView control, but I can't find the EditingControlShowing event, I need this event now,

please tell me what event should I use instead of it

    Please reply me as soon as possible. Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Jan 2019
0 answers
116 views

Hi,

I was testing the RichTextEditor First Look in Demos and notice that it doesn't allow us to edit any parts of the document when the same document have specific parts of text locked for edition/change.

If I open the same document in Winword I can add or change text in others parts of the document that are not locked, without Word asking me the password or remove the "restrict editing" settings.

Is there any work around to overcome this issue in RichTextEditor?

PS: I don't want leave here any external links, but if you search for "how to lock specific text in word" in google you will see examples how to lock specific parts or sections of a winword document.

RSousa
Top achievements
Rank 1
 asked on 22 Jan 2019
11 answers
715 views
Hi
i've tested out your scheduler control whether does it support persian culture or not.
i found this link which help me very much!
almost everyThing is ok except month view. in month view the calendar does not works correctly and also gregorian month name display in the first of the week day that i don't see it.
in attention to that post which this schedule control does not support persian calendar, is there any way to work-around this problem ?
thanks in advance
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Jan 2019
4 answers
501 views

Hi, this should be an easy one, how can I fix that?

 

private void ContextMenuOpening(object sender, TreeBoxContextMenuOpeningEventArgs e)
        {
            //The below line doesn't work:
            //I need to reach the control to provide the contextmenu some "context"
            string myContext = (sender as Control).Name;
 
            cmMarkNullMenuItem.Tag = cmResetMenuItem.Tag = myContext;
            cmResetMenuItem.Enabled = EditorModel.PropertiesByName[myContext].IsChanged;
        }

 

 

 

Andrea
Top achievements
Rank 1
 answered on 21 Jan 2019
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?