Workaround: set UseCompatibleTextRendering to true.
The RadPdfViewer throws ArgumentNullException when loading pdf file. - "Value cannot be null.Parameter name: page"
it seems to be when I'm deriving from RadForm the NotifyPropertyChanged Doesn't seem to work It is binding to the Text Propery of the dockwindow. what i am trying to do is bind to a propery of my class called FormText (This is not the Frm.Text but Frm.FormText) a completly diffrent property. This is not possible to do with the below code. What I am ultimelty trying to do is have a class that is derived from RadForm so i can add a BindingSource to the form and load it with data. I'm then trying to bind to the Possition and Item Count fo the BindingSource to show the user what record/how many records there are. I need to re-bind this each time the tab is changed so the user is always seeing the records for the Selected form Resolution: Scenario is not common and the issue is not related directly to our form. Since our RadForm is ISupportInitialize and in the case that the developer does not call Form EndInitialize method the Microsoft binding will reject the binding because Form IsInitialized property is false. So these methods must be called: ((System.ComponentModel.ISupportInitialize)(radForm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(radForm1)).EndInit();
FIX. When printing a document using the PrintDocument Control, an 5mm Margin is added to the Top and Left. Resolution: The most of printers set bigger margins in left and top. You can set the Margins of RadPrintDocument to 0.
If you refresh an object set property of entity context, the RadGridView is not updated. The sample code below does not work: this.radGridView1.DataSource = entities.Countries; int maxId = (from c in entities.Countries orderby c.Id descending select c.Id).First(); Country country = new Country(); country.Id = maxId + 1; country.Name = Path.GetRandomFileName(); entities.Countries.AddObject(country); entities.SaveChanges(System.Data.Objects.SaveOptions.AcceptAllChangesAfterSave); entities.Refresh(System.Data.Objects.RefreshMode.StoreWins, entities.Countries);
DECLINED: not an issue. Steps to reproduce: 1. Create a UserControl, drag a RadControl and set its Anchor to Left, Top, Right, Bottom 2. Drop a RadPageView on the main form and create a RadPageViewPage. 3. Place the newly created UserControl on the page and set its Dock to Fill The Control located in the UserControl will exceed the visible page area
Note: this problem is reproducible with RadTextBoxControl as well. The Enter and Leave events also don't fire when RadTextBoxControl is inside a RadPopupContainer Resolution: Case 1: RadTextBoxElement is not a control and do not have validation events. Use RadTextBox with RadMenuHostItem instead: RadTextBox tb = new RadTextBox(); RadMenuHostItem item = new RadMenuHostItem(tb); tb.Validating += Tb_Validating; item.MinSize = new Size(50, 20); radMenu1.Items.Add(item); Case 2: RadPopupEditor has message filter which is responsible for closing the popup and it intercept the leave and enter messages. Use GotFocus and LostFocus instead.
Steps to reproduce. 1. Add a chart view to a form. 2. Create a series and add several data points. For categories use double values in the range 10 - 20 3. Create a second series and this time for categories use double values in the same range without duplication. 4. Assign one linear and one categorical axis to the series and add them to the char view. 5. Run the project and you will see that the categories from the second series are next to those from the first series, while they should be combined according their values.
To reproduce: void radGridView1_CurrentRowChanged(object sender, Telerik.WinControls.UI.CurrentRowChangedEventArgs e) { e.CurrentRow.Cells[2].ColumnInfo.IsCurrent = true; }
Using VS2012 RadRibbonForm's caption element is misplaced. As a result a horizontal black line appears below the title. Additionally, the system borders of the form are thinner that they are supposed to be.
To reproduce: Add a RadMenu and a RadMenuItem. To the RadMenuItem add another items, make some of them disabled. Open the first menu item and navigate with the arrows, you will see that the disabled items are selected but no visually. They should be skipped during navigation Workaround: Use the following custom RadMenuItem. The navigation logic is overriden in the RadDropDownMenu: public class MyMenuItem : RadMenuItem { public MyMenuItem() : base() { } public MyMenuItem(string text) : base(text) { } protected override RadDropDownMenu CreateDropDownMenu() { return new MyDropDown(this); } protected override Type ThemeEffectiveType { get { return typeof(RadMenuItem); } } } public class MyDropDown : RadDropDownMenu { public MyDropDown(RadElement owner) :base(owner) { } protected override bool ProcessUpDownNavigationKey(bool isUp) { var selectedItem = this.GetSelectedItem(); RadItem nextItem = selectedItem; var itemIndex = this.Items.IndexOf(selectedItem); for (int i = itemIndex; i < this.Items.Count - itemIndex; i++) { nextItem = this.GetNextItem(nextItem, !isUp); if (nextItem.Enabled) { break; } } this.SelectItem(nextItem); return true; } public override string ThemeClassName { get { return typeof(RadDropDownMenu).FullName; } set { } } }
Please run the attached sample project and refer to the attached screenshots. RadPropertyGrid doesn't respect the Description attribute. this.radPropertyGrid1.SelectedObject = new Item(123,"Item", ExposureMode.FullAuto); public class Item { public int Id { get; set; } public string Name { get; set; } public ExposureMode Mode { get; set; } public Item(int id, string name, ExposureMode mode) { this.Id = id; this.Name = name; this.Mode = mode; } } public enum ExposureMode { [Description("Full Auto")] FullAuto, [Description("Auto Filter, Fixed Exposure")] AutoFilFixedExp, [Description("Fixed Filter, Auto Exposure")] FixedFilAutoExp, [Description("Fixed Filter, Fixed Exposure")] FullFixed }
- Create a new project containing RadGridView - Build hierarchy with large text data in cells - Set the AutoSizeRows property to true and AutoSizeColumnMode to Fill - Run the project, scroll down and try to click on a cell
Workaround: load an empty docx document in the RadRichTextEditor and use it as a template public RadDocument ImportDocx() { RadDocument document = null; IDocumentFormatProvider provider = new DocxFormatProvider(); OpenFileDialog openDialog = new OpenFileDialog(); openDialog.Filter = "Documents|*.docx"; openDialog.Multiselect = false; DialogResult dialogResult = openDialog.ShowDialog(); if (dialogResult == System.Windows.Forms.DialogResult.OK) { using (Stream stream = openDialog.OpenFile()) { document = provider.Import(stream); } } return document; }
FIX. RadTreeView - when adding row in the underlying source, the nodes in the tree are collapsed, even when using DeferRefresh
An exception is thrown when changing the selection mode from Single to MultiSelect and then scrolling and selecting nodes.
Reason: this is the expected behavior.
To reproduce: void grid_RowValidating(object sender, RowValidatingEventArgs e) { e.Cancel = true; } Pressing the escape key should cancel the edit mode and revert the value