Gridview with multiline edit

R

roend83

I am trying to extend the default gridview control to allow for editing
of multiple rows when a button is clicked and no rows when the button
is clicked again. When the button is clicked, I call the following
method:
public void SetRowsToEditable()
{
foreach (GridViewRow r in Rows)
{
r.RowState = DataControlRowState.Edit
}
}

The problem is the table reloads but doesn't insert textboxes into the
gridview to edit the rows. Is there another method I should call or
property that I need to set in order for this to work?
 

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,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top