Hi
When i change the time the clock will be not sync with picked time value in the moment.
If i close the time picker and reopen it the clock is synced by value now.
I want to sync clock position with picked time at the momment.
Please help me soon as possible.
Thnaks
Hi, changes to the timeline are resetting after each call to initializecomponent(). For example if I make changes to the timeline, the changes are reset to the default every time I try to run the program. Specifically the timeline scale and range is being reset with each time. Any idea why this could be? Thanks.
I have a drop down list that functions normally the first time I click the down arrow (the whole list of items displays). On subsequent clicks the drop down list is only half the height of the control. The pictures are attached.
I have some code to modify the font size and drop down arrow width..
// DropDownList ddlShortPick
ddlShortPick.ListElement.AutoSizeItems =
true
;
foreach
(RadListDataItem x
in
ddlShortPick.ListElement.Items)
{
x.Font = ddlShortPick.Font;
}
ddlShortPick.DropDownListElement.ArrowButton.MinSize =
new
Size(50, 0);
And these are the settings in the designer...
//
// ddlShortPick
//
this
.ddlShortPick.AutoSize =
false
;
this
.ddlShortPick.AutoSizeItems =
true
;
this
.ddlShortPick.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this
.ddlShortPick.Font =
new
System.Drawing.Font(
"Segoe UI"
, 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((
byte
)(0)));
this
.ddlShortPick.Location =
new
System.Drawing.Point(559, 5);
this
.ddlShortPick.Name =
"ddlShortPick"
;
this
.ddlShortPick.Size =
new
System.Drawing.Size(320, 31);
this
.ddlShortPick.TabIndex = 32;
((Telerik.WinControls.UI.RadDropDownListElement)(
this
.ddlShortPick.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
Any idea what would be corrupting the behavior of the control?
Thank you,
Gary
Hi
I added a radCalendar to my winform an when i want to run my program i get this error:
SeverityCodeDescriptionProjectFileLine
ErrorAssembly 'Telerik.WinControls.UI' with identity 'Telerik.WinControls.UI, Version=2017.2.502.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' uses 'Telerik.WinControls, Version=2017.2.502.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' which has a higher version than referenced assembly 'Telerik.WinControls' with identity 'Telerik.WinControls, Version=2017.2.502.20, Culture=neutral, PublicKeyToken=5bb2a467cbec794e'Clinic AppE:\4-Clinic App V1.5\Clinic App\Clinic App\CSC
Is this how the titlebar for the telerikmetrotouch theme should look? With the deep line over the control buttons to the right, but shallow over the form name?
I'm seeing it on each form, but would rather it were the same depth over the whole title bar. Im pretty sure the project manager will complain when he sees it.
Good evening,
I was trying to implement a generic column where depending the type of object being bind to it, different editors would be used.
At this moment i've settled for boolean, text and list and everyting is working well except the display of the checkbox.
The following happens: GridVirtualization
As you can see in the picture above, the top of the grid shows up fine, but on the bottom the checkboxes show up as text, as i use the scroll bar the lines eventually refresh to display the checkboxes(wich is why i assume this is something regarding the UI Virtualization).
I have tried invallidating rows, using dgvCustomer.TableElement.Update(Telerik.WinControls.UI.GridUINotifyAction.Reset) and a couple of alternatives that i have forgotten meantime.
The setup uses 3 custom cells, and the following custom column.
01.
using
System;
02.
using
System.Collections.Generic;
03.
using
Telerik.WinControls.UI;
04.
05.
namespace
Inl.TelerikExtensions40.WinForms
06.
{
07.
public
class
GenericDataColumn : GridViewDataColumn
08.
{
09.
10.
public
GenericDataColumn() :
base
()
11.
{
12.
}
13.
14.
public
GenericDataColumn(
string
fieldName) :
base
(fieldName)
15.
{
16.
}
17.
18.
public
GenericDataColumn(
string
uniqueName,
string
fieldName) :
base
(uniqueName, fieldName)
19.
{
20.
}
21.
22.
public
override
Type GetCellType(GridViewRowInfo row)
23.
{
24.
if
(row
is
GridViewDataRowInfo)
25.
{
26.
if
(row.Tag !=
null
)
27.
{
28.
var types = (Dictionary<
int
, Type>)row.Tag;
29.
if
(types.ContainsKey(
base
.Index))
30.
{
31.
return
types[
base
.Index];
32.
}
33.
}
34.
35.
return
typeof
(CustomTextBoxCell);
36.
}
37.
return
base
.GetCellType(row);
38.
}
39.
40.
public
override
Type GetDefaultEditorType()
41.
{
42.
var cellType = GetCellType(
base
.OwnerTemplate.DataView.CurrentItem);
43.
44.
if
(cellType ==
typeof
(CustomTextBoxCell)) {
45.
return
typeof
(RadTextBoxEditor);
46.
}
47.
if
(cellType ==
typeof
(CustomCheckBoxCell))
48.
{
49.
return
typeof
(CustomCheckBoxEditor);
50.
}
51.
if
(cellType ==
typeof
(CustomComboBoxCell))
52.
{
53.
return
typeof
(RadDropDownListEditor);
54.
}
55.
56.
return
base
.GetDefaultEditorType();
57.
}
58.
59.
public
void
SetType(Enumeration.DataTypesEnum tipo, GridViewRowInfo row)
60.
{
61.
Dictionary<
int
, Type> types =
default
(Dictionary<
int
, Type>);
62.
63.
if
(row.Tag !=
null
)
64.
{
65.
types = (Dictionary<
int
, Type>)row.Tag;
66.
}
67.
else
68.
{
69.
types =
new
Dictionary<
int
, Type>();
70.
}
71.
72.
if
(types.ContainsKey(
base
.Index) ==
false
)
73.
{
74.
switch
(tipo)
75.
{
76.
case
Enumeration.DataTypesEnum.Texto:
77.
types.Add(
base
.Index,
typeof
(CustomTextBoxCell));
78.
break
;
79.
case
Enumeration.DataTypesEnum.Booleano:
80.
types.Add(
base
.Index,
typeof
(CustomCheckBoxCell));
81.
break
;
82.
case
Enumeration.DataTypesEnum.Lista:
83.
types.Add(
base
.Index,
typeof
(CustomComboBoxCell));
84.
break
;
85.
}
86.
}
87.
88.
row.Tag = types;
89.
//row.InvalidateRow();
90.
}
91.
}
92.
}
I'll be willing to supply any other code necessary.
Thank you in advance.