G
Guest
Hi,
i programmed a asp.net 2.0 gridview to a objectdatasource.
when i show all the columns of the object in the gridview and i click edit
and update, i get the whole object with all it's params in my handler object.
That's good.
Then i make 2 columns read-only, that goes well also.
But then: i don't want the object id to show in the gridview, because it's
non-informative for the user and it's ugly
so i mark that field 'invisible'
but then what happens is this: when i click edit, update the object id is 0
(zero, it's a numeric field)
What can i do to solve this problem?
kind regards,
michel
i programmed a asp.net 2.0 gridview to a objectdatasource.
when i show all the columns of the object in the gridview and i click edit
and update, i get the whole object with all it's params in my handler object.
That's good.
Then i make 2 columns read-only, that goes well also.
But then: i don't want the object id to show in the gridview, because it's
non-informative for the user and it's ugly
so i mark that field 'invisible'
but then what happens is this: when i click edit, update the object id is 0
(zero, it's a numeric field)
What can i do to solve this problem?
kind regards,
michel