473,398 Members | 2,380 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,398 software developers and data experts.

How to put custom action for commandfield

Hi,
I would like to execute a function when user click on a commandfield
(deletecommandfield) from a gridview.
How can I do that? I can not find how to put code in it.
Thank you In Advance
Gun
Mar 30 '07 #1
2 2211
Hi.

You answer the RowCommand event of the GridView. Please see the following
for examples:

http://www.ben-rush.net/blog/PermaLi...38414ca82.aspx

http://www.ben-rush.net/blog/PermaLi...69c40ac87.aspx

You will certainly find more authorative documentation online, but hopefully
this can get you started.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Gunawan" <jg**********@gmail.comwrote in message
news:Ox**************@TK2MSFTNGP03.phx.gbl...
Hi,
I would like to execute a function when user click on a commandfield
(deletecommandfield) from a gridview.
How can I do that? I can not find how to put code in it.
Thank you In Advance
Gun

Mar 30 '07 #2
Thank you.
Now I can figure it out.
Best Regards,
Gun

"Ben Rush" <kw*****@yahoo.comwrote in message
news:uf**************@TK2MSFTNGP05.phx.gbl...
Hi.

You answer the RowCommand event of the GridView. Please see the following
for examples:

http://www.ben-rush.net/blog/PermaLi...38414ca82.aspx

http://www.ben-rush.net/blog/PermaLi...69c40ac87.aspx

You will certainly find more authorative documentation online, but
hopefully this can get you started.

--
~~~~~~~~~~~
Ben Rush
http://www.ben-rush.net/blog
"Gunawan" <jg**********@gmail.comwrote in message
news:Ox**************@TK2MSFTNGP03.phx.gbl...
>Hi,
I would like to execute a function when user click on a commandfield
(deletecommandfield) from a gridview.
How can I do that? I can not find how to put code in it.
Thank you In Advance
Gun


Mar 30 '07 #3

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

Similar topics

3
by: Vai2000 | last post by:
Hi All, I need to execute custom action during installation of my program (through MSI). Creating the MSI was pretty straight fwd. After that I went into the Custom Action Editor and added the...
6
by: | last post by:
Hi, I added dotnetfx.exe to a setup project as a custom action to be installed before the main app is installed. I set the Arguments property to /q:a /c:"install /l /q" for a silent install...
0
by: Ron Andersen | last post by:
I have C# custom actions and merge modules created in Visual Studio to install some components of the application I am working on. The merge modules are used with an Install Shield 9 project. ...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
8
by: Mike Kelly | last post by:
I've chosen to implement the "optimistic concurrency" model in my application. To assist in that, I've added a ROWVERSION (TIMESTAMP) column to my main tables. I read the value of the column in my...
1
by: pittster | last post by:
I'm trying to change the text that is displayed for the Select command of a CommandField. I'm figuring that it would have to occur during the RowDataBound event. Here is the code I've started...
1
by: Microsoft News Group | last post by:
I am trying to validate two textboxes as their values are the same, or both are null do not insert the data. I do not just want one to try to be null, I want both of them, so the requirevalidator...
13
by: Matt F | last post by:
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible...
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.