or
radMenuComboItem1.ComboBoxElement.ValueMember = "ENTITY_ID" radMenuComboItem1.ComboBoxElement.DisplayMember = "NAME" radMenuComboItem1.ComboBoxElement.DataSource = _dsTemp.MDMGroup
Hi
By default column headers are too high for me.
How can I decrease height of column headers?
Regards

Public Class PageViewLocalizationProvider Inherits Telerik.WinControls.UI.RadPageViewLocalizationProvider Public Overrides Function GetLocalizedString(ByVal id As String) As String Return SharedLocalizationManager.GetLocalizedString(id) End FunctionEnd Class
Telerik.WinControls.UI.RadPageViewLocalizationProvider.CurrentProvider = New PageViewLocalizationProvider()
radGridView1.DataSource =
null;
radGridView1.DataSource = m_Deals;
I was assuming that setting the DataSource to null would clear the grid of data before each reload.
Depending on how much data is there, after a certain time I get an Out of Memory exception.
Can you advise the best way to prevent this on periodic reloads of the Grid ?
Martin
private void ChangeFont() { for (int i = 0; i < DgrdCustomerMaster.Rows.Count; i++) { for(int j=0;j<DgrdCustomerMaster.Rows[i].Cells.Count; j++) { DgrdCustomerMaster.Rows[i].Cells[j].Style.Font = new Font(DgrdCustomerMaster.Rows[i].Cells["dgrdFont"].Value.ToString(), 10); ; } } }private void DgrdCustomerMaster_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e) { // e.CellElement.Font = new Font("Marathi Sharda", 10); ChangeFont(); }