I'm using Visualstudio2022 Dark theme on my program. When I load a fillable PDF to the PDF viewer, the back color of the form fields turns to black when I click on them.
I tried changing the annotations color and the text color of the form fields, but nothing works.
How do I change the back color from black to white of the form fields on a fillable PDF?
Hi there,
I have a RadRibbonBar which contains a RadSplitButton element and I'm using Windows11Compact Theme.
I have set splitBtn.ArrowPosition = Bottom and ImageAlignment and TextAligment = TopCenter.
I want the image and text to be centered on the button but they are both aligned right. I notice this only happens with the Windows11 themes, and only to the RadSplitButton. The DropdownButton image/text is correctly centered, however I need to use the split button as there is an event triggered when the button portion of the control is clicked.
I have tried searching for other alignment properties in the UI Elements and setting them all to TopCenter but that still does not solve the problem.
Is this the expected behaviour/appearance? And is there a way I can have the image and text centered on the control?
I have attached a screenshot of the issue I am experiencing.
Thank you,
Carmen
I'm trying to use the Windows11Compact theme as default for an entire application, using the config below.
This is a WinForms project in C#, I have the Windows11 theme dll added to the project, and I'm trying to automaticaly apply the Windows11Compact theme for all controls and all forms that will be added in the project. I don't want to set the theme in runtime because I need to see the theme during the design of the application.
With the config shown above the theme is not applied. It only uses the default Telerik theme.
However, if I change to the Windows11 theme the form updates automaticaly as well as any control I add. It also work's with the Fluent Theme for exemple.
The version of telerik I'm using is Telerik for WinForms 2024.1.312.40.
Thank you in advance for any answer.
Hi,
I'm using RadGridView version 2022.1.222.40.
When the data table I'm using has a lot of data (15.000 for example), when I select an entire column, the cells in SelectedCells collection are normally less than 15.000 (it could be 14996 or 14997) in the SelectionChanged event. With less than 10.000 it seems that works correctly.
Is there a bug for selected cells when the RadGridView shows more than 10.000 elements?
Regards,
Evaristo Cuesta.
Hi!
I have a RadGridView (v2022.1.222.40) with a high amount of elements (~90000) and when trying to copy a column I see that the Copying is taking too long. Even if I do a dummy code processing the data.
I cancel all the formats except DataFormats.Text, and it still takes too much time.
I have thought about canceling all the formats and saving the data in a variable instead of the clipboard but if I cancel everything, the Pasting event won't be triggered later... Any suggestion?
Here is my code:
private void gridView_Copying(object sender, GridViewClipboardEventArgs e)
{
if (e.Format != DataFormats.Text)
{
e.Cancel = true;
return;
}
// Do some dummy code
// Save it in the Clipboard
e.DataObject.SetData(nameof(MyCustomModel), items);
}
I'm opening a Word (docX) document in the rich text editor, and it seems to open with none of the Styles from the original document in it.
So the document formatting looks strange: the default font seems be called '"NSimSum", and heading are in 'Sitka Banner'.
This MAY be linked to a strage thing in the document.StyleDictionary. It doesn't like iterating through the StyleDefintions:
For example
for each Styles.StyleDefintion in document.StylesRepository
...does not work
dim firstStyle as Styles.StyleDefintion in document.StylesRepository.first
...is ok
so I am using:
dim styleDef As Styles.StyleDefinition = document.StyleRepository.ElementAt(i)
...which is OK, but strange
Are these two things connected? Am I missing something ?
Thanks
I have a callout that opens a control. I would like the control to stay open even if the user clicks elsewhere -- to close it he'll click on the same button used for opening it.
To prevent the control from closing when the user clicks elsewhere I have set AutoClose to false, but now the control stays open even if I switch to another window, or even another program! The disembodied control still remains in the foreground.
using System.Windows.Forms;
namespace testGridViewKeyPress
{
public partial class RadForm2 : Telerik.WinControls.UI.RadForm
{
private int count_;
public RadForm2()
{
InitializeComponent();
count_ = 0;
}
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
count_++;
radLabel1.Text = count_.ToString();
radGridView2.BeginUpdate();
radGridView2.Rows.Clear();
//I Want to Process Row Clear And Add
radGridView2.EndUpdate();
return true;
}
}
}
When I hold down the key, I want to clear the row of the GridView and add a new row.
However, when the number of columns increases, even if rows work is performed between BeingUpdate() and EndUpdate(),
All UI is not highlighted or updated.
If the control needs processing when in the press state like this, shouldn't I use gridview?
Or, if there is another solution, please let me know.
+What I want is for all UI to update and operate when a key is pressed.
+My telerik version 2021.3.914.40(Dev)