Telerik Forums
UI for WinForms Forum
1 answer
969 views
Hi

I changed command button color using GridViewCommandColumn

The below code is added in CommandCellClick event handler

cell.CommandButton.ButtonFillElement.BackColor = frmColor.Color;

this code changed the color, but when I add a new row, the color move to new row.

And the cell which I changed the color of return default color.

Could you let me know how I can change command button color in cell?
Ralitsa
Telerik team
 answered on 20 Mar 2015
2 answers
106 views
Hi, I'm trying to achieve a style exactly like the one shown in the demo application (attached image).

I analyzed the sample code, but the style is not in him. Where could I find the code that generates it?

Thank you very much.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Mar 2015
1 answer
109 views
Hi all,

Is it possible to have a hierarchy in radgridview with custom columns?  What I mean is have a master template, followed by a template, however there are different columns in those templates for each row?

In a very crude example...  

Column A
     Sub Column A (phone, zip code, etc)

Column B
     Sub Column B (name, city, address)
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Mar 2015
8 answers
655 views
The text I'm displaying in the GridView is often much too long to fit in columns.

How do I display flyover- or ToolTip text as I move the mouse over the grid?

I don't see a HitTest property.

There are a lot of events, like
"ToolTipTextNeeded", "MouseMove", "CursorChanged" but I don't know how to use the "e" argument from those events to retrieve the cell content the cursor is over.

I'm sure there is a most efficient way of doing this.

Finn
Hristo
Telerik team
 answered on 20 Mar 2015
4 answers
263 views
I need a help for listview drag n drop opretion. where  listview1 hold the images and i want to drag images from listview1 to listview2 and then when i click any button i want all paths of Images which is in the listview2. and also i want to set the image size on listview2. Please help me.
Ajay Kumar
Top achievements
Rank 1
 answered on 19 Mar 2015
1 answer
240 views

Hello,

Telerik v2013 "UI for Winforms"
.Net 3.5
Visual Studio 2008

We have a .Net desktop application built using Visual Studio with Telerik UI for WinForms integrated.  We are using the Chartview feature to show user some charts.  However they are not displaying correctly and we cannot identify why.

We have set label mode to Top, it shows the label correctly for positive values but, it should display the bar lables at bottom side in case of negative values. We used radChartView control and belowbarSeries properties.

barSeries.ShowLabels = true;
barSeries.LabelMode = BarLabelModes.Top;

Fig1 attached shows our current chart with the incorrect label positioning
Fig2 attached shows how we would like the chart to display (a mockup).

Please help to explain how we can achieve this in the chart?

Thanks
Hristo
Telerik team
 answered on 19 Mar 2015
3 answers
135 views
Hi;

I have a problem when I want a selected node and Group / Ungroup the tree holding the selected node. Here's an example to understand the case:
public Form1()
{
    InitializeComponent();
 
    DataTable table = new DataTable();
    table.Columns.Add("ID", typeof(int));
    table.Columns.Add("ID_PADRE", typeof(int));
    table.Columns.Add("Codigo", typeof(string));
    table.Columns.Add("TEXTO_NODO", typeof(string));
    table.Columns.Add("TIPO", typeof(string));
    table.Rows.Add(1, null, "COD 1", "Descripción 1","C");
    table.Rows.Add(2, null, "COD 2", "Descripción 2","E");
    table.Rows.Add(3, null, "COD 3", "Descripción 3", "A");
    table.Rows.Add(4, null, "COD 4", "Descripción 4", "S");
    table.Rows.Add(5, null, "COD 5", "Descripción 5", "R");
    table.Rows.Add(6, 1, "COD 6", "Descripción 6","S");
    table.Rows.Add(7, 2, "COD 7", "Descripción 7","R");
    table.Rows.Add(8, 3, "COD 8", "Descripción 8","R");
    table.Rows.Add(9, 4, "COD 9", "Descripción 9","S");
    table.Rows.Add(10, 5, "COD 10", "Descripción 10","C");
    table.Rows.Add(11, 1, "COD 11", "Descripción 11","R");
    table.Rows.Add(12, 2, "COD 12", "Descripción 12","S");
    table.Rows.Add(13, 3, "COD 13", "Descripción 13","A");
    table.Rows.Add(14, 4, "COD 14", "Descripción 14","E");
    table.Rows.Add(15, 5, "COD 15", "Descripción 15","R");
    table.Rows.Add(16, 6, "COD 16", "Descripción 16","S");
    table.Rows.Add(17, 7, "COD 17", "Descripción 17","E");
    table.Rows.Add(18, 8, "COD 18", "Descripción 18","R");
    table.Rows.Add(19, 9, "COD 19", "Descripción 19","C");
    table.Rows.Add(20, 10, "COD 20", "Descripción 20","A");
    table.Rows.Add(21, 20, "COD 21", "Descripción 21","S");
     
    this.radTreeView1.DataSource = table;
    this.radTreeView1.DisplayMember = "TEXTO_NODO";
    this.radTreeView1.ChildMember = "ID";
    this.radTreeView1.ParentMember = "ID_PADRE";
    this.radTreeView1.ExpandAll();
 
    this.radGridView1.Relations.AddSelfReference(this.radGridView1.MasterTemplate, "ID_PADRE", "ID");
    this.radGridView1.DataSource = table;
     
}
private void ungroup()
{
    RadTreeNode oNode = this.radTreeView1.SelectedNode;
 
    this.radTreeView1.ChildMember = "";
    this.radTreeView1.ParentMember = "";
 
    this.radTreeView1.SelectedNode = oNode;
}
private void group()
{
    RadTreeNode oNode = this.radTreeView1.SelectedNode;
 
    this.radTreeView1.ChildMember = "ID";
    this.radTreeView1.ParentMember = "ID_PADRE";
    this.radTreeView1.ExpandAll();
 
    this.radTreeView1.SelectedNode = oNode;
}
private void label1_Click(object sender, EventArgs e)
{
    this.ungroup();
}
 
private void label2_Click(object sender, EventArgs e)
{
    this.group();
}

If I have a selected node when calling the method to group / ungroup not maintained after I selected group / ungroup. I tried with what appears in the code but can not.

Thanks for the help.

Regards!
Hristo
Telerik team
 answered on 19 Mar 2015
4 answers
148 views
How to do that would automatically change the size of the column height, depending on the amount of text in it?
Hristo
Telerik team
 answered on 18 Mar 2015
3 answers
125 views
Hi, how would I hide the icon on the RadColorDialog (upper left corner)? 

Thanks,

-Lou
Ralitsa
Telerik team
 answered on 18 Mar 2015
1 answer
148 views
I am using a grid with bound rows and a summary row.  I would like to also format one of the bound rows to look like a summary row.
Is there a simple way to do this?

I've tried setting the cell element ThemeRole to "GridSummaryCellElement" in the CellFormatting event, but it didn't work
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Mar 2015
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?