tags:

views:

14

answers:

0

I have a page that contains both GridView and DetailsView each is set to generate columns/fields automatically and has a few column/fields set manually by me as well and are connected to the same SqlDataSource

I would like to change the generated columns problematically before the HTML is generated.

Columns/fields that are NOT auto generated i can access them using the Columns/Fields property of the control - but the auto generated columns does not appear there even on the PreRender event AFTER DataBinding was done

On GridView i can hook up to the RowCreated Event and handle the changes i need on a row by row basis - but i have to avoid do it for the non generated columns (using the location) - an ugly solution but working

On DetailsView i did not found a similar event that i can hook into

Can anyone point me to the event in DetailsView - or provide me with a better way to do it?