Telerik Forums
UI for WinForms Forum
5 answers
100 views

How can I access the reminderBindableObjects from the RadSchedulerReminder1_AlarmFormShowing event?

 

Thanks,

 

Rafael

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jul 2016
6 answers
183 views

Regrads.

 

In my proyect i'm using a MultiColumnComboBox control with data Source, but the table have very much information.  In the moment when user is writing the  MultiColumnComboBox begin filtering, but  this teke several time to search the data. i use the next code to filter: (vb.net)

 

 Sub conf_combo_pacientes()
        Me.tb_identificacion.AutoFilter = True
        Me.tb_identificacion.DisplayMember = "Identificación"

        Dim filter As New FilterDescriptor()
        filter.PropertyName = Me.tb_identificacion.DisplayMember
        filter.[Operator] = FilterOperator.Contains
        Me.tb_identificacion.EditorControl.MasterTemplate.FilterDescriptors.Add(filter)
        tb_identificacion.MultiColumnComboBoxElement.EditorControl.EnableCustomFiltering = True
        AddHandler tb_identificacion.MultiColumnComboBoxElement.EditorControl.CustomFiltering, AddressOf EditorControl_CustomFilteringrl
        AddHandler tb_identificacion.KeyDown, AddressOf TB_CEDULA_RL_KeyDown

        tb_identificacion.DropDownSizingMode = SizingMode.UpDownAndRightBottom
        tb_identificacion.AutoSizeDropDownToBestFit = True

    End Sub

 

Private Sub EditorControl_CustomFilteringrl(sender As Object, e As Telerik.WinControls.UI.GridViewCustomFilteringEventArgs)
        Dim element As RadMultiColumnComboBoxElement = tb_identificacion.MultiColumnComboBoxElement

        Dim textToSearch As String = tb_identificacion.Text
        If AutoCompleteMode.Append = (element.AutoCompleteMode And AutoCompleteMode.Append) Then
            If element.SelectionLength > 0 AndAlso element.SelectionStart > 0 Then
                textToSearch = tb_identificacion.Text.Substring(0, element.SelectionStart)
            End If
        End If
        If String.IsNullOrEmpty(textToSearch) Then
            e.Visible = True
            For i As Integer = 0 To element.EditorControl.ColumnCount - 1
                e.Row.Cells(i).Style.Reset()
            Next
            e.Row.InvalidateRow()
            Return
        End If
        e.Visible = False
        For i As Integer = 0 To element.EditorControl.ColumnCount - 1
            Dim text As String = e.Row.Cells(i).Value.ToString()
            If text.IndexOf(textToSearch, 0, StringComparison.InvariantCultureIgnoreCase) >= 0 Then
                e.Visible = True
                e.Row.Cells(i).Style.CustomizeFill = True
                e.Row.Cells(i).Style.DrawFill = True
                e.Row.Cells(i).Style.BackColor = Color.FromArgb(201, 252, 254)
            Else
                e.Row.Cells(i).Style.Reset()
            End If
        Next
        e.Row.InvalidateRow()
    End Sub

    Private Sub tb_identificacion_KeyDown(sender As Object, e As KeyEventArgs) Handles tb_identificacion.KeyDown
        Try
            If e.KeyCode = System.Windows.Forms.Keys.Enter Then
                If Me.tb_identificacion.ValueMember <> "" Then
                    tb_identificacion.SelectedValue = tb_identificacion.EditorControl.CurrentRow.Cells(tb_identificacion.ValueMember).Value
                Else
                    tb_identificacion.SelectedValue = tb_identificacion.EditorControl.CurrentRow.Cells(tb_identificacion.DisplayMember).Value
                End If

                tb_identificacion.Text = tb_identificacion.EditorControl.CurrentRow.Cells(tb_identificacion.DisplayMember).Value.ToString()
                tb_identificacion.MultiColumnComboBoxElement.ClosePopup()
                tb_identificacion.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.SelectAll()
            End If
        Catch ex As Exception

        End Try
    End Sub

While the user is writing, then control is filtering but I do not want it so, i woluld like that the user to write but when user press key intro, in this moment the multiColumnComboBox  is filtering. But i don't know do it.

 

 

Dimitar
Telerik team
 answered on 14 Jul 2016
7 answers
338 views

Hello All,

I have problem when catch filtering datetime in radgrid, in my case i want get a result of filter ,

this is my snippet result of Expression Filter :

ModifiedAt = #07/14/2016 00:00:00#

a problem come from character "#" , i used an expression to my SQl query , show i want to remove # and replace with single quote " ' ", like this

ModifiedAt = '07/14/2016 00:00:00' 

so how its work?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jul 2016
0 answers
64 views

Hello ,

I have RadToggleButton , and I try to set image as backgorund (streach the image on all the button)

But when I set the BackgroundImage to my image and the BackgroundImageLayout as streach (or any other opetion) nothing happen.

Thanks.

MA

 

Moti
Top achievements
Rank 1
 asked on 13 Jul 2016
3 answers
153 views

Hello Support,

  I am using v.2015.2.728.40 and are experiencing some issues with the behavior of the ToggleButton and CommandBarButton.  The issue is that when clicking on the toggle button, everything is fine for the first time.  The response time for the button progressively degrades as you continue using the button.  I was able to reproduce this problem by creating a new Project with an empty form, dropping in a CommandBar, then adding five ToggleButtons.  Set the togglebuttons to DrawImage=False and DrawText=True.  Run the application and in a circular fashion, click on the each button with a short delay in between.  You should notice that after a few iterations, the buttons become unresponsive.  This behavior is now hindering the functionality of my application.

Thanks

Francisco

Dimitar
Telerik team
 answered on 13 Jul 2016
3 answers
276 views
I am trying to set the row height of the RadGridView element to fill the whole space of the grid instead of showing blank space when the number of rows is less than the height of the grid, the problem is I couldn't find a simple way to do this without many complications and performance issues using different events to set the RowHeight property when the size is changed for the grid. How to achieve this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jul 2016
3 answers
152 views

Hi,

if I put a field with many distinct values (like product name) on columns or rows, and I try to open filter menu - it takes time to load all items in selection tree, user fills like PivotGrid hangs. Is it possible to cancel either filling selection tree or cancel the whole filter menu, so user can only sort using up\down arrow?

Thanks

Alex

 

Alex Dybenko
Top achievements
Rank 2
 answered on 12 Jul 2016
3 answers
316 views
i want to change a visibility property into an one ore more cell when i adding a new row 

Private

 

Sub RadGridView1_CellBeginEdit(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles RadGridView1.CellBeginEdit

 

 

 

' if a value of field-column if "C" 
dim ValueColum as string=Me.RadGridView1.Rows(RowIndex).Cells(Me.RadGridView1.MasterGridViewTemplate.Columns("ind_tiporiga").Index).Value

 

 

 

dim i as integer=3 '  this is a indexCell
Select case ValueColum 
    case "C"
         Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed

 

 

 

         Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.BackColor = Color.Gray

 

 

 

case Else
        Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.Visibility = Telerik.WinControls.ElementVisibility.visible

 

        Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.BackColor = Color.white

end select
end sub
' This Code don't work please help me
Hristo
Telerik team
 answered on 12 Jul 2016
1 answer
116 views
Hi, 

I'm using a chart view bound to a pivot grid which works rather nicely. I was wondering if these controls together support the functionality of radial charts.

Eg. Pivot only contains Row or Columns. Then we the analysis would be for distinct combination in Rows or Columns show a pie for each aggregated value.
Hristo
Telerik team
 answered on 12 Jul 2016
6 answers
443 views
Is there a simple way to set the alignment of text added to this panel to be at the top left?  It defaults to center left.
Hristo
Telerik team
 answered on 12 Jul 2016
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?