This is a migrated thread and some comments may be shown as answers.

Multiselect Not working!!

5 Answers 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 17 Mar 2010, 05:17 PM

I'm currently using 2009.1.9.414 and i made sure the Multiselect option was set to true and the selectionmode was row but with no results. Here is the designer code for the grid

 

 

 

        Me.RadGridView_SessionData.AllowShowFocusCues = True 
        resources.ApplyResources(Me.RadGridView_SessionData, "RadGridView_SessionData")  
        Me.RadGridView_SessionData.BackColor = System.Drawing.Color.Black  
        Me.RadGridView_SessionData.Cursor = System.Windows.Forms.Cursors.Default 
        Me.RadGridView_SessionData.EnableFastScrolling = True 
        Me.RadGridView_SessionData.EnableHotTracking = False 
        Me.RadGridView_SessionData.ForeColor = System.Drawing.Color.White  
        '  
        '  
        '  
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowAddNewRow = False 
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowCellContextMenu = False 
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowColumnChooser = False 
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowColumnHeaderContextMenu = False 
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowDeleteRow = False 
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowEditRow = False 
        Me.RadGridView_SessionData.MasterGridViewTemplate.AllowRowResize = False 
        GridViewTextBoxColumn1.AllowGroup = False 
        GridViewTextBoxColumn1.AllowResize = False 
        GridViewTextBoxColumn1.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        resources.ApplyResources(GridViewTextBoxColumn1, "GridViewTextBoxColumn1")  
        GridViewTextBoxColumn1.FieldName = "DeviceName" 
        GridViewTextBoxColumn1.IsAutoGenerated = True 
        GridViewTextBoxColumn1.Multiline = True 
        GridViewTextBoxColumn1.ReadOnly = True 
        GridViewTextBoxColumn1.UniqueName = "DeviceName" 
        GridViewTextBoxColumn1.VisibleInColumnChooser = False 
        GridViewTextBoxColumn1.Width = 118  
        GridViewTextBoxColumn1.WrapText = True 
        GridViewTextBoxColumn2.AllowGroup = False 
        GridViewTextBoxColumn2.AllowResize = False 
        GridViewTextBoxColumn2.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        GridViewTextBoxColumn2.DataType = GetType(System.TimeSpan)  
        resources.ApplyResources(GridViewTextBoxColumn2, "GridViewTextBoxColumn2")  
        GridViewTextBoxColumn2.FieldName = "AirTime" 
        GridViewTextBoxColumn2.IsAutoGenerated = True 
        GridViewTextBoxColumn2.ReadOnly = True 
        GridViewTextBoxColumn2.UniqueName = "qwer" 
        GridViewTextBoxColumn2.VisibleInColumnChooser = False 
        GridViewTextBoxColumn2.Width = 80  
        GridViewDecimalColumn1.AllowGroup = False 
        GridViewDecimalColumn1.AllowResize = False 
        GridViewDecimalColumn1.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        GridViewDecimalColumn1.DataType = GetType(Integer)  
        resources.ApplyResources(GridViewDecimalColumn1, "GridViewDecimalColumn1")  
        GridViewDecimalColumn1.FieldName = "qew" 
        GridViewDecimalColumn1.ImageLayout = System.Windows.Forms.ImageLayout.None  
        GridViewDecimalColumn1.ReadOnly = True 
        GridViewDecimalColumn1.StretchVertically = False 
        GridViewDecimalColumn1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter  
        GridViewDecimalColumn1.UniqueName = "qewr" 
        GridViewDecimalColumn1.VisibleInColumnChooser = False 
        GridViewDecimalColumn1.Width = 80  
        GridViewImageColumn1.AllowResize = False 
        GridViewImageColumn1.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        GridViewImageColumn1.DataType = GetType(System.Drawing.Image)  
        resources.ApplyResources(GridViewImageColumn1, "GridViewImageColumn1")  
        GridViewImageColumn1.FieldName = "qwe" 
        GridViewImageColumn1.UniqueName = "ewr" 
        GridViewImageColumn1.VisibleInColumnChooser = False 
        GridViewImageColumn1.Width = 70  
        GridViewImageColumn2.AllowResize = False 
        GridViewImageColumn2.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        GridViewImageColumn2.DataType = GetType(System.Drawing.Image)  
        resources.ApplyResources(GridViewImageColumn2, "GridViewImageColumn2")  
        GridViewImageColumn2.FieldName = "asd" 
        GridViewImageColumn2.UniqueName = "asdf" 
        GridViewImageColumn2.VisibleInColumnChooser = False 
        GridViewImageColumn2.Width = 70  
        GridViewImageColumn3.AllowResize = False 
        GridViewImageColumn3.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        GridViewImageColumn3.DataType = GetType(System.Drawing.Image)  
        resources.ApplyResources(GridViewImageColumn3, "GridViewImageColumn3")  
        GridViewImageColumn3.FieldName = "asdf" 
        GridViewImageColumn3.UniqueName = "asdf" 
        GridViewImageColumn3.VisibleInColumnChooser = False 
        GridViewImageColumn3.Width = 60  
        GridViewImageColumn4.AllowResize = False 
        GridViewImageColumn4.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        GridViewImageColumn4.DataType = GetType(System.Drawing.Image)  
        resources.ApplyResources(GridViewImageColumn4, "GridViewImageColumn4")  
        GridViewImageColumn4.FieldName = "Range" 
        GridViewImageColumn4.UniqueName = "Range" 
        GridViewImageColumn4.VisibleInColumnChooser = False 
        GridViewImageColumn4.Width = 80  
        GridViewTextBoxColumn3.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        resources.ApplyResources(GridViewTextBoxColumn3, "GridViewTextBoxColumn3")  
        GridViewTextBoxColumn3.FieldName = "Assignment" 
        GridViewTextBoxColumn3.IsAutoGenerated = True 
        GridViewTextBoxColumn3.ReadOnly = True 
        GridViewTextBoxColumn3.UniqueName = "Assignment" 
        GridViewTextBoxColumn3.VisibleInColumnChooser = False 
        GridViewTextBoxColumn3.Width = 80  
        GridViewTextBoxColumn4.CustomDataOperation = Telerik.WinControls.UI.CustomDataOperation.Sorting  
        resources.ApplyResources(GridViewTextBoxColumn4, "GridViewTextBoxColumn4")  
        GridViewTextBoxColumn4.FieldName = "Division" 
        GridViewTextBoxColumn4.IsAutoGenerated = True 
        GridViewTextBoxColumn4.ReadOnly = True 
        GridViewTextBoxColumn4.UniqueName = "Division" 
        GridViewTextBoxColumn4.VisibleInColumnChooser = False 
        GridViewTextBoxColumn4.Width = 100  
        GridViewImageColumn5.DataType = GetType(Byte())  
        resources.ApplyResources(GridViewImageColumn5, "GridViewImageColumn5")  
        GridViewImageColumn5.FieldName = "DeviceID" 
        GridViewImageColumn5.IsAutoGenerated = True 
        GridViewImageColumn5.IsVisible = False 
        GridViewImageColumn5.UniqueName = "qwer" 
        GridViewImageColumn5.Width = 200  
        GridViewDecimalColumn2.DataType = GetType(Integer)  
        resources.ApplyResources(GridViewDecimalColumn2, "GridViewDecimalColumn2")  
        GridViewDecimalColumn2.FieldName = "IncidentID" 
        GridViewDecimalColumn2.IsAutoGenerated = True 
        GridViewDecimalColumn2.IsVisible = False 
        GridViewDecimalColumn2.UniqueName = "IncidentID" 
        GridViewDecimalColumn3.DataType = GetType(Integer)  
        resources.ApplyResources(GridViewDecimalColumn3, "GridViewDecimalColumn3")  
        GridViewDecimalColumn3.FieldName = "UserID" 
        GridViewDecimalColumn3.IsAutoGenerated = True 
        GridViewDecimalColumn3.IsVisible = False 
        GridViewDecimalColumn3.UniqueName = "UserID" 
        GridViewDecimalColumn3.Width = 124  
        GridViewDecimalColumn4.DataType = GetType(Integer)  
        resources.ApplyResources(GridViewDecimalColumn4, "GridViewDecimalColumn4")  
        GridViewDecimalColumn4.FieldName = "SessionID" 
        GridViewDecimalColumn4.IsAutoGenerated = True 
        GridViewDecimalColumn4.IsVisible = False 
        GridViewDecimalColumn4.ReadOnly = True 
        GridViewDecimalColumn4.UniqueName = "SessionID" 
        GridViewDecimalColumn5.DataType = GetType(Integer)  
        resources.ApplyResources(GridViewDecimalColumn5, "GridViewDecimalColumn5")  
        GridViewDecimalColumn5.FieldName = "NodeID" 
        GridViewDecimalColumn5.IsAutoGenerated = True 
        GridViewDecimalColumn5.IsVisible = False 
        GridViewDecimalColumn5.UniqueName = "NodeID" 
        GridViewDecimalColumn6.DataType = GetType(Integer)  
        resources.ApplyResources(GridViewDecimalColumn6, "GridViewDecimalColumn6")  
        GridViewDecimalColumn6.FieldName = "TankMaxPressure" 
        GridViewDecimalColumn6.IsAutoGenerated = True 
        GridViewDecimalColumn6.IsVisible = False 
        GridViewDecimalColumn6.UniqueName = "TankMaxPressure" 
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewTextBoxColumn1)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewTextBoxColumn2)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewDecimalColumn1)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewImageColumn1)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewImageColumn2)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewImageColumn3)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewImageColumn4)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewTextBoxColumn3)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewTextBoxColumn4)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewImageColumn5)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewDecimalColumn2)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewDecimalColumn3)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewDecimalColumn4)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewDecimalColumn5)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.Columns.Add(GridViewDecimalColumn6)  
        Me.RadGridView_SessionData.MasterGridViewTemplate.DataSource = Me.SessionBindingSource  
        Me.RadGridView_SessionData.MasterGridViewTemplate.ShowGroupedColumns = True 
        Me.RadGridView_SessionData.MultiSelect = True 
        Me.RadGridView_SessionData.Name = "RadGridView_SessionData" 
        Me.RadGridView_SessionData.NewRowEnterKeyMode = Telerik.WinControls.UI.RadGridViewNewRowEnterKeyMode.None  
        Me.RadGridView_SessionData.ReadOnly = True 
        '  
        '  
        '  
        Me.RadGridView_SessionData.RootElement.ForeColor = System.Drawing.Color.White  
        Me.RadGridView_SessionData.RootElement.Text = Global.ScottHealthSafety.SEMS.UI.Windows.My.Resources.Resources.Appcopyright  
        Me.RadGridView_SessionData.ThemeName = "BlueGrid3" 

 

 

5 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 19 Mar 2010, 02:53 PM
Hi Michael,

This issue does not occur in the latest version of RadControls for WinForms Q1 2010 (v2010.1.10.308). So please update your application to the latest RadControls for WinForms suite. You can download it from your account at our website: Your Account >> Downloads >> RadControls for WinForms.

If you have further issues or difficulties, do not hesitate to contact us back.

Greetings,
Svett
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
karim
Top achievements
Rank 1
answered on 10 Jun 2010, 04:18 PM
Hi,

I'm using the Q1 2010 controls and i have the same problem.

if i use the vista Telerik theme or Telerik theme or any other black theme the Multi select option is not working

if i use any other theme it work great. i need to use the black theme for my application view

what can i do. ?
0
Svett
Telerik team
answered on 17 Jun 2010, 09:14 AM
Hello karim,

The black themes in the Miscellaneous assembly are not recreated in the new Visual Style Builder, hence they do not apply correctly. You can use Visual Style Builder to create your own black theme. You can read more about Visual Style Builder tool in this documentation article. In addition, you can refer to this documentation article as sample on how to create a new theme from an existing one.

Sincerely yours,
Svett
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Matthew Bishop
Top achievements
Rank 1
answered on 28 Dec 2017, 11:43 AM

7 years on and this is still an issue?!? These are bundled themes with your controls, not something external of Progress/ Telerik.

If they are flawed they should not be bundled and we shouldn't have to go through theme after theme just trying to workout which one works and which one doesn't.

That is not to mention the embarrassment we are faced with by either releasing software with bugs, or trying to explain to our users that if they want to use the multi-select they have to change the theme.

What is the timeline on fixing the bundled themes?

 

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 28 Dec 2017, 12:52 PM
Hello, Matthew, 

Thank you for writing.  

The multiple selection in RadGridView works as expected with all themes in the latest version of the suite. Please refer to the attached gif file illustrating the behavior on my end.

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Svett
Telerik team
karim
Top achievements
Rank 1
Matthew Bishop
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or