Hi,
I Want custom cell in RadGridview. For enter data and also arrow button to view popup like Figure 1.
I am looking forward to your reply.
Thanks.
I have a C# Outlook VTSO Add-in project that has issue regarding the behavior of the comboboxcolumn in a datagrid when using the mousewheel. The item just jumps to the first or last item when scrolling using the mousewheel, and also when pressing the up or down arrow while the dropdownlist is visible.
I tried to replicate the issue on a new Telerik C# Windows Forms Application but it seems that the issue only exist for C# Outlook VTSO Add-in projects. What I did was to add a dropdownlist and add more than 20 items and tried scrolling using the mouse wheel on both win form app and vtso addin. The issue only exist on the vtso addin.
Are there any workarounds about this?
Attached here are screen capture of outlook vtso addin and another for telerik windows form.
[PasswordPropertyText(true)]
public string Password {get;set;}
Hi...
i got some problem on my custom new row element according to this link, but on my code i made with button element
internal
class
CustomGridNewRowElement : GridRowElement
{
private
GridCellElement cellElement;
private
RadButtonElement radButtonElement;
public
RadButtonElement AddButtton =>
this
.radButtonElement;
public
CustomGridNewRowElement() { }
protected
override
void
CreateChildElements()
{
base
.CreateChildElements();
this
.cellElement =
new
GridCellElement(
null
,
this
) { StretchHorizontally =
true
, StretchVertically =
true
};
this
.radButtonElement =
new
RadButtonElement(
"Add New"
);
this
.Children.Add(cellElement);
this
.cellElement.Children.Add(
this
.radButtonElement);
this
.cellElement.ClipDrawing =
true
;
}
public
override
bool
IsCompatible(GridViewRowInfo data,
object
context)
{
return
data
is
CustomGridViewRowInfo;
}
}
internal
class
CustomGridViewRowInfo : GridViewNewRowInfo
{
public
CustomGridViewRowInfo(GridViewInfo viewInfo) :
base
(viewInfo)
{
}
public
override
Type RowElementType =>
typeof
(CustomGridNewRowElement);
}
the problem is im missing an rowheadercellelement as shown on attachment, i need the Add Button only fit on GridViewDataColumns like a standard GridViewNewRowInfo,
and shown on 2nd attachment it throw an exception when mouse right button press / contextmenu on Add Button Element, i couldnt find whats wrong.
any help please.
i'm using 2015 version and can't find GetUnderlyingData Method under LocalDataSourceProvider class.
receving error - "GetUnderlyingData is not a member of LocalDataSourceProvider ".
please help, how can i add it or how can i override it?
Hi,
I have a solution where a user ​drags data into my application, onto a RadListView. The user drops the data on top of a RadListViewItem representing the subject to added the data to. I have added code for detecting which item that ​was dropped on (from Telerik documentation), but it always returns null from GetElementAtPoint. I have tried other Points (screen, control, client), but it's allways null.
The RadListView is unbound, in DetailView mode and have an icon and two columns. I don't know if that makes any difference in how this is handled.
private
void
radListView1_DragDrop(
object
sender, DragEventArgs e)
{
Point point = radListView1.PointToClient(
new
Point(e.X, e.Y));
BaseListViewVisualItem droppedItem = radListView1.ElementTree.GetElementAtPoint(point)
as
BaseListViewVisualItem;
if
(droppedItem !=
null
)
{
ListViewDataItem item = droppedItem.Data;
// handle dropped data here
}
}
I am using Telerik version 2014.1.226.40.
Best regards
Thomas
Is it possible to drag a row from telerik grid to drop on windows form treeview control?
In my code i am able to drag the row from telerik grid but DragEnter event of windows form treeview control is not firing?