Hi, I have a loop where I am filling the grid and immediatelly print the grid. All printed documents have the same grid values of the last loaded records to the grid DataSource. Is there something I can do to properly print the grid with correct cell values from actual records?
foreach (var run in _runsToPrint){ FillReportedAnalytesGrid(); PrintPreview.PrintGrid(rgvReportedAnalytes, run);} private void FillReportedAnalytesGrid(){ var records = provider.GetReportedResults(); rgvReportedAnalytes.DataSource = null; rgvReportedAnalytes.DataSource = records; rgvReportedAnalytes.BestFitColumns(BestFitColumnMode.AllCells); rgvReportedAnalytes.Refresh();}
public static void PrintGrid(RadGridView view, string run){ var document = new RadPrintDocument(); view.Print(false, document);}
Are there any options to make a tooltip in which you can place Text, Buttons, etc.?
Something like this:

Hello , I am new in Telerik WinForms.
My situation is group all items by its Product Name, while Product has its own price . e.g Product-1 has multiple values/items , similaly Product-2 has own items/values. I know in this situation Grouping concept is used i-e Group By Product, but I want to show Price of that Group along with Product Name.
For clarity i have attached a picture. I want this result in RadListView / Any other Control. Please help me along with coding.
Thanks

Hi,
I'm creating a usercontrol wich contains a RadCommandbar and an editor (richtext).
The commandbar contains two CommandBarDropDownList and standards radbutton.
I'm trying to prevent dropdownlists from gaining focus when I press tab, but neither can focus on dropdownlists nor tabstop on commandbar working.
Focus is still in my first CommandBarDropDownList.
I even tried https://docs.telerik.com/devtools/winforms/controls/commandbar/how-to/prevent-the-control-from-gaining-focus.
To explain exactly what's suppose to happen, when tab key is pressed the user control should gain focus, the commandbar should be skipped and the editor become the active control (kind of).
Thanks a lot for helping me.
Cf: my userControl
How set margin for Image in RadContextMenu (RadMenuItem)?
Now when setting the image to RadMenuItem, it is too close to the text and left border. How to regulate it?


RadTabbedFormControl.ContextMenuOpening += (obj, arg) => { arg.ContextMenu.Items.Clear();};e.Tab.Item.MouseDown += (obj, args) => { if(args.Button == MouseButtons.Right) { ContextMenu testMenu= new ContextMenu(); testMenu.MenuItems.Add("Test"); testMenu.Show(e.Tab, new Point(args.Location.X + 5, args.Location.Y - 35)); }};But there was a problem with the error (Unable to display ContextMenu in invisible control) when clicking on an inactive tab.
Can you tell me another way?


Hi, I'm using below code to validate items in the data entry. This event triggers whenever the items lose focus.
dataEntry.ItemValidated += (s, e) => { ContactEntries employee = dataEntry.CurrentObject as ContactEntries; if (e.Label.Text == "Contact person:") { if (employee.contactPerson.Length < 10) { Console.WriteLine("validated"); e.ErrorProvider.SetError(s as Control, "Field is required"); if (!dataEntry.ValidationPanel.PanelContainer.Controls.ContainsKey("Contact person:")) { RadLabel label = new RadLabel(); label.Name = "contactPerson"; label.Text = "<html><size=10><b><color= Red>Contact person: </b><color= Black>First Name should be between 2 and 15 chars long."; label.Dock = DockStyle.Top; label.AutoSize = false; label.BackColor = Color.Transparent; dataEntry.ValidationPanel.PanelContainer.Controls.Add(label); } } else { e.ErrorProvider.Clear(); dataEntry.ValidationPanel.PanelContainer.Controls.RemoveByKey("contactPerson"); } } };
On the first page of the data entry, the items contains predefined values, but the data entry is also connection with a binding navigator, allowing users to add a new page. How can I validate these two pages in case the user does not click each item that will trigger the validation?
Is there some way I can trigger the ItemValidated event manually?
Thanks in advance!

How do I get the RadTabbedFormControlTab in the ContextMenuOpening on which the context menu was called?
RadTabbedFormControl.ContextMenuOpening += (obj, arg) => { arg.TabItem // There is only a TabItem, which is not a RadTabbedFormControlTab :(};
I would like to get the tab on which the menu was called
