<EditItemTemplate>

G

Guest

I have defined <ItemTemplate>XXXX</ItemTemplate> and
<EditItemTemplate>XXXX</EditItemTemplate> in an asp page.

How can I make the EditItemTemplate item visible (I mean through the program)
 
R

Raterus

Is this in a TemplateColumn?, In a datagrid? You have to set the datagrid's EditItemIndex to the row you want to edit before the EditItemTemplate will show up.
 
G

Guest

Yes, it is a template column in a datagrid.
I don't want a single row to be able to edit. In fact, I need all 20 rows
editable at the same time.
 
O

Ollie Riches

to enable the editting of a row in a datagrid you will have to set the
EditItemIndex, this can be done programtically or via an EditCommandColumn.

You can't have all the rows in a datagrid editable at the same time, the
atomic level for this is a row. If you want to edit all the rows at the same
time when a button is clicked then you will have to look into a user control
hosted in the datagrid or such like.

HTH

Ollie Riches

rkbnair said:
Yes, it is a template column in a datagrid.
I don't want a single row to be able to edit. In fact, I need all 20 rows
editable at the same time.
datagrid's EditItemIndex to the row you want to edit before the
EditItemTemplate will show up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top