Dear All,
I have a problem.
When I right-click anywhere in RadGridView, I don't want it to display any context menus.
What should I do?
Is this possible?
Best wishes
Hello, I am currently implenting the "Check All" functionality in group rows. Using this code that I've found here https://www.telerik.com/support/kb/reporting/details/check-all-functionality-in-group-rows
The "Check All" functionality itself works. But it's causing some trouble when I check more than one row individually. The error I'm getting is "The specified change is invalid." And it happens on this line "if ((bool)row.Cells["Include"].Value == false)"
Thanks in advance!
Hi
I use telerik 2018.1.220.40 and now I have problem with error:
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at Telerik.WinControls.UI.ThemedFormBehavior.PaintTitleBar(Graphics hDCGraphics)
at Telerik.WinControls.UI.ThemedFormBehavior.OnNCPaint(Graphics graphics)
at Telerik.WinControls.UI.ThemedFormBehavior.OnWMNCPaint(Message& m)
at Telerik.WinControls.UI.ThemedFormBehavior.HandleWndProc(Message& m)
at Telerik.WinControls.UI.RadFormBehavior.HandleWndProc(Message& m)
at Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This error occurs several times per day. We need to restart application after this error because it doesn't respond. I don't create any Bitmap manual in my code and when I look at the error's path I think it's good to ask you about the reason of this error. Is it problem with Telerik or should I look for problem in my code?
Good morning friends,
Is there a simple possibility to change a certain theme color for all controls?
For example, there is the theme I'm using "visualStudio2012LightTheme1", the predominant color in various controls for this theme is blue, I would like to change that blue to a green.
Thank you very much for your attention!
(Sorry for poor English, I'm using a Portuguese translator)
Hi,
I am using Telerik WinForms UI controls, Version - "2016.2.503.40" (Telerik.WinControls).
Facing a weird issue with GridView control version - "2016.2.503.40" (Telerik.WinControls.GridView)
When data or records are not available on the grid I am showing "No records available" text using below code lines,
myGridView.TableElement.Text = "No records available";
which works fine Attached screen "01_NoRecordsAvailable.JPG".
When some other window gets pop-up on this screen, "No records available" text disappears.
refer Attached screen "02_NoRecordsAvailable_Disappears.JPG".
No able to find out why the text is getting disappeared in such scenario.
Any help will be highly appreciated.
After bind the DropdownList with datatable, I set the Text of the DropdownList in code, if the Text match one of element of the datatable, the SelectedValue should changed at the same time, in my case, it is not, I need to click the DropdownList to change the SelectedValue.
Anything I can do to sync the action that I get the right SelectedValue when I set Text match one of element of the datatable?
Hello,
I will have a short intro explaining why i need that (maybe you can find an alternative) you may skip and go to the code.
i have a scenario like the folowing example:
There is a List of objects, its properties are unknown at compile time (dynamic objects built from database), say these objects only have one property, called ExpireDate.
The user is presented a list of objects (with their expiredate and maybe other properties).
The user wants to change the expiredate for many of these objects to a specific date, the program will let the user select all the objects that need to be changed and edit the expiredate value in one shot.
After the user selected the objects to be changed, the UI will show the user a label and a control for each property:
in our case the control to handle the datetime will have a gray background and a null value if the selected objects have different ExpireDate, will have a white background when the selected objects have all the same ExpireDate value. This way the user knows, looking at a control, if it is blank because all objects have null value or it is blank cause some objects have different values.
Said that, after some work, this was the prototype code:
private
void
InitializeControlsBackground()
{
foreach
(var c
in
panel.Controls.OfType<Control>())
{
if
(EditorModel.GetProperties().OfType<MultiElement.MultiEditPropertyDescriptor>().Any(a=> a.Name == c.Name))
{
Color bg = EditorModel.HasManyValues(c.Name) ? Color.Gray : Color.White;
c.BackColor = bg;
}
}
}
the problem is that for some controls the background color changes, but for (example) raddatetimepicker the background color does not change, how can I change the background color for the raddatetimepicker?
Best regards
Andrea
Hello everyone,
When I run the RadTextBox Control program,I select the content of the control RadTextBoxControl,right-click will show copy,paste and other content,
how to copy,paste and change the text showing different languages. Reference picture RadTextBoxControl.jpg