Telerik Forums
UI for WinForms Forum
2 answers
144 views
While using the now obsolete ChartView I was able to use custom image files in .png format, (similar, but different from the currently offered GradientStyles) as a filler for my bars in BarCharts. I used:

Series[0].Items[0].Appearance.FillStyle

which had several useful Properties.

What would be the corresponding code using RadChartView to use these same images?

Thanks,
Rob
Robert
Top achievements
Rank 1
 answered on 22 Sep 2014
1 answer
169 views
I have a GridView ComboBox Column.
In a other Column I'm trying to show the Display Member from the ComboBox Column.
But when I use the Column Expression it shows always the Value Member of the ComboBox.

Any Ideas?
Dimitar
Telerik team
 answered on 19 Sep 2014
1 answer
111 views
Greetings,

I wanted to ask how I can disable the buttons to close, minimize and maximize the RibbonBar Control
Ralitsa
Telerik team
 answered on 19 Sep 2014
5 answers
225 views
Hi,

I'm trying to export RadGridView data to a teleric report. I found the RadGridReportingLite sample project on the teleric website and have been playing around with it. My question for anyone of you that have used it or designed it is -  can i tweak the radgridReport class to include items in the gridSummaryRow collection or do i need to add a custom row to my grid which will perform aggregation ?

Thanks in advance
Anisha
Petya
Telerik team
 answered on 19 Sep 2014
4 answers
142 views
TelerikUIforWinFormsSetup_2014_2_721.exe won't install code samples for VS 2012 even though that option is checked off. Only VS 2012 files are copied to the local system. Please advise.
George
Telerik team
 answered on 19 Sep 2014
9 answers
166 views
Is there any way to build and assign a ColumnGroupsViewDefinition visually in a designer or can this only be achieved programmatically?

I am using a RadGridView with ViewDefinition of type ColumnGroupsViewDefinition to achieve column grouping (Q1 2010 release).  I am able to programmatically build a ColumnGroupsViewDefinition and assign it to the RadGridView.ViewDefinition property and its working fine but I was just wondering if this can be accomplished in the Designer.

Thanks for your help,
Darren Shafer
George
Telerik team
 answered on 18 Sep 2014
1 answer
178 views
When you bind the GridView to a data source at design time, the columns get auto generated - it creates a new Project Data Source from an Object and generates a form BindingSource.

However, on the object I have a reference to another object - ClassA -> ClassB Property which references a ClassB instance.

At design time, a TextBox column is generated.  Where as at runtime, I need this to be a DropDown list.  Is it possible to change the column type at design time or make it generate a DropDown for the object reference property - without creating an Unbound Column?

Thanks

Andez
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Sep 2014
1 answer
224 views
This is the image we did using and css. I am trying to implement the same in RAD Menu.

How can I align image right to the text in Radmenuitem ?

In this image, hover over the text and image will slide the menu. How can do it in radmenu ?
<telerik:RadMenu ID="rmMenu" runat="server" EnableImagePreloading="true" EnableEmbeddedSkins="false"     BorderColor="Black" BorderStyle="None" BorderWidth="0px" Skin="COPMenu" BackColor="Transparent" ExpandAnimation-Type="None">
       <Items>
               <telerik:RadMenuItem ID="riTrans" runat="server" Text="Communication"></telerik:RadMenuItem>
                <telerik:RadMenuItem ID="riGen" runat="server" Text="Appointment Book"></telerik:RadMenuItem>
      </Items>
</telerik:RadMenu>
Dimitar
Telerik team
 answered on 18 Sep 2014
3 answers
266 views
I'm trying to swap out the datasource on a ComboBoxColumn depending on other data bound to the row. Below is a simple example to reproduce the problem. (In my actual project we are not using simple strings for the options)

In this example the second row's combo box should have a 3rd option not shown by the first row.
If I let the grid automatically generate columns instead of adding it manually it seems to work correctly. What am I doing wrong?

public class SimpleObject
    {
    public string Option { get; set; }
    public bool ShowOtherOptions { get; set; }
    public SimpleObject (string option)
        {
        Option = option;
        }
    }

Relevant code behind for the form:
private List<String> options = new List<String>(){"First", "Second"};
private List<String> specialoptions = new List<String>(){ "First", "Second", "Third"};
 
public SimpleSample ()
    {
    List<SimpleObject> myList = new List<SimpleObject> ();
    myList.Add (new SimpleObject ("First"));
    myList.Add (new SimpleObject ("Second") {ShowOtherOptions = true});
 
    InitializeComponent ();
 
    this.radGridView1.AutoGenerateColumns = false;
    AddComboColoumn ();
    radGridView1.DataSource = myList;
    radGridView1.EditorRequired += radGridView1_EditorRequired;
    }
 
private void AddComboColoumn()
{
 
    GridViewComboBoxColumn comboColumn = new GridViewComboBoxColumn("ComboBox column");
    comboColumn.Width = 150;
    comboColumn.FieldName = "Option";
 
    comboColumn.DataSource = options;
    radGridView1.Columns.Add(comboColumn);
}
 
private void radGridView1_EditorRequired (object sender, Telerik.WinControls.UI.EditorRequiredEventArgs e)
    {
        if (radGridView1.CurrentColumn.Name == "Option")
        {
        var data =
            (((Telerik.WinControls.UI.GridViewEditManager) (sender)).GridViewElement.CurrentRow).DataBoundItem
                as SimpleObject;
        RadDropDownListEditor dropdownEditor = new RadDropDownListEditor ();
        if (data.ShowOtherOptions)
            {
            ((RadDropDownListEditorElement) (dropdownEditor.EditorElement)).DataSource = specialoptions;
            }
        else
            {
            ((RadDropDownListEditorElement) (dropdownEditor.EditorElement)).DataSource = options;
            }
 
        dropdownEditor.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
        e.Editor = dropdownEditor;
 
        }
    }


Dimitar
Telerik team
 answered on 18 Sep 2014
3 answers
236 views
I have the following question, can you help me to work it out?
Clients have the following requirements.
In RadDateTimeEditor, it can be typed by 'YYYYMMDD'.
But now the default thing is It has to be typed by 'YYYY/MM/DD'.
So, Is there any way to do that.
Thanks
Ralitsa
Telerik team
 answered on 18 Sep 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
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?