or
if (radGridView1.Rows[e.RowIndex].Cells["usu_clave"].Value == null) { radGridView1..Rows[e.RowIndex].Cells["usu_clave"].ErrorText ="some error"; e.Cancel = true; //prevent the user to save changes return; }
<code style="color: #000;">if (radGridView1.Rows[e.RowIndex].Cells["usu_clave"].Value == null)</code><code style="color: #069;font-weight: bold;"></code><code style="color: #000;"> {</code><code style="color: #000;"> radGridView1..Rows[e.RowIndex].Cells["usu_clave"].ErrorText ="some error";</code><code style="color: #069;font-weight: bold;"></code><code style="color: #000;"> e.Cancel = true; //prevent the user to save changes </code><code style="color: #069;font-weight: bold;"></code><code style="color: #000;"> return;</code><code style="color: #069;font-weight: bold;"></code> }<br><div style=" background-color: #fff;"><span style=" "><span style=" margin-left: 0px !important;"><code style="color: #000;"></code></span></span></div>pGrid.BeginUpdate();// QueryDB below returns a Datatable with the resultset or the SELECTDataTable rs = clsDBConn.QueryDB("SELECT a,b,c FROM T1 UNION SELECT a,b,c FROM T2"); pGrid.DataSource = null; pGrid.DataSource = rs;pGrid.MasterTemplate.AutoGenerateColumns = true;pGrid.MasterTemplate.AllowAutoSizeColumns = true;pGrid.MasterTemplate.AllowAddNewRow = false;pGrid.MasterTemplate.AllowDeleteRow = false;pGrid.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.None;pGrid.MasterTemplate.SelectionMode = GridViewSelectionMode.FullRowSelect;pGrid.TableElement.ShowTranslucentSelectionRectangle = true;pGrid.ShowRowHeaderColumn = false;pGrid.EndUpdate();foreach (GridViewDataColumn column in pGrid.Columns){ column.ReadOnly = false;}Is there any way to set in command bar any control acceptable by command bar, like drop down list, anchored to the right side of the bar?
The command bar in the picture attached is stretched on the whole width of its parent control and is resizing with its parent control together.
RadComboBoxItem item = radComboBox1.FindItem(strString);