or
Private
Sub
AddTaskDetailCommand()
Dim
commandColumn
As
New
GridViewCommandColumn
With
commandColumn
.Name =
"ViewTaskDetail"
.FieldName =
"AssetChecklistID"
.HeaderText =
String
.Empty
.Width = 30
.AllowFiltering =
False
.AllowGroup =
False
.AllowHide =
False
.AllowResize =
False
.AllowSort =
False
End
With
RadGridView1.MasterTemplate.Columns.Insert(0, commandColumn)
AddHandler
RadGridView1.CommandCellClick,
AddressOf
RadGridView1_CommandCellClick
End
Sub
Private
Sub
RadGridView1_CellFormatting(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.WinControls.UI.CellFormattingEventArgs)
Handles
RadGridView1.CellFormatting
If
(
TypeOf
(e.CellElement)
Is
GridCommandCellElement)
Then
Dim
cmdCell =
DirectCast
(e.CellElement, GridCommandCellElement)
Dim
colName = cmdCell.ColumnInfo.Name
If
colName =
"ViewTaskDetail"
Then
e.CellElement.ToolTipText =
"View Task Details..."
cmdCell.CommandButton.DisplayStyle = DisplayStyle.Image
cmdCell.CommandButton.Image = My.Resources.tag_blue_edit
End
If
End
If
End
Sub
radGV.CurrentCell.Location.X
Is it possible to drag and drop from a grid view to a scheduler then the appointment will be set and save automatically??
For example in the same window I have grid view and scheduler
If there is a person call John in grid view that has a kind of an appointment, so when I drag that person from grid to scheduler the appointment should be automatically added to the selected place and time.
For more detail check the attached picture