Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cancel Behaviour on DataGrid

Status
Not open for further replies.

faust13

Programmer
Aug 7, 2001
176
US
How do you specify the behaviour on the Cancel link on the DataGrid (i.e. navigatoToURL, or something like that)?


Thanks,

faust13
Because Han Shoots First
 
Im not sure I understand you, the cancel link should just cancel any editing you've done on the datagrid.

If thats what you mean, then you need to create the mthod that will be called when the cancel link / button is pressed. In that method, you want something like below (You'll nee dto check the syntax, as Im going off the top of my head)

DataGrid.EditItemIndex = -1;
DataGrid.Bind();

Cheers

K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top