Hi, I'm having trouble solving a problem.
To guarantee a better user experience I need to call the BestFitColumns method, but the data to be presented in the grid comes from an asynchronous method which ends up generating unexpected and random results.
Is there an event occurring immediately after CellValueNeeded that I can call BestFitColumns or in that case would it be better to simply access the data in a synchronous way?
I tried PageChanged and ValueChanged events, but to no avail.
Thank you.
Hello,
I use rowformatting to change row forecolor in my radgridview. But when I use Fluent theme, the row forecolor changing in rowformatting doesn't work any more.
But it works in some other themes like windows7, windows8, VS2012,Office2007, Desert, Aqua, etc. I've tried change fore color in cellformatting by using Fluent theme, it works.
Why in Fluent theme, forecolor cannot be changed in rowformatting ?
Thank you
How I can change the culture of RadChartView at runtime? tooltip write "Category" and "Value". I need change Culture for Portuguese, I'm using Visual Basic.Net 2017 and Telerik 2018 R2.
Regards.
Hi,
Changing the size of a form at runtime somehow messes up the control size / layout if DPI / scaling ist at >100%.
This only happens if the form is loaded inside an Excel add in, if the same form is loaded in a normal WinForms project everything is fine.
Attached is a sample Excel add in project.
Kind regards,
Christian
Hello,
Some of my groupbox have no header text. I've found out a little spot in place of header in Office2007 theme even there is no header text.
In order to figure out by myself, I've compared most of telerik themes. Please see what I've found in the attach picture.
How can I hide the little spot (or the little blank in some theme)?
Is this normal? Any idea?
Thank you by advance.
Hello.
I try to display long description text with nice word wrapping using RadLabel.
To do that I set AutoSize=true but control Width of RadLabel setting MaximumSize.
I set the maximum size and recalculate it every time Form's size changes.
Everything works fine until you change the DPI settings in the system.
When you do this and change MaximumSize property at runtime my value will be multiplied by the scaling value.
And since I use form size (which is already scaled) I got doubled scale.
For example if I set scaling 150% my value be multiplied by 1.5.
Below I gave examples of my code and screenshots from different DPI.
100% https://clip2net.com/s/3YxZaSZ
150% https://clip2net.com/s/3YxZom6
200% https://clip2net.com/s/3YxZees
I use Telerik 2018.3.1016.20 with .Net 3.5
I very much rely on your help and advice.
using
System;
using
System.Drawing;
using
Telerik.WinControls.UI;
namespace
DesignExamples.BugsForTelerik
{
public
class
Form1 : RadForm
{
private
RadLabel radLabel1;
private
RadLabel radLabel2;
public
Form1()
{
InitializeComponent();
}
private
void
InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources =
new
System.ComponentModel.ComponentResourceManager(
typeof
(Form1));
this
.radLabel1 =
new
Telerik.WinControls.UI.RadLabel();
this
.radLabel2 =
new
Telerik.WinControls.UI.RadLabel();
((System.ComponentModel.ISupportInitialize)(
this
.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(
this
.radLabel2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(
this
)).BeginInit();
this
.SuspendLayout();
//
// radLabel1
//
this
.radLabel1.Dock = System.Windows.Forms.DockStyle.Top;
this
.radLabel1.Location =
new
System.Drawing.Point(0, 0);
this
.radLabel1.Name =
"radLabel1"
;
this
.radLabel1.Size =
new
System.Drawing.Size(2054, 18);
this
.radLabel1.TabIndex = 0;
this
.radLabel1.Text = resources.GetString(
"radLabel1.Text"
);
//
// radLabel2
//
this
.radLabel2.Dock = System.Windows.Forms.DockStyle.Top;
this
.radLabel2.Location =
new
System.Drawing.Point(0, 18);
this
.radLabel2.Name =
"radLabel2"
;
this
.radLabel2.Size =
new
System.Drawing.Size(81, 18);
this
.radLabel2.TabIndex = 1;
this
.radLabel2.Text =
"MaximumSize: "
;
//
// Form1
//
this
.AutoScaleDimensions =
new
System.Drawing.SizeF(6F, 13F);
this
.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this
.ClientSize =
new
System.Drawing.Size(504, 270);
this
.Controls.Add(
this
.radLabel2);
this
.Controls.Add(
this
.radLabel1);
this
.Name =
"Form1"
;
//
//
//
this
.RootElement.ApplyShapeToControl =
true
;
this
.Text =
"Form1"
;
this
.Resize +=
new
System.EventHandler(
this
.OnResize);
((System.ComponentModel.ISupportInitialize)(
this
.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(
this
.radLabel2)).EndInit();
((System.ComponentModel.ISupportInitialize)(
this
)).EndInit();
this
.ResumeLayout(
false
);
this
.PerformLayout();
}
private
void
OnResize(
object
sender, EventArgs e)
{
var maximumSize =
new
Size(Width - radLabel1.Margin.Horizontal, 0);
radLabel1.MaximumSize = maximumSize;
radLabel2.Text = $@"maximumSize: {maximumSize}
radLabel1.MaximumSize: {radLabel1.MaximumSize}";
}
}
}
Is there a way to highlight the border of the currently selected thumbnail on the pdf viewer?
I simply want my users to know which thumbnail they've clicked on (which page they are on) since a lot of the documents they view look the same from page to page.
Thanks.
I am using the rad multi combox box and it work rather well on touch I just want to make the blue area wider so it looks like they touch it with their thumb its very small at present and easy for them to miss.
Hello,
There are images with background themes.
I need to implement a dropdownlist with images only.
All images have the same size 150x50, so when I press the down button it should show the full item list. Those may be elements of an imageList.
I tried Telerik RadDropBownButton, and RadButtons as items.
The attached picture is what I have now. As I can see the left is the position and place for the image, and there is still small place for text. There is no text, only image. How to hide the text place, to keep only image?