views:

313

answers:

0

Hi,

I have a following requirement.

ASP.net GridView control has following fields.

HeaderTemplate

ID ------ Name---------- Model dropdown[ ALL-Yes ] --------Description.

Item template

label------ label ----------Dropdown ------------------------- Text box

ID and Name field bound to datasource and populated from database. Fields model and description user has to fill.

Now back to my requirement. Sometime gridview contains 10-20 items and user don't like to fillout the description and model section(yes/no) for each item. So, I decide to create a header template dropdown(All-Yes) in model so when user select the [All-Yes] then all 20 items model dropdown should fillout with Yes. I would like to do same thing for the description. Somekind of autofill the text box for all items.

Note : First two controls type is databound and bound to database.

I would really appreciate your help.