Hi All -
I have the following bit of code which works fine....I'm formatting a column based on the data in another column.
The problem I have arises when I try to sort on 'Display1' column by clicking the header. If I try to do when the grid is first populated, it doesn't sort. If I've scrolled thru the data once, then everything is fine.
I understand why this happens: Since the RowFormatting method is not called until the row in question is displayed, the 'Display1' values have not yet been populated in my non-visible rows.
So my question is this: What is the best way to get 'Display1' to sort properly? Do I simulate scrolling thru the grid to force RowFormatting to do its work? Or is there a better way?
Thanks as always,
Hugh
private void MasterTemplate_RowFormatting(object sender, RowFormattingEventArgs e) { if (e.RowElement.RowInfo.Cells["Data1"] != null) { if ((String)e.RowElement.RowInfo.Cells["Data1"].Value == "") e.RowElement.RowInfo.Cells["Display1"].Value = ""; else e.RowElement.RowInfo.Cells["Display1"].Value = FormatData(e.RowElement.RowInfo.Cells["Data1"].Value); } }

Hello,
How can I set Node Text Multiline?
Is there any worktrought?
thanks
Hi I have a Rad Grid View that I am exporting to excel using the code below. This works fine, but I would like the code to export the grouped data so that excel sees it as grouped data rather than static cells. Is there a way to achieve this?
Thanks in advance.
private void button4_Click(object sender, EventArgs e) { ExportToExcelML exporter = new ExportToExcelML(this.radGridView1); exporter.HiddenColumnOption = Telerik.WinControls.UI.Export.HiddenOption.DoNotExport; exporter.ExportVisualSettings = true; exporter.SheetName = "Films"; string fileName = "C:\\ExportedData.xls"; exporter.RunExport(fileName); }


Hi,
I am trying to open form maximized depending on DPI settings.
Unfortunately when I try to do that from code-behind (this is Windows Desktop application) I do not have WindowState available.
Form that I use is RadRibbonForm.
Is it possible to set from code how form will be opened?
Thanks,
Oliver
racSchTechs.AutoCompleteDataSource = datatable;racSchTechs.AutoCompleteDisplayMember = "Name_Full";racSchTechs.AutoCompleteValueMember = "id_lanid";
