473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DetailsView - how to capture the click event on Edit and Cancel command?

K B
I have a DetailsView grid, I would like to perform some action (e.g.,
return to another control), when the user clicks on the Cancel button.
How can I capture this event?

Thanks,
Kit

*** Sent via Developersdex http://www.developersdex.com ***
Mar 27 '06 #1
1 1902
Look at the ModeChanging event in conjunction with the CancelingEdit
property.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"K B" <ka**********@comcast.net> wrote in message
news:eT**************@TK2MSFTNGP11.phx.gbl...
I have a DetailsView grid, I would like to perform some action (e.g.,
return to another control), when the user clicks on the Cancel button.
How can I capture this event?

Thanks,
Kit

Mar 29 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: akilad | last post by:
How do I capture click event for the chart object below? <!--METADATA TYPE="DesignerControl" startspan <OBJECT id=cfx1 style="Z-INDEX: 102; LEFT: 192px; WIDTH: 480px; POSITION: absolute;...
3
by: Benjamin Gavin | last post by:
Hi all, I recently stumbled upon a bug in the ASP.NET framework handling of ImageButton based postbacks. The issues derives from the fact that IE and Mozilla handle the case of a missing image...
1
by: Feng | last post by:
Hi, Need help on the following issue. We need to clean up some session specific backend resource when a user ends his session. We have a "Logoff" button on the pages that handles that. But...
7
by: Mrkrich | last post by:
I have one procedure that will take very long time before it finishs. During its running, I provide users a button to cancel this process if they don't want it to run anymore. I have one varible...
3
by: Andreas Wöckl | last post by:
HI Group! I have to programmatically create a user input form with various Checkbox and RadioButton lists - Beside every List I have to place an image button that is able to reset the...
1
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
When I click the "Edit" hyperlink, my DetailsView doesn't enter Edit mode. It will if I set the DefaultMode="Edit". Any thoughts? Thanks. <asp:DetailsView ID="DetailsView1"...
1
by: martin DH | last post by:
Hi all, I think I'm just blanking on some basic concept here...in Access 2003 on XP. Here's the process - the user enters an ID number, clicks the command button, and the other two fields are...
1
by: chirag1989 | last post by:
Can some one just tell me out how can i use onclick event actual i m makin a library management system so i need to make a procedure that is called on clickin a button How To make procedure that...
2
by: todashah | last post by:
Hi ! All, I want to developed simple web page using asp.net 2.0 & C#. This web page page contain one text box & two button just like a page of google. Assume that text of Button is First &...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.