This question is locked. New answers and comments are not allowed.
Hi,
Can I place an autogenerated field to a specified grid row or column which is in the EditItemTemplate?
Can I place an autogenerated field to a specified grid row or column which is in the EditItemTemplate?
private
void
form_AutoGeneratingField(
object
sender, AutoGeneratingFieldEventArgs e)
{
if
(e.PropertyName ==
"ActNumber"
)
{
//this doesn't work
(e.DataField
as
DataFormDataField).SetValue(Grid.ColumnProperty, 1);
}
else
{
e.Cancel =
true
;
}
}