Hi,
There's a graphical problem with RadPageView Q1 2015.
I tested it on a new project (cf screenshot)
When on ExplorerBar mode, you have more than 1 Page and use scroll button of your mouse, the component blinks.
Happens too if your scrollvalue=0 and you move up and scrollvalue=max and you move down.

So I know how to return any value using the CurrentRow. Let's say a user has one row selected, and they right-click on a different row, I need to retrieve the value from that row. I've been looking at CurrentRowChanging & Changed as I suspect I need to capture the value there. I think my issue is the value being returned now is the value from the previously selected row and I'm not aware of the event trigger hierarchy.
Any help? Thanks

I'm trying to create GridViewComboBoxColumn that works like a RadComboBox with the CheckBoxes property set to True.
Reading through this post, I cannot find the RadGridView_RowLoaded event.
Under the section "Customize the DropDownListEditor in GridViewComboBoxColumn" in this post, would I do something like that to create CheckBoxes? From this example, it looks like it would affect all GridViewComboBoxColumns. How would I make it only affect the specific column?

Hi,
When i try and refresh the grid's datasource after deleting a row, i get the following error:
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Additional information: Index was out of range. Must be non-negative and less than the size of the collection.
Telerik version: 2015.3.930.40
Framework version: 4.0
Operating system: Windows 10
Here is the refresh code:
private void RefreshGrid()
{
if (legalsManager == null)
{
if (_model.DocumentId.HasValue)
{
legalsManager = new DocumentLegalsManager(_model.DocumentId.Value);
grdLegals.DataSource = legalsManager.Details;
return;
}
}
else
{
legalsManager.Refresh();
}
if (legalsManager == null)
return;
grdLegals.BeginUpdate();
grdLegals.DataSource = null;
grdLegals.DataSource = legalsManager.Details;
grdLegals.EndUpdate();
}
Thanks

I'm trying to programmatically add a tab to the Ribbonbar at runtime. It all works fine when the Ribbonbar is expanded. But when I add a tab to a collapsed Ribbonbar the new tab is not visible until I click the button to expand the Ribbonbar again. Here are the steps to reproduce:
1.Create a new Visual C# -> Telerik Windows Forms Application
2.Drag a RadRibbonBar control onto RadForm1
3.Create a single tab "First Tab" (otherwise you cannot collapse the ribbon)
4.Drag a button onto the form and add the following code to the click event handler:
RibbonTab tab = new RibbonTab("Test");this.radRibbonBar1.CommandTabs.Add(tab);tab.IsSelected = true;5.You should end up with something like the attached png file.
6.Run the project and click the button. You should see the new tab is created and selected.
7.Close the project and run it again. This time collapse the ribbon before clicking the button. No new tab is visible on the ribbon. Even if you click on the [First Tab] to show the full ribbon.
8.Click the expand ribbon button on the right and the new tab will then appear.
I've tried adding lines like Application.DoEvents() or this.Refresh() or this.radRibbonBar1.Refresh() but it doesn't make a difference.
Any help would be much appreciated.
Thanks,
John
hi,
Is there a way to use html on the text on a RadPageViewPage (explorerBar mode).
I want the first part of the text in black,the end in red.
Thanks
Hello,
I open the window containing RadGridView as follows:
new System.Threading.Thread(delegate () {
FormReports FormReports = new FormReports(); FormReports.ShowDialog();}).Start();When trying to copy data from the grid (right click -> copy) error message pops up:
An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dllAdditional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.In this case I can't avoid new thread when calling new form.
How to solve it?

Hi, I am currently using the trial version of Telerik Winform and I would like a code example on how to aggregate cells in my gridview with the following two examples.
Example1:
1997 a a
1997 b -> becomes -> 1997 b
1997 c c
Where 1997 becomes a vertical aggregate field.
Example2:
1997 1997 1997 -> 1997
a b c a b c
Where 1997 becomes a horizontal aggregate field

// Use the following code can only show the Html file, how to display the web page?
private void radListViewMarketBase_CellCreating(object sender, ListViewCellElementCreatingEventArgs e)
{
var cell = e.CellElement as DetailListViewDataCellElement;
if (cell != null && cell.Data.Name == "SN")
{
e.CellElement = new CustomDetailListViewDataCellElement(cell.RowElement, e.CellElement.Data);
}
}
public class CustomDetailListViewDataCellElement : DetailListViewDataCellElement
{
// private RadButtonElement _button;
private RadWebBrowserElement webBrowserElement;
public CustomDetailListViewDataCellElement(DetailListViewVisualItem owner, ListViewDetailColumn column) : base(owner, column)
{
}
protected override void CreateChildElements()
{
base.CreateChildElements();
// this._button = new RadButtonElement();
// this.Children.Add(this._button);
this.webBrowserElement = new RadWebBrowserElement
{
WebBrowserItem = { Url = new Uri(string.Format("http://www.abc.com.cn/include/map.shtml?d=10&code=000111")) },
};
this.Children.Add(this.webBrowserElement);
}
protected override Type ThemeEffectiveType
{
get { return typeof(DetailListViewHeaderCellElement); }
}
public override void Synchronize()
{
base.Synchronize();
this.Text = "";
// var rowView = this.Row.DataBoundItem as DataRowView;
// if (rowView != null)
// this._button.Text = rowView.Row["序号"].ToString();
// else
// this._button.Text = @"222";
}
public override bool IsCompatible(ListViewDetailColumn data, object context)
{
return data.Name == "SN" && base.IsCompatible(data, context);
}
}
