Telerik Forums
UI for WinForms Forum
2 answers
172 views

hello everyone
i trying to give all cells a CellSpacing in a gridviewtemplate.
for a radgridview this can be done with radgridview.TableElement.CellSpacing = 3.

 

Thanks for your help

andre

Andre
Top achievements
Rank 1
 answered on 16 Mar 2018
1 answer
286 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
152 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
269 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
134 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
280 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
128 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
492 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
811 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
104 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
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?