Telerik Forums
UI for WinForms Forum
14 answers
417 views
The 2010 Q2 release notes says that "RadGridView can be transposed' but cannot find information on how to actually achieve this.
Dimitar
Telerik team
 answered on 19 Nov 2014
2 answers
68 views
Hi

Could you tell me if UI for Winforms Q3 2014 (version 2014.3.1104) released November 5th is effectively SP1?

If so, have you dropped the Service Patch (SP1, SP2 etc) convention?

The reason I ask is that we normally wait for SP1 releases before upgrading Telerik controls and I want to know what to look out for in the future.

Many thanks.

Adrian
AdrianG
Top achievements
Rank 1
 answered on 19 Nov 2014
2 answers
269 views
Hi, 
Please refer the the image to understand the scenario:

Image  t01.png: I have 3 tiles [red colspan=2 rowspan=2] [green 1, 1] [ping 1 1]
Image t02.png: I right click on the red tile to change the size from large to small (colspan 1, rowspan 1)
image t03.png: After resize, the is a need to refresh RadPanorama you may notice the text under the red tile
image t04.png: when trying to move the green tile, the Panorama control auto refresh and remove the text.
image t05.png: I manually arranged the tiles, then I need to make the red tile Large (colspan 2, rowspan 2)
image t06.png: After red tile size change, layout is corrupt, HOW CAN WE REARRANGE TILES, without implementing our own logic, which is complex as I think
image t07.png: trying to reposition.
image t08.png: that's what I expected.


Code used to resize:

Private Sub RadMenuItem1_Click(sender As Object, e As EventArgs) Handles RadMenuItem1.Click
       'Small
 
       'RadPanorama1.SuspendUpdate()
       tileBig.ColSpan = 1
       tileBig.RowSpan = 1
       tileBig.Size = New Size(200, 200)
       'RadPanorama1.ResumeUpdate()
       RadPanorama1.Refresh()
       'ReArrange()
   End Sub


Private Sub RadMenuItem3_Click(sender As Object, e As EventArgs) Handles RadMenuItem3.Click
       'Large
       tileBig.ColSpan = 2
       tileBig.RowSpan = 2
 
       ' tileBig.Size = New Size(400, 400)
 
       RadPanorama1.Refresh()
       'ReArrange()
   End Sub


Please advise.














Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Nov 2014
3 answers
233 views
ToolWindow tool = new ToolWindow();
                       tool.Text = form.Text;
 
                       this.radDock1.FloatWindow(tool, new Rectangle(new Point(this.DesktopBounds.X + this.DesktopBounds.Width / 2 - formWidth / 2,
                       this.DesktopBounds.Y + this.DesktopBounds.Height / 2 - formHeight / 2), new Size(formWidth, formHeight)));
      
                       form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
                       form.TopLevel = false;
                       form.Dock = DockStyle.Fill;
                       form.Show();
                       foreach(DockWindow dock in this.radDock1.DockWindows)
                       {
                           if(GesHelper.Equals(dock.Name, tool.Name))
                           {
                               dock.Controls.Add(form);
                               dock.CloseAction = DockWindowCloseAction.CloseAndDispose;
                               break;
                           }
                       }
But the MdiChildActivate is not fired, am i missing something on it?
Dimitar
Telerik team
 answered on 18 Nov 2014
1 answer
393 views
Hi,

I am at a loss of how to add images to specific columns in listview from an imagelist. 

For  example in the following column structure  :    Column A, Column B, Column C
I would like to populate "Column A" with a string, "Column B" with an image from my imagelist, "Column C" with a string.

I am not sure if this is possible, could anyone provide me with an example of how to achieve this ?

Many thanks in advance !

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2014
1 answer
100 views
     Hello, how can i set a child template in Load on Demand as Self Referencing or is this possible? i attached an image i created as a workaround. It is nicer to show this as Load on Demand.  Thanks in advance.
Dimitar
Telerik team
 answered on 17 Nov 2014
1 answer
233 views
I cannot find the wrap text or multiline property of a RadMultiColumnComboBox control?  I mean the control itself...not its radgridview or drop down.....rather the displayed text of the control?  I have strings of 250 characters that display fine in the drop down, but then they center on a single line in the control's display (see attached png.
Dimitar
Telerik team
 answered on 17 Nov 2014
4 answers
151 views
Hello,

when i am using RadGridView with Office2010Black theme, and loading some data into, i got vertical scrollbar painted wrong. See the screenshot attached.

My grid initialization section:

private DataTable dataTable;
 
public Form1()
{
    InitializeComponent();
 
    radGridView1.AutoSizeRows = false;
    radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
    radGridView1.RowFormatting += radGridView1_RowFormatting;
    radGridView1.ReadOnly = true;
    radGridView1.ShowRowHeaderColumn = false;
    radGridView1.VerticalScrollState = ScrollState.AlwaysShow;
 
    radGridView1.ThemeName = "Office2010Black";
 
    dataTable = new DataTable();
    dataTable.Columns.Add("number", typeof(int));
    dataTable.Columns.Add("descriptions", typeof(string));
 
    radGridView1.DataSource = dataTable;
 
}
 
void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
{
    e.RowElement.RowInfo.Height = 120;
}

When loading data, i have (according to requirements) to disable the Grid control first, and enable it as soon as data loaded.
Here is an example:

private void radButton1_Click(object sender, EventArgs e)
     {
         radGridView1.Enabled = false;
 
         Random rnd = new Random((int)DateTime.Now.Ticks);
 
         dataTable.Clear();

         for (int i = 0; i < rnd.Next(1000); i++)
         {
             DataRow row = dataTable.NewRow();
             row[0] = i + 1;
             row[1] = "description" + i.ToString();
             dataTable.Rows.Add(row);
         }
 
         radGridView1.Enabled = true;
     }

After doing so, i have wrong painting behavior of the vertical scrollbar (it is only so in Office 2010 black theme!!), as it shown on the screenshot. See second image, as it should be expected.

In addition, i have experinced that the scroller thumb does not update it's height immediately, according to the added rows count.
It will only redraw itself when user is dragging it or resizing control.

I have tried: radGridView1.Invalidate(), but it does not help.

So far workarounds are:
1) decorating code with BeginUpdate/EndUpdate does partially fix the problem, scrollbar thumb does not change it's size
2) do not disable grid when loading data - works fine for me and even updates scrollbar thumb size, but i need to disable grid before doing data loading due to application requirements.


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2014
14 answers
430 views

Hello,

I am new to Telerik WinControl. I’m using version 2012.3.1017.40.

I was looking for a control for displaying a chart-diagram in a Windows Forms application. I found the controls “RadChart” and “RadChartView”. Because of the advice of use the control “RadChartView” in your documentation I was making first experiences with this control the last days. As I can see so far, this control seems to be a powerful tool. Having created, configured this control and bound data to it I am looking for the possibility to print out the content of this control. In the documentation I have read that RadChartView does not support the functionality to export its content to a file. I would like to get to know if it is possible to print out the content of a “RadChartView” control anyway.

Karim el Safadi

Dimitar
Telerik team
 answered on 17 Nov 2014
4 answers
295 views
When a RadLabel enters the disabled state the fore color changes to gray. However, when the RadLabel is re-enabled the fore color does not return to it's former glory, rather it stays gray forever.

I can't seem to override this behavior even with a custom theme.

Edit: I tried setting the forecolor in radLabel1_EnabledChanged, but it never fired. The problem seems to be that when a RadLabel parent's Enabled flag is set to true, the RadLabel itself is never notified of the event.

If I manually set ".Enabled = true;" for every label on my form, they restore their original ForeColors as expected.

The RadLabel is in a SplitPanel which is in a RadSplitContainer, where the RadSplitContainer is the control being disabled / enabled.
George
Telerik team
 answered on 14 Nov 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?