or
//Since workListRadGridView.ColumnChooser's Parent or MdiParent property is not set,//setting its StartPosition to FormStartPosition.CenterParent doesn't work.//As a workaround, get parent form's desktop location and offset it 50 pixels from//both X and Y co-ordinates to keep the column chooser within the bounds of the application.//Parent form desktop location.//DesktopLocation property is idle choice because of the following remark in its documentation on MSDN://"If your application is running on a multimonitor system, the coordinates of the form are the coordinates for the combined desktop."//Telerik's documentation for ColumnChooser also has the mention for DesktopLocation property.//(though not in the context of "setting the location")if (this.ParentForm != null && this.ParentForm.DesktopLocation != null){ Point columnChooserDesktopLocation = new Point(this.ParentForm.DesktopLocation.X, this.ParentForm.DesktopLocation.Y); columnChooserDesktopLocation.Offset(50, 50); radGridView.ColumnChooser.DesktopLocation = columnChooserDesktopLocation;}Private Sub txtProducedAt_TextChanged(sender As System.Object, e As System.EventArgs) Handles txtProducedAt.TextChanged Dim iSql As String = "SELECT ID,SiteName FROM Sites WHERE SiteName = '" & txtProducedAt.Text & "' " Dim da As New OleDbDataAdapter(iSql, LoginForm1.Conn) Dim dTable As DataTable = New DataTable da.Fill(dTable) If dTable.Rows.Count = 0 Then Exit Sub ElseIf dTable.Rows.Count > 0 Then txtProducedAt.Text = dTable.Rows(0)("SiteName").ToString txtAccountNumber.Focus() End If End Sub

