DataGrid Edit Mode

W

walterd

Hi

How can I programmatically switch a DataGrid into Edit Mode?
I have a datagrid with no Edit / Delete / Update command buttons, only a
HyperLink in one cell.
I want the HyperLink to be activated when the page loads.

Can someone PLEASE tell me how I can achieve this?
 
S

Scott G.

In the postback event handler; set the DataGrid EditItemIndex to the row that you want to be in "edit mode".

Scott
Hi

How can I programmatically switch a DataGrid into Edit Mode?
I have a datagrid with no Edit / Delete / Update command buttons, only a
HyperLink in one cell.
I want the HyperLink to be activated when the page loads.

Can someone PLEASE tell me how I can achieve this?
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top