Telerik Forums
UI for WinForms Forum
1 answer
237 views

DataSet ds = new DataSet();

DataTable dt = new DataTable();

dt.TableName = "Tasks";

dt.Columns.Add("Id");

dt.Columns.Add("ParentID");

dt.Columns.Add("Title");

dt.Columns.Add("Start", typeof(DateTime));

dt.Columns.Add("End", typeof(DateTile));

 

dt.Rows.Add("1", "","Item1", new DateTime(2018,03,16), new DateTime(2018,03,20);

dt.Rows.Add("2","1","child", new DateTime(2018,03,16), new DateTime(2018,03,17);

dt.Rows.Add("3","","Item2", new DateTime(2018,03,16), new DateTime(2018,03,20);

ds.Tables.Add(dt);

this.radGanttView1.DataSource = ds;

radGanttView1.Items[0].ReadOnly = true;

radGanttView1.Items[0].Items[0].ReadOnly = true;

radGanttView1.Items[0].NextItem.ReadOnly = true;

 

 Item2  is not moving  but Item1 is still moving

I want Item1 is not moving too.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Mar 2018
1 answer
105 views

How do I make the group descriptor rows automatically increase in height so that they display all of the text?

Note I'm setting the text in the groupSummaryEvaluate event

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Mar 2018
12 answers
210 views
How can i disable tab of header/footer in print settings in pdfviewernavigator? Is this possible? Thanks in advanced
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Mar 2018
2 answers
95 views

hi~

radGanttView1.GanttViewElement.DragDropService.PriviewDragStart += DragDropService_PreviewDragStart;

 

private void DragDropService_PreviewDragStart(object sender , PreviewDragStartEventArgs e)

{

       GanttViewSummaryElement element = e.DragInstance as GanttViewSummaryElement;

       if(element  != null)

       {

              // Get Start and End

        }

}

HWI CHEOL
Top achievements
Rank 1
 answered on 16 Mar 2018
7 answers
214 views

How can I define the grid back color - the area in White in the attached screen shot of my test application ?

Is it possible to set it as transparent - to display the backgrond image of the hosting form 

Thanks in advance

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 15 Mar 2018
2 answers
86 views

Hi,

I'm trying to work with tabbed views.

It works well with the addition of a new template to the gridview next to the master template with a gridview relation (parent master template, child template) so that I now have a second layer.
Is it possible to add a third layer? A third template and a gridview relation with the second template as parent and the third template as a child?

Best regards,

BloodyFunFrog

BloodyFunFrog
Top achievements
Rank 1
 answered on 15 Mar 2018
1 answer
402 views

I can hide the print preview using this code 

radPdfViewerNavigator1.ShowPrintPreview = false;

but how can I hide print preview on the picture shown. Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Mar 2018
1 answer
739 views

I want to add result of sql query to dropdownlist items

 

 have tried this :

 

RadListDataItem dataItem = new RadListDataItem();
                            dataItem.Text = (read1["size"].ToString());
                            this.radDropDownList2.Items.Add(dataItem);

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Mar 2018
1 answer
73 views

A simple example:

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            radPropertyGrid1.SelectedObject = new MyClass();
        }

        [TypeConverter(typeof(ExpandableObjectConverter))]
        public class First
        {
            [DisplayName("Name"), Category("first")]
            public string Name { get; set; }

            [DisplayName("Color"), Category("first")]
            public Color MyColor { get; set; }

            public First()
            {
                Name = "Foo";
                MyColor = Color.Aqua;
            }
            public override string ToString()
            {
                return string.Empty;
            }
        }
        [TypeConverter(typeof(ExpandableObjectConverter))]
        public class Second
        {
            [DisplayName("SubName"), Category("Second")]
            public string SubName { get; set; }

            [DisplayName("SubColor"), Category("Second")]
            public Color MySubColor { get; set; }

            public Second()
            {
                SubName = "Any";
                MySubColor = Color.Red;
            }
            public override string ToString()
            {
                return string.Empty;
            }
        }

        public class MyClass
        {
            [DisplayName("First"), Category("Item0")]
            public First Item0 { get; set; }
            [DisplayName("Second"), Category("Item1")]
            public Second Item1 { get; set; }

            public MyClass()
            {
                Item0 = new First();
                Item1 = new Second();
            }
        }
    }

If I do a search, the RadPropertyGrid finds the name only in the second part of MyClass

 

Dimitar
Telerik team
 answered on 15 Mar 2018
2 answers
168 views

I'm trying to make a custom list as the one in the image below using radListView, so far I was already able to create the custom item as i want it to be by creating a custom item that inherits from IconListViewVisualItem  but I'm having trouble to access my custom item's properties, so I can hide and show controls as needed as well as the content on them. 

Thanks in advance. 

Fernando
Top achievements
Rank 1
 answered on 14 Mar 2018
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?