Telerik Forums
UI for WinForms Forum
1 answer
161 views
We have a gridview and are having a problem validating cells.  Problem is this:  the first cell is valid, but the second is not valid.  When the user changes the current row and then clicks away with their mouse, the focus returns to the first cell, but I want it to go to the second cell, so that the user can enter a correct value.  How can I make the focus go to the invalid cell, not to the cell the user mouse-clicked out of?   

Thank you. 
Alexander
Telerik team
 answered on 30 Jun 2011
2 answers
116 views
Hello Telerik Team,

Today we found the following two issues when working on our Application.

Issue# 1: Message Box frame missing ( Refer MsgBox_BorderNotSeen.JPG).
     The frame (border, window) of the MessageBox is not seen but the Text on the MessageBox could be seen.
Issue# 2: Title Bar missing. (Already posted by Michael in Forums. Link: http://www.telerik.com/community/forums/winforms/forms-and-dialogs/title-bar-not-displaying.aspx). 

Please let us know the solutions for the above two issues.

Thanks & Regards,
Vijay
CoachJayla
Top achievements
Rank 1
 answered on 30 Jun 2011
1 answer
133 views
Hi All,

I want to expand / collapse all rows on button click event. I tried the dgv.MasterTemplate.ExpandAll() 
and dgv.MasterTemplate.CollapseAll() functions but none of them work. 

I have around 8000 rows and 6 levels. How do I do that?

Also I noticed, I expanded one group that has more than 2000 rows will take some seconds to expand and then I expand another one which has only 2 rows that also take same time of previous group. If I collapse previous group and then expand the second one it expanded quickly.  Is this normal behavior?

Thanks in advance
Richard Slade
Top achievements
Rank 2
 answered on 30 Jun 2011
1 answer
177 views
When I type something such as "abb",   the "ABB Allentown" value is selected.
After that, the user press Enter key that value chosen.
I want to the TAB key work the same way.
Pls provide the alternative solution to achieve this functionality.
Martin Vasilev
Telerik team
 answered on 30 Jun 2011
1 answer
114 views
Hi Guys,

I wonder if any one could help. We have a VB.Net  Windows application that is using the Telerik WinControls (2009 Q2) suite and one of our clients has reported an event in the Windows Event Log with the following details.

--------------------------------------------------------------------------------
Event:
Class: File System
Operation: QueryDirectory
Result: NO SUCH FILE
Path: C:\Program Files\[Application Folder Name]\Telerik.winControls.UI.INI
Date: 29/Jun/11 
-----
Filter:  Telerik.WinControls.UI.INI
--------------------------------------------------------------------------------

When the product is installed to a client machine we do not create a folder inside our application program folder called "Telerik.winControls.UI.INI" and certainly don't have any code that looks for that location or requires a floder of that name to be created..
I assume that there is code somewhere in the Telerik controls DLL that is looking for that location, but as it does not exist the error is recorded in the Event Log. Please can you confirm? Also can you confirm if this code is removed from a later version of the controls.

I have attached a screen shot of the event log entry.

Any help appreciated.
 
Best regards,
Duane.

Peter
Telerik team
 answered on 29 Jun 2011
4 answers
245 views
I am experiencing a strange behavior on the RadDropDownList when its datasource is a DataView.  I created an empty project to eliminate other possible factors.

On initial load, I set the datasource to a global dataview object, as well as the ValueMember and DisplayMember.  The dropdownlist is populated when clicking a single button.  As expected, the data is shown correctly.

If the dataview is refreshed multiple times (button clicked again), the data is shown correctly.  However, if the user drops down the listbox before refreshing the data, the text for the items in the dropdownlist changes to "System.Data.DataRowView".  

I have tried resetting the datasource, displaymember, valuemember, and performing a rebind after refreshing the data.  I still encounter the same issue.

Test code is below.  To see the strange behavior, add "RadDropDownList1.ShowDropDown()"  after refreshing the data.  Or simply display the dropdownlist before clicking the button. 

Possible bug????  This can't be by design.  :-)  This behavior does not occur with the MS dropdownlist control.  I have the latest version (2011.1.11.419).

Imports System.Data.SqlClient
 
Public Class Form1
    Private _dvNames_List As New DataView
 
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
 
        Dim sSQLConnection As String = "MYSQLCONNECTION"
        Dim oConn As New SqlConnection(sSQLConnection)
        Dim oCommand As New SqlCommand
 
        Dim oDT As New DataTable
        Dim oDA As SqlDataAdapter
 
        Try
            oConn.Open()
            With oCommand
                .Connection = oConn
                .CommandTimeout = 15
                .CommandType = CommandType.StoredProcedure
                .CommandText = "cp_MyStoredProc"
            End With
 
            oDA = New SqlDataAdapter(oCommand)
            oDA.Fill(oDT)
 
            oDT.TableName = "SQLDATATABLE"
            _dvNames_List.Table = oDT
 
        Catch ex As Exception
            Throw New Exception(ex.Message, ex)
        End Try
    End Sub
 
 
    Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        RadDropDownList1.ValueMember = "nameid"
        RadDropDownList1.DisplayMember = "name"
        RadDropDownList1.DataSource = _dvNames_List
    End Sub
End Class


Peter
Telerik team
 answered on 29 Jun 2011
1 answer
89 views
I got one problem in the Auto suggest functionality in the MultiColumnComboBox Column in the GridView.
I can't type my choice.
I need to select from the dropdown
Pls provide the alternative solution to achieve this functionality.
Martin Vasilev
Telerik team
 answered on 29 Jun 2011
6 answers
554 views

I've got a hierarchy gridView in my winform that allows the user to pick items to include. 
In the hierarchy the parent is a "category", and the child rows are "category items".
In the grid, there's 2 columns for both the parents and children: a checkbox (Include?) and a textbox ("category name" for parent rows, "item name" for child rows).

The checkbox in the parent row in the grid is equivalent to a "Select All" at the top of a grid used to check all items, but instead of checking all items in the grid, when check, only the checkbox of it's child rows should be checked.  This way the user can pick individual "items" to include, or all items in a category, by clicking one checkbox.

The primary problem I've had with this is that when a parent row checkbox item is checked, the checkboxes of that category's child rows don't get checked until a second checkbox in the grid is checked.  It's like the checkbox checking/unchecking isn't actually performed until another event fires. 

I've tried handling this in rowChanged, valueChanged, CellEndEdit, CellValueChanged, and other events, and they all seem to do what I want in debugging, but the visible checking of child row checkboxes doesn't happen when it should.

I'm opposed to posting any of the code I've tried since I've tried so many approaches and just seem to be going round and round,  but will instead put it in pseudocode format.  So here's what I'm trying to accomplish:

Private Sub gridItems_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles gridItems.ValueChanged

 

 

    'If the changed item is a parent row checkbox Then

 

 

 

        ' For each childRow in currentRow.childRows

 

 

 

            ' childRow.checkboxColumn.checkboxEditor.Value = currentRow.checkboxColumn.checkBoxEditor.Value

 

 

        ' Next

 

 

 

    'End If

 

 

 

 

End Sub

 

 

 

Thank you in advance for any suggestions and advice.
Dan
 

Jack
Telerik team
 answered on 29 Jun 2011
2 answers
631 views
Sirs: Is it possible to have a Rad Control that looks like a link button?
Steve Gray
Top achievements
Rank 1
 answered on 29 Jun 2011
7 answers
246 views
I am attempting to use the CellValidating event.  I am encountering two problems.  First e.RowIndex is coming back as a -1 on the a new first row.  The row has been added using data binding.  Question, how can I find what row I am working with.  Second, I attempt to update the value (e.Row.Cells(1).value = "99213"  in a cell to the default, and the data does not show in e.Value.

Respectfully,
Dave
Martin Vasilev
Telerik team
 answered on 29 Jun 2011
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)
Chart (obsolete as of Q1 2013)
Form
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?