or
Hi Team,
I want design the grid as per the attached screenshot. The infragistics grid have grid column show vertically. Please give any samples for this.
Thanks & Regards
Suresh

// Attaching the datasourceradGridView2.DataSource = _activeBatch.LigdagenKlinischGefactureerds.OrderBy(c => c.RowNumber);// Expression column definition:GridViewTextBoxColumn b = new GridViewTextBoxColumn("B") { HeaderText = "B", EnableExpressionEditor = true, Expression = @"IIF(ISNULL(PreviousNo,"""")<>No,""nieuw"",null)" };

Hello,
I have a table with three fields: RowID, CustomerName and Selected. I am loading this into the gridview and I would like to programmatically select the row where Selected is true. If this was ASP.NET I would use the RowDatabound event and check the value of Selected and highlight. What is the best way here? After I load the list loop back through the data, get the one that is selected and then loop through the rows in the grid to select it? Seems like there would have to be a more efficient way of doing this.
Thanks,
Warren
private void dtProdStartDate_Leave(object sender, EventArgs e) { if (dtProdEndDate.Text == String.Empty && dtProdStartDate.Value != DateTime.Parse("1/1/0001")) { DateTime dtStart = dtProdStartDate.Value; dtStart = dtStart.AddMonths(1); DateTime dtEnd = dtStart.AddDays(-dtStart.Day); dtProdEndDate.Value = dtEnd; } else { if (DateTime.Compare(dtProdStartDate.Value, dtProdEndDate.Value) > 0) { DateTime dtStart = dtProdStartDate.Value; dtStart = dtStart.AddMonths(1); DateTime dtEnd = dtStart.AddDays(-dtStart.Day); dtProdEndDate.Value = dtEnd; } } } private void dtProdStartDate_Opened(object sender, EventArgs e) { if (this.dtProdStartDate.Value == DateTime.MinValue) { ((RadDateTimePickerCalendar)this.dtProdStartDate.DateTimePickerElement.GetCurrentBehavior()).Calendar.FocusedDate = DateTime.Now; } }