If m_Theme = AvailableThemes.ControlDefault Then m_CurrentTheme = Telerik.WinControls.ThemeResolutionService.GetTheme("ControlDefault") name = "ControlDefault"Else If Not ThemeLoaded(name) Then ThemeResolutionService.LoadPackageResource(name & ".tssp") End IfEnd If m_CurrentTheme = Telerik.WinControls.ThemeResolutionService.GetTheme(name)Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = namem_CurrentTheme.AddColorBlend(blend.Name, blend.BaseHslColor)m_CurrentTheme.ThemeProperties(blend.Name) = blend.BlendHslColorAvailableThemes is an enumeration of theme names. All other themes except ControlDefault are assembly Resources (tssp files).private void radGridView1_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e) { if (this.radGridView1.CurrentCell is GridDataCellElement || this.radGridView1.CurrentCell is GridFilterCellElement && e.ContextMenuProvider == null) { if (((GridViewDataColumn)this.radGridView1.CurrentColumn).FieldName == "DateCalled" || ((GridViewDataColumn)this.radGridView1.CurrentColumn).FieldName == "NextCallDate") { if (e.ContextMenu.Items.Count > 0) { if (e.ContextMenu.Items[0] is Telerik.WinControls.UI.RadFilterOperationMenuItem) { foreach (Telerik.WinControls.UI.RadMenuItemBase menuItem in e.ContextMenu.Items) { if (string.Equals("Is null", menuItem.Text) || string.Equals("Is not null", menuItem.Text)) { menuItem.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; } } } } } } }I need a RADButton which is round like a circle and an Image in it.
Thank you very much.
Hi All,
I have a grid in which I add products (Screen shot attached). I want to calculate some values based on values in some cells. Here is my scenerio
When the value in Qty cell is changed I want to calculate the value of Amount column (Amount = Qty * Unit price)
The first element in my Unit combobox column should be selected by default when a new row is added but that is not the case, I have to manually select the item as shown in row2 of screen shot.
I can't seem to find the RowAdded event or something similar which I am so used to of using in ASP.Net controls.
I know that if I add the textboxcolumn from code behind then I can handle its textchange event, but I have added column through “Property Builder” and can’t seem to find the controls from the row.
Note: I am using Q2 2010 SP2
Can anyone please help me.
Best Regards,
Afraz