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
Hi
I want to hide the system context menu which is visible when cell is in edit mode and user presses right button. I come to know that it can be disable on EditingControlShowing event of DataGridView. But as this event is not available in RadGridView, How can I disable or hide this context menu. Any help would be appreciated!
Regards!
this.radScheduler1.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.WorkWeek;In day view, if we scroll down continuously by using up down key, it goes to the second day. There should be a lock, one should be able to see only one day’s schedule. Same case with week view and month view.