Dim dropLoc As Point = grdDeliveries.PointToClient(New Point(e.X, e.Y)) |
I would like to change the text of the items
-Close
-Close All But This
-New Horizontal Tab Group
-New Vertical Tab Group
in the context menu of my document panes
I use the DockingManager with automatic MDI child detection enabled.
I just want to change it to another language, the functionality must remain the same.
Also, is it possible to remove the New Horizontal/Vertival Tab Group items?
Regards,
Jill-Connie Lorentsen
Dear Telerik team,
we have a RadGridView descendant, that delivers some new properties as shown in code below.
The attached images are to demonstrate the unexplicable behaviour. To generate the hint shown in the statusbar on the bottom of these images we used the following code that already uses our own indexer property:
string
hint = HistoryGrid.MouseRow +
" / "
+": IsProcedure = "
+ ((
bool
)HistoryGrid[HistoryGrid.MouseRow,
"IsProcedure"
]);
internal
object
this
[
int
rowIndex,
string
columnName]
{
get
{
return
(rowIndex >= 0) ? Rows[rowIndex].Cells[columnName].Value :
null
; }
}
protected
override
void
OnMouseMove(MouseEventArgs e)
{
base
.OnMouseMove(e);
object
currentCell = ElementTree.GetElementAtPoint(e.Location);
if
(currentCell
is
GridDataCellElement)
{
var cell = currentCell
as
GridDataCellElement;
MouseRow = cell.RowIndex;
MouseColumn = cell.ColumnIndex;
}
else
if
(currentCell
is
GridGroupExpanderCellElement)
{
var cell = currentCell
as
GridGroupExpanderCellElement;
MouseRow = cell.RowIndex;
MouseColumn = -1;
}
else
if
(currentCell
is
GridExpanderItem)
{
MouseColumn = -1;
}
else
{
MouseRow = -1;
MouseColumn = -1;
}
}
hi,
how can i add text to a command button in a radgridview row?
AddHandler RadGridDocuments.CommandCellClick, AddressOf RadGridDocuments_CommandCellClick
Dim commandColumn As GridViewCommandColumn = New GridViewCommandColumn()
commandColumn.HeaderText = "Command"
commandColumn.Width = 100
commandColumn.DataField = "PersonID"
Me.RadGridDocuments.Columns.Add(commandColumn)
thanks, andreas