or
| public void SelectRows(DataTable tbl) |
| { |
| foreach (DataRow row in tbl.Rows) |
| this.Rows[_KeyMappings[Convert.ToInt32(row[_KeyMember])]].IsSelected = true; |
| if (tbl.Rows.Count > 0) |
| this.CurrentRow = this.SelectedRows[0]; |
| this.Update(); |
| } |
* Tested on a WinXP machine, 2GB RAM, Intel Core 2 @ 2.13GHz (just one core utilized during the tests)
Usability has also been greatly improved, and the API simplified.
There are several features which we left for a subsequent beta. We will suggest reviewing the list of Known Issues and the Backwards Compatibility log before using the RadGridView beta in production. You can download the docs below.
Build: RadControls for WinForms Q1 2008 Beta (trial) installer
Docs: Known Issues and Backwards Comapatibility
Help: RadControls_for_WinForms_Help_Q1_2008_Beta.zip| Imports Telerik.WinControls |
| Imports Telerik.WinControls.UI |
| Public Class Form1 |
| Friend tab1 As New TabItem |
| Friend commandtab1 As New RadRibbonBarCommandTab |
| Friend chunk1 As New RadRibbonBarChunk |
| Friend combo1 As New RadComboBoxElement |
| Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load |
| Dim conSQLConnection As New SqlClient.SqlConnection("DATA SOURCE=SQLSERVER.DOMAIN.COM;Integrated Security=SSPI;INITIAL CATALOG=Table1") |
| Dim adpTable1Adapter As New SqlClient.SqlDataAdapter("SELECT * FROM Table1", conSQLConnection) |
| Dim tblTable1 As New DataTable |
| conSQLConnection.Open() |
| adpExpressAdapter.Fill(tblExpressComputers) |
| tab1.Text = "Tab 1" |
| commandtab1.Tab = tab1 |
| ribbon1.CommandTabs.Add(commandtab1) |
| chunk1.Text = "Chunk 1" |
| commandtab1.Items.Add(chunk1) |
| combo1.AutoSize = False |
| combo1.Size = New Drawing.Size(100, 20) |
| combo1.DataSource = tblTable1Computers |
| combo1.ValueMember = "computer_id" |
| combo1.DisplayMember = "name" |
| chunk1.Items.Add(combo1) |
| End Sub |
motivoExlusionBindingSource.DataSource = Solicitud.MotivosExclusion.ListaMotivosTipo;
radGridView1.DataSource = motivoExlusionBindingSource;