I am customizing a tile being put into a Panorama. I want some text to the lower part of the tile. I've done this by creating a "LightVisualElement" and adding it to the tile's children... I then add a RadLabelElement to that VisualElement and set it's text. I would like that ext to be centered to the lower middle of the tile, however nothign I can do can make this happen.
I am setting the VisualElement's alignment to BottomCenter, and tried the same with the RadLabelElement. Any suggestions would be greatly appreciated.
LightVisualElement lowerElement;
lowerElement.Alignment = ContentAlignment.BottomCenter;
lowerElement.StretchHorizontally = true;
tile.Children.Add(lowerElement);
RadLabelElement deviceInfo = new RadLabelElement();
deviceInfo.StretchHorizontally = true;
deviceInfo.TextAlignment = ContentAlignment.BottomCenter;
deviceInfo.Alignment = ContentAlignment.BottomCenter;
lowerElement.Children.Add(deviceInfo);
etc.... none of that helps.

If you have a look at http://www.telerik.com/help/winforms/gridview-grouping-basic-grouping.html, it talks about the grouping feature that comes with the RadGridView.
I would like to know if there is an event that fires when the user removes a group (clicks on the X in the top right corner of a group). Is there such an event?
Hello,
Please see the attached screen shot. It shows 2 ChartView in which the pies are not aligned. The reason is that the text in the legends on the right are not the same width. Therefore the purple pie chart gets pushed over more to the left than the red one. The goal is to get them aligned.
One solution that was offered to me was to set the legend position to "bottom", but this isn't feasible to us since we want to minimize the height of the splitpanel as much as possible and adding the legend to the bottom will only increase the height.
What I'd really like is to have a way of setting the absolute position of the pie charts. I'm wondering if this is possible. Is it? Is there another solution?

Hi,
By default the Design view of the RadMarkupEditor has no horizontal and vertical scrollbar. By using the following code, I was be able to show the scrollbars:
oDesignView = mEditor.GetType().GetField("designView", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(mEditor) as WebBrowser;
oDesignView.ScrollBarsEnabled = true;
However, it has a side effect which I find rather annoying. See the screenshot in attachment to see the effect. The vertical scrollbar appears next to the "default" scrollbar. For the horizontal scrollbar there is no such problem. Is this a known issue and is there a way to avoid this behavior?
Thanks,
Tom

Private Sub GridClipboardPrep(sender As System.Object, e As Telerik.WinControls.UI.GridViewClipboardEventArgs) _ Handles GVComputerSearch.Copying Dim copyStr As String = ConvertSelectedDataToString(sender) Clipboard.SetText(copyStr)End SubPrivate Function ConvertSelectedDataToString(grid As RadGridView) As String Dim strBuild As New System.Text.StringBuilder() Dim row As Integer = 0 While row < grid.SelectedRows.Count Dim cell As Integer = 0 While cell < grid.SelectedRows(row).Cells.Count strBuild.Append(grid.SelectedRows(row).Cells(cell).Value.ToString()) strBuild.Append(vbTab) System.Math.Max(System.Threading.Interlocked.Increment(cell), cell - 1) End While strBuild.Append(System.Environment.NewLine) System.Math.Max(System.Threading.Interlocked.Increment(row), row - 1) End While Return strBuild.ToString()End Function
Hi all,
RadGridView can't rectangle all cells as long as I use "Windows7Theme"
The mouse will stop on middle cell when you drag you mouse.
Please my code. Thanks.
public partial class MyForm: Form
{
private Telerik.WinControls.Themes.Windows7Theme windows7Theme = new Telerik.WinControls.Themes.Windows7Theme ();
public MyForm ()
{
InitializeComponent ();
Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = "Windows7";
this.radGridView1.Location = new System.Drawing.Point (0, 0);
this.ClientSize = new System.Drawing.Size (600, 300);
this.radGridView1.Size = new System.Drawing.Size (600, 300);
this.radGridView1.MasterTemplate.MultiSelect = true;
this.radGridView1.SelectionMode = GridViewSelectionMode.CellSelect;
this.radGridView1.MasterTemplate.SelectionMode = Telerik.WinControls.UI.GridViewSelectionMode.CellSelect;
this.radGridView1.MasterTemplate.ShowRowHeaderColumn = false;
this.radGridView1.MasterGridViewTemplate.ShowRowHeaderColumn = false;
DataTable dataSource = new DataTable ("Test");
for (int i = 0; i < 40; i++)
{
string ColName = string.Format ("Col{0}", i.ToString ());
dataSource.Columns.Add (ColName, typeof (string));
}
this.radGridView1.DataSource = dataSource;
for (int i = 0; i < 40; i++)
{
DataRow datarow = dataSource.NewRow ();
for (int j = 0; j < dataSource.Columns.Count; j++)
{
string sText = dataSource.Columns[j].ColumnName;
sText += i.ToString ();
datarow[j] = sText;
}
dataSource.Rows.Add (datarow);
}
}
I have implemented custom grouping for a GridView and would like to change the group header background color for some groups based on the grouped rows.
How would I do that?
-Lou

Hi,
Gridview sort fails when column contains null values or incompatible row values.
See the following errors when sorting using the column header.
Brian
