This is a migrated thread and some comments may be shown as answers.

Setting entity property in Item_inserting event (using Entitydatasource)

1 Answer 30 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Rickard
Top achievements
Rank 1
Rickard asked on 26 Oct 2010, 01:36 PM
Hi I have created a Listview from a EntityDatasource using All properties.
When I want use insert in listview also want to set some properties programmatically in the

ListView1_ItemInserting(

 

object sender, ListViewInsertEventArgs e)

 

event.

Things I want to set is for example, chanheddate, and some other properties which I removed from the template that was created.
How do I reach the entity properties? I cant find a way todo this.

1 Answer, 1 is accepted

Sort by
0
Rickard
Top achievements
Rank 1
answered on 28 Oct 2010, 10:04 PM
Nevermind you use the events for the entitydatasource, my bad.
Tags
ListView
Asked by
Rickard
Top achievements
Rank 1
Answers by
Rickard
Top achievements
Rank 1
Share this question
or