Hi,
i got datagrid with datepicker columns and textbox colums, i need to save some data when date is changed or text in textbox is changed. I had no problems with textbox i just used event on lostfocus and than:
but i cant use ParentOfType with RadDatePicker how can i achiv this?
EDIT
Ah never mind :P i just forgot about using Telerik.Windows.Controls.GridView; sorry for this post ;)
i got datagrid with datepicker columns and textbox colums, i need to save some data when date is changed or text in textbox is changed. I had no problems with textbox i just used event on lostfocus and than:
TextBox textbox = sender
as
TextBox;
GridViewRow parentRow = textbox.ParentOfType<GridViewRow>();
if
(parentRow !=
null
)
{
parentRow.IsSelected =
true
;
Item item =
this
.listGridView.SelectedItem
as
Item;
Save(item);
}
but i cant use ParentOfType with RadDatePicker how can i achiv this?
EDIT
Ah never mind :P i just forgot about using Telerik.Windows.Controls.GridView; sorry for this post ;)