Hi, I would like to use the conversion tool to convert a WinForms project to Telerik controls. Unfortunately the menu item is not showing up for me. See attached screenshot.
The project to be converted does include a reference to System.Windows.Forms. I am using VS2019 with the latest Telerik Winforms release.
Thanks,
-Lou
Hi,
I want to hide some columns of the table I received from Excel on RadGridView.
I am working on a Windows Forms Application that load and print PDF document then unload that document and load new one, but when i call unloadDocument() no new document was loaded :
RadPdfViewer rViewer = new RadPdfViewer();
rViewer.DocumentLoaded += RViewer_DocumentLoaded;
rViewer.LoadDocument(Filepath);
rViewer.LoadElementTree();
Application.DoEvents();
rViewer.PdfViewerElement.StopWaiting();
if (rViewer.IsLoaded)
{ rViewer.UnloadDocument(); }
after unloadde the document i cannot load new PDF doccument?
I have tried this code. It removes the item from list if we enter a letter first, then key down. But if we select an item then just press key down same item will be shown in the list.
Please refer to the attached if file. You will notice that the converter wizard will skip the designer file if the form's file end with "Settings".
Workaround: change the file name to skip ending with "Settings"
Similar to RadMulticolumnComboBox but it should allow multiple items to be checked. Please refer to RadDropDownList and RadCheckedDropDownList.
https://docs.telerik.com/devtools/winforms/controls/multicolumncombobox/how-to/multiple-selection
Apply the Office2010Silver theme to your application since it has a good border indication for the focus in RadSpinEditor.
Please run the attached project and click in the RadSpinEditor that is not in the RadPopupContainer. You will notice that when you move the mouse away that the border is highlighted in yellow showing that the control has complete focus. Now, click in the RadSpinEditor that is in the RadPopupContainer and move your mouse away. You will notice that the border is not highlighted in yellow indicating that it does not have focus. You can also see that it does not fire the GotFocus event. If you click closer to the border out of the "TextBox" area, the control border will stay yellow showing complete focus and fire off the GotFocus event. However, in this case, the caret is not displayed.
Workaround: handle the GotFocus/LostFocus events for the SpinElement.TextBoxItem and apply the desired border for indicating the focus.Please refer to the attached sample project and follow the steps illustrated in the provided gif file.
Workaround:
public RadForm1()
{
InitializeComponent();
this.radPageView1.SelectedPageChanged += radPageView1_SelectedPageChanged;
}
private void radPageView1_SelectedPageChanged(object sender, EventArgs e)
{
if (this.radPageView1.SelectedPage != this.radPageViewPage1)
{
SelectionMiniToolBar selectionMiniToolBar = this.radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar as SelectionMiniToolBar;
if (selectionMiniToolBar != null)
{
selectionMiniToolBar.Hide();
}
}
}
Here is a part of the highlighted document:
Default:
Desired:
Workaround: handle the ExplorerControl.MainNavigationTreeView.NodeFormatting event and replace the node's text with the FileBrowserTreeNode.Label:
Sub New()Populate a RadGridView with data, move the form to a monitor with greater than 100% DPI scaling. Save the layout and then load it again. You will notice that the columns' width is increased each time.
Workaround:
Sub New()Currently, RadFileDialogs uses a RadAutoCompleteBox for specifying the folder/file name. It would be nice to have a drop down with recent files:
Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.
Workaround:
private void RadRichTextEditor1_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
if (e.Command is PasteCommand)
{
Application.DoEvents();
bool cursorAtDocEnd = this.radRichTextEditor1.Document.CaretPosition.IsPositionAtDocumentEnd;
if (cursorAtDocEnd)
{
MoveCaretCommand command = new MoveCaretCommand(this.radRichTextEditor1.RichTextBoxElement);
command.Execute(MoveCaretDirections.Down);
}
}
}
How to reproduce:
private void RadForm1_Load(object sender, EventArgs e)
{
this.radWebCam1.TakeSnapshot();
}
Workaround:
public class CustomWebCam : RadWebCam
{
public override void TakeSnapshot()
{
FieldInfo fi = typeof(RadWebCam).GetField("player", BindingFlags.NonPublic | BindingFlags.Instance);
object value = fi.GetValue(this);
if (value == null)
{
return;
}
PropertyInfo propertyInfo = value.GetType().GetProperty("EvrVideoDisplay", BindingFlags.NonPublic | BindingFlags.Instance);
value = propertyInfo.GetValue(value, null);
if (value == null)
{
return;
}
base.TakeSnapshot();
}
}
Run the attached project and see the .GIF file or follow the steps below:
1. Set AssociatedKeyboardType to a control and KeyboardLayoutType to Numpad;
2. Run the application and drag the whole form to the Right edge of the screen
3. Click inside the control in order to display the RadVirtualKeyboardForm
You will see that the VirtualKeyboardForm is not displayed under the associated control.
Workaround:
After setting the KeyboardLayoutType to Numpad, set the KeyboardForm.Size manually:
this.radVirtualKeyboardForm1.KeyboardForm.Size = this.radVirtualKeyboardForm1.KeyboardForm.VirtualKeyboard.CalculateDesiredSize().ToSize();
Please follow the steps:
1. Create a brand new project with a ShapedForm
2. Set the BackColor property to Red and save the form.
3. Open the ThemeName drop down and close it. You will notice that the BackColor is lost since the ThemeName is serialized as empty string in the designer file.
Workaround: delete the serialized ThemeName property with empty value.
Please refer to the attached gif file for a better illustration of the steps how o reproduce the undesired behavior.
Workaround: use RadForm