I'm on the newest version of the telerik winforms. (2015_2_623)
After updating, the first occurrence of recurring appointments no longer show up.
This appears to occur when using any time zone that comes before UTC time.(Any "-" time)
Is there a fix for this issue?
protected
override
void
CreateChildElements()
{
// ... init elements
this
.Children.Add(radLabel);
// ok
this
.Children.Add(radbtnColor);
// ok
this
.Children.Add(radbtnFont);
// ok
this
.Children.Add(
new
RadCheckBoxElement());
// GridDataCellElement will shown empty if this line not removed
}
Hi,
I used this solution to increase my DropDownList popup when item text is longer than DropDownList size. But when I open the DropDownList for the first time, it goes off the screen (my DropDownList is at the right edge of the form and popup isn't positioned correctly and goes right off the screen).
Then when I close and open DropDownList, the popup position will be correct and after that everything is OK.
Should I add something at the end of "PopupOpened" event after resizing items?
After placing more elements in the layout than I realized I needed, I tried to delete the extra elements but all I can do apparently is to 'Hide' the extra elements.
Is there a way to delete the extra elements rather than 'Hide' them?
Hi to all,
I need to show a WaitingBar during mapping my appointments. How can I do this?
Actually I have a custom control with this structure: a Panel that contains sequentially RadNavigator (Dock.Top) > RadScheduler (Dock.Fill) > RadWaiting (Dock.Bottom)
I can't set a DataSource directly to the database, I used a BindingList<CustomAppointment>
During intercept some event's scheduler and navigator, fire a my delegate event NeedData that asks to Windows program to execute load data for specific period.
In this case if items of my BindingList<CustomAppointment> contains a lot of items, the primary thread is freezing.
I would use a RadWaitingBar to show a "waiting period" to user.
How can I do this? Normally I resolve this problem.... but on WPF Application with RadBusyIndicator :-)
01.
#region navigator events
02.
void
NavigatorNavigateForwardsClick(
object
sender, EventArgs e)
03.
{
04.
if
(NeedData !=
null
)
05.
NeedData(scheduler.ActiveView.StartDate, scheduler.ActiveView.EndDate);
06.
}
void
NavigatorNavigateBackwardsClick(
object
sender, EventArgs e)
07.
{
08.
if
(NeedData !=
null
)
09.
NeedData(scheduler.ActiveView.StartDate, scheduler.ActiveView.EndDate);
10.
}#endregion#region scheduler eventsvoid SchedulerActiveViewChanged(
object
sender, SchedulerViewChangedEventArgs e)
11.
{
12.
if
(NeedData !=
null
)
13.
NeedData(scheduler.ActiveView.StartDate, scheduler.ActiveView.EndDate);
14.
}
01.
// create and configure a scheduler binding source
02.
schedulerBindingDatasource =
new
SchedulerBindingDataSource();
03.
// map the MyAppointment properties to the scheduler
04.
appointmentMappingInfo =
new
AppointmentMappingInfo();
05.
appointmentMappingInfo.Start =
"Start"
;
06.
appointmentMappingInfo.End =
"End"
;
07.
appointmentMappingInfo.Summary =
"Subject"
;
08.
appointmentMappingInfo.Description =
"Description"
;
09.
appointmentMappingInfo.Location =
"Location"
;
10.
appointmentMappingInfo.UniqueId =
"Id"
;
11.
appointmentMappingInfo.Exceptions =
"Exceptions"
;
12.
appointmentMappingInfo.ResourceId =
"ResourceId"
;
13.
appointmentMappingInfo.StatusId =
"StatusId"
;
14.
appointmentMappingInfo.BackgroundId =
"BackgroundId"
;
15.
16.
schedulerBindingDatasource.EventProvider.Mapping = appointmentMappingInfo;
17.
// assign the generic List of CustomAppointment as the EventProvider data source
18.
schedulerBindingDatasource.EventProvider.DataSource = customAppointments;
19.
20.
if
(customResources !=
null
)
21.
LoadCustomResources();
22.
23.
scheduler.DataSource = schedulerBindingDatasource;
'Could anybody plesae tell me , how can I add a new row to this table using VB code ?
'dgPeripherals.AllowAddNewRow = True
'dgPeripherals.Rows.Insert(0, dgPeripherals.Rows.NewRow())
'dgPeripherals.Refresh()
'But it does display me a new row insert recrods to the grid.
'I have added above code inside the hander event of the Add button as follows ,
Imports
Telerik.WinControls.UI
Imports
Telerik.WinControls.UI.GridViewColumn
Private
Sub
FormTeleic_Load(sender
As
Object
, e
As
EventArgs)
Me
.dgPeripherals =
New
Telerik.WinControls.UI.RadGridView()
GeneratePeripheralsGridColumns()
End
Sub
Private
Sub
dgPeripherals_CommandCellClick(sender
As
Object
, e
As
EventArgs)
Dim
gCommand
As
GridCommandCellElement = TryCast(sender, GridCommandCellElement)
Dim
result
As
DialogResult
If
gCommand.ColumnInfo.Name =
"clmAdd"
Then
dgPeripherals.AllowAddNewRow =
True
dgPeripherals.Rows.Insert(0, dgPeripherals.Rows.NewRow())
dgPeripherals.Refresh()
End
If
End
Sub
Private
Sub
GeneratePeripheralsGridColumns()
' TEXT COLUMN
Dim
clmItemSN
As
New
GridViewTextBoxColumn()
clmItemSN.HeaderText =
"Item S/N"
clmItemSN.Width = 100
Dim
clmItemName
As
New
GridViewTextBoxColumn()
clmItemName.HeaderText =
"Item Name"
clmItemName.Width = 100
Dim
clmAdd
As
New
GridViewCommandColumn()
clmAdd.Name =
"clmAdd"
clmAdd.UseDefaultText =
True
clmAdd.DefaultText =
"Add"
clmAdd.HeaderText =
"Add"
dgPeripherals.Columns.Add(clmItemSN)
dgPeripherals.Columns.Add(clmItemName)
dgPeripherals.Columns.Add(clmAdd)
End
Sub
' What I want is to add a new row to the excisting grid when clicked on the Add Button on the previous row
'The default behaviour is , it adds a new row to the grid when I press enter on the last text cell , but I want this to happend upon add button click event.
'Is this possible to achive with Teleric Grids ? Can somebody help me please ?
'I'm new to teleric grid , please bear with me if I missed anything,
'Thanks in advance.
I am using
radPropertyGrid1.Items[
"Text"
].Visible =
variable
;
I've attached a picture of it visible, and of it hidden.
The category is Motion System Locations.