Seems that scrollbar sizes is not updated when switching from MetroTouch to any other theme.
How to reproduce:
Create a Form, change it to RadForm.
Add RadVScrollBar, dock it to the right.
Create two buttons, add onclick handlers
System::Void radButton1_Click(System::Object^ sender, System::EventArgs^ e) { Telerik::WinControls::ThemeResolutionService::ApplicationThemeName = "TelerikMetroTouch"; }System::Void radButton2_Click(System::Object^ sender, System::EventArgs^ e) { Telerik::WinControls::ThemeResolutionService::ApplicationThemeName = "Desert"; }Press button1, then button2. The scrollbar size is bigger than expected (see screenshot)
Telerik_UI_For_WinForms_2016_1_216_Dev.msi / VisualStudio2010 / C++CLI

Hi Telerik Team,
Does the evaluation of an expression in a column generates an Event? Or is there a way to intercept the evaluation process and
substitute/enhance with my own code?
The expressions that I need to use require data points that are not found in the dataset used in the GridView, so I need a way to
intercept the evaluation to swap string variables that are not in the dataset with the actual value found within the application or a different dataset.
Regards.

I m using MultiColumn ComboBox in my application, the problem is I cannot change its default theme.
I tried this,
ThemeResolutionService.ApplicationThemeName = "Aqua";
and also tried,
MyColumnComboBox.ThemeName = "Aqua";but still I can see the default theme. why it is overriding with the default theme. Please help me.

Hello,
if I print cells with HTMLRendering the text aligns to the top left of the cell and something equivalent to padding 0;0;0;0 is used. How do you fix that?
private void BestFitRadGridView_PrintCellFormatting(object sender, PrintCellFormattingEventArgs e) { e.PrintCell.Font = new Font(e.PrintCell.Font.FontFamily, 7F); e.PrintCell.EnableHtmlTextRendering = !e.Column.DisableHTMLRendering; e.PrintCell.TextPadding = new Padding(5); }If i set EnableHtmlTextRendering = false the padding (set in the printstyle or on cell-level) is used as expected.
Kind regards,
Andreas
//GanttView PreviewDragStart
private void DragDropService_PreviewDragStart(object sender, PreviewDragStartEventArgs e)
{
if (e.DragInstance is GanttViewTaskElement)
{
e.CanStart = true;
//want to get start and end datetime
}
}
From above event how can i get Start and End datetime from e.DragInstance

namespace DSI.WorkFlow{ struct SearchItem { string fromField; string toField; [Description("Search value.")] [Category("Search Fields")] [DefaultValue(null)] [Browsable(true)] public string FromField { get { return this.fromField; } set { this.fromField = value; } } [Description("Search value.")] [Category("Search Fields")] [DefaultValue(null)] [Browsable(true)] public string ToField { get { return this.toField; } set { this.toField = value; } } }}
I use the following code in print, but logo is not displayed:
RadPrintDocument document = new RadPrintDocument();document.Logo = pictureBox1.Image;document.RightHeader = "Right header";document.AssociatedObject = grid;RadPrintPreviewDialog preview = new RadPrintPreviewDialog(document);preview.Show();
Dear Telerik,
I have RadPivotGrid and a RadChartView,
on formload, I have
this.radChartView2.DataSource = this.radPivotGrid1;
and everything works fine.
However, I want the chart to appear on chartview automatically when the form loads instead of having to select the data on the PivotGrid manualy using mouse.
I was trying to prgramatically use a method like selectall to force the chart to appear on the chartview but aparently there is no selectAll method in RadPivotGrid.
Your help is highly appreciated.
Thanks.

Hello.
I'm using VirtualGrid as a calendar with months as columns and days as rows. The default selection mode is row-wise. I'd like to change it column-wise.
Let's say I select a range in the grid from 1st of feb (rowindex 0, columnindex 1) to 2nd of march (row 1, col 2). The selected cells are (0,1) (0,2) (1,1) (1,2). In my grid the selected cells should be (0,1) to (0,28) (1,1) (1,2).
I tried to implement the SelectionChanging event but I didn't got it working. Neither the actual selection is canceled nor the new selection is executed.
Private Sub RadVirtualGrid1_SelectionChanging(sender As Object, e As VirtualGridSelectionChangingEventArgs) Handles RadVirtualGrid1.SelectionChanging
If e.SelectionAction = VirtualGridSelectionAction.ExtendSelection Then
If RadVirtualGrid1.Selection.SelectedRegion.Left <> RadVirtualGrid1.Selection.SelectedRegion.Right Then
e.Cancel = True
Dim first_top As Integer = RadVirtualGrid1.Selection.SelectedRegion.Top
Dim last_bottom As Integer = RadVirtualGrid1.Selection.SelectedRegion.Bottom
Dim curr_top As Integer = first_top
Dim curr_bottom = ROW_OFFSET + 31
For col As Integer = RadVirtualGrid1.Selection.SelectedRegion.Left To RadVirtualGrid1.Selection.SelectedRegion.Right
RadVirtualGrid1.Selection.BeginSelection(curr_top, col, RadVirtualGrid1.Selection.SelectedRegion.ViewInfo, True)
RadVirtualGrid1.Selection.ExtendCurrentRegion(curr_bottom, col)
curr_top = ROW_OFFSET
If col = RadVirtualGrid1.Selection.SelectedRegion.Right - 1 Then
curr_bottom = last_bottom
End If
Next
End If
End If
End Sub
Best regards,
Ronald

using the Drag Drop Service i cant get the e.HitTarget to return true no matter what propertygrid reference i use must be missing something here.
basically i just want to recreate the propertygrid items when a GridDataRowElement is dragged onto a propertygrid.
private void svc_PreviewDragOver(object sender, RadDragOverEventArgs e)
{
if (e.DragInstance is GridDataRowElement)
{
e.CanDrop = e.HitTarget is PropertyGridElement;
}
}
