Telerik Forums
UI for WinForms Forum
3 answers
393 views
Hi there,

how can i change the font of the column header text in the MulticolumnComboboxElement.
I am assigning datasource to the Multilinecombobox which will display the data in the MulticolumnComboboxElement dropdown.
I would like to change the font size to Bold or assign different color for the column headers row.
Now the field and the value have the same font, just wanna make the field text font to Bold.

Thanks,
Satyajeet


Richard Slade
Top achievements
Rank 2
 answered on 02 Mar 2011
2 answers
113 views
i transfer my app (exe file)  to another system but not running my app
i look to myapp directory no exist teleik dll
how to i transfer my app to another system and run app?

thanks
Richard Slade
Top achievements
Rank 2
 answered on 02 Mar 2011
2 answers
163 views
I'd like to add a tooltip while making the chart series item and then concatenate onto that tooltip the percent of the pie chart it is ("#%").  Is this possible?

So my tooltip is created as so:
csi.ActiveRegion.Tooltip = datarow["table_name"].ToString();

I would like to add on to the above the percent of the pie chart the item utilizes.  I imagine this would have to happen after all the items have been added (so that it can calculate the percent), but I don't see any method for adding to a tooltip at that point...

Thanks for your time
Evgenia
Telerik team
 answered on 02 Mar 2011
1 answer
154 views
I would like to embed the wpf dateTimePicker into a winform - It doesn't look like this can be done by using the standard WPF ElementHost - Can this be done in a practical way?
Martin Vasilev
Telerik team
 answered on 02 Mar 2011
1 answer
126 views
Hey,
i'm using the file explorer sample.
Is there a way to select automaticaly the c:\windows\system32 node and expand it in the treeview ?
I've tried the SelectDirectoryInTreeView function availbale in the project, but without success.
Thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 02 Mar 2011
11 answers
545 views
Hi

I want to display the day and week view in 12 hour format.

I used the RulerTimeFormat and have set it to 12hour which displays the time in 12 hour but can't differentiate between AM and PM.

What i want to achieve is to show AM/ PM next to the time.


Is this posssible

santosh
Dobry Zranchev
Telerik team
 answered on 02 Mar 2011
12 answers
247 views
Hi

Let me know any way to handle following situation...

I have a radgridview (haveing Binding Source) with five columns,One of them is "Posted" which has 'Yes' and 'No' values only...

If value of "Posted" is 'Yes' then that perticular row should be disabled.....(otherwise row should  Enabled)

Please suggest me any Solution..

Thank You

Stefan
Telerik team
 answered on 02 Mar 2011
3 answers
191 views
Hi,

my name is Patrick and i just bought Telerik Premium Collection for .NET.
I've searched the forums and documentation but could not found any answer for my simple problem;(

So here is my question:
how do i get the FULL value of my Filter in RadGrid?

My Code:

private void rgCustomer_FilterChanging(object sender, GridViewCollectionChangingEventArgs e)
        {
            if (e.NewItems.Count > 0)
            {
                FilterDescriptor desc = e.NewItems[0] as FilterDescriptor;
                if (desc != null)
                {
                    if (desc.Value.ToString().Length < 3)
                        e.Cancel = true;
                }
 
            }
             
        }
The Problem is: desc.Value only returns the current letter i've typed.
Example: if i enter "test" -> desc.Value is "t"

thx for help
Emanuel Varga
Top achievements
Rank 1
 answered on 02 Mar 2011
3 answers
138 views
Hi,
    I wanna set the zoom pronperty for radform. I tried with much coding but not uniformly applying. Can u suggest me anything?
Richard Slade
Top achievements
Rank 2
 answered on 02 Mar 2011
5 answers
155 views
Hi,

I search the forum for a solution on this but without finding any answer on it.
I have a multicolumn dropdownlist in my grid.
I use a customized Editor (found in one of the threads here) to show the data.
But when i click on one row, i want the list to disappear and the value to be set in the cell.

And how can i show only the two last columns ( not the ID field) ?
And how can i remove the header row? 

 Here is the testcode i use:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls.UI;
 
namespace TestRadGrid
{
    public partial class Form1 : Form
    {
        List<RowHelper> rows = new List<RowHelper>();
        public Form1()
        {
            InitializeComponent();
            Telerik.WinControls.UI.GridViewDecimalColumn gridViewDecimalColumn1 = new Telerik.WinControls.UI.GridViewDecimalColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn1 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
            Telerik.WinControls.UI.GridViewMultiComboBoxColumn gridViewComboBoxColumn2 = new Telerik.WinControls.UI.GridViewMultiComboBoxColumn();
 
             
            rows.Add(new RowHelper(1, "Row1", 1));
            rows.Add(new RowHelper(2, "Row2", 2));
            rows.Add(new RowHelper(3, "Row3", 3));
            rows.Add(new RowHelper(4, "Row4", 1));
 
 
            List<helper> list = new List<helper>();
            list.Add(new helper(1, "test1"));
            list.Add(new helper(2, "test2"));
            list.Add(new helper(3, "test3"));
 
            List<multicolumnhelper> multicolumnlist = new List<multicolumnhelper>();
            multicolumnlist.Add(new multicolumnhelper(1, "test1","col2"));
            multicolumnlist.Add(new multicolumnhelper(2, "test2", "col2"));
            multicolumnlist.Add(new multicolumnhelper(3, "test3", "col2"));
 
            gridViewComboBoxColumn1.DataSource = list;
            gridViewComboBoxColumn1.DisplayMember = "Value";
            gridViewComboBoxColumn1.ValueMember = "ID";
            gridViewComboBoxColumn1.HeaderText = "Test";
            gridViewComboBoxColumn1.Name = "test";
            gridViewComboBoxColumn1.FieldName = "RowID";
 
            gridViewTextBoxColumn1.Name ="rowtext";
            gridViewTextBoxColumn1.HeaderText ="rowtext";
            gridViewTextBoxColumn1.FieldName = "RowText";
 
 
            gridViewComboBoxColumn2.DataSource = multicolumnlist;
            gridViewComboBoxColumn2.DisplayMember = "Value";
            gridViewComboBoxColumn2.ValueMember = "ID";
            gridViewComboBoxColumn2.HeaderText = "Test";
            gridViewComboBoxColumn2.Name = "test2";
            gridViewComboBoxColumn2.FieldName = "RowID";
            radGridView1.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {gridViewComboBoxColumn1, gridViewTextBoxColumn1, gridViewComboBoxColumn2});
 
            PopulateData();
 
        }
        private void radGridView1_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
        {
        }
        private void PopulateData()
        {
 
            radGridView1.DataSource = rows;
 
        }
 
        private void radGridView1_EditorRequired(object sender, EditorRequiredEventArgs e)
        {
            if (e.EditorType == typeof(RadMultiColumnComboBoxElement))
            {
 
                MyRadMultiColumnComboBoxElement editor = new MyRadMultiColumnComboBoxElement();
                e.Editor = editor;
            }
        }
 
    }
 
    public class helper
    {
        public helper(int id, string value)
        {
            ID = id;
            Value = value;
        }
 
        public int ID { get; set; }
        public string Value { get; set; }
    }
 
    public class multicolumnhelper
    {
        public multicolumnhelper(int id, string value, string value2)
        {
            ID = id;
            Value = value;
            Value2 = value2;
        }
 
        public int ID { get; set; }
        public string Value { get; set; }
        public string Value2 { get; set; }
     
     
     
    }
    public class RowHelper
    {
        public RowHelper(int id, string text, int id2)
        {
            RowID = id;
            RowText = text;
            RowID2 = id2;
        }
 
        public int RowID { get; set; }
        public string RowText { get; set; }
        public int RowID2 { get; set; }
 
 
    }
 
    public class MyRadMultiColumnComboBoxElement : RadMultiColumnComboBoxElement
    {
        public MyRadMultiColumnComboBoxElement()
        {
            this.DropDownWidth = 200;
        }
 
        protected override RadPopupControlBase CreatePopupForm()
        {
            RadPopupControlBase popup = new MyMultiColumnComboPopupForm(this);
            return popup;
        }
 
        protected override Type ThemeEffectiveType
        {
            get
            {
                return typeof(RadComboBoxElement);
            }
        }
    }
 
    public class MyMultiColumnComboPopupForm : MultiColumnComboPopupForm
    {
        public MyMultiColumnComboPopupForm(PopupEditorBaseElement owner)
            : base(owner)
        {
 
        }
 
        public override string ThemeClassName
        {
            get
            {
                return typeof(MultiColumnComboPopupForm).FullName;
            }
            set
            {
 
            }
        }
 
        public override void ShowPopup(Rectangle alignmentRectangle)
        {
            int delta = alignmentRectangle.Width - this.Size.Width;
 
            if (delta > 0)
            {
                alignmentRectangle.X += delta;
                alignmentRectangle.Width -= delta;
            }
 
            base.ShowPopup(alignmentRectangle);
        }
    }
}
Richard Slade
Top achievements
Rank 2
 answered on 02 Mar 2011
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?