Home > Archive > ASP .NET > March 2007 > How to put custom action for commandfield
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to put custom action for commandfield
|
|
| Gunawan 2007-03-29, 10:05 pm |
| 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
| |
| Ben Rush 2007-03-30, 4:14 am |
| Hi.
You answer the RowCommand event of the GridView. Please see the following
for examples:
http://www.ben-rush.net/blog/PermaL...338414ca82.aspx
http://www.ben-rush.net/blog/PermaL...669c40ac87.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" <jgun98.milis@gmail.com> wrote in message
news:OxoAw2mcHHA.4616@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
>
| |
| Gunawan 2007-03-30, 4:14 am |
| Thank you.
Now I can figure it out.
Best Regards,
Gun
"Ben Rush" <kwendex@yahoo.com> wrote in message
news:ufaHmupcHHA.3648@TK2MSFTNGP05.phx.gbl...
> Hi.
>
> You answer the RowCommand event of the GridView. Please see the following
> for examples:
>
> http://www.ben-rush.net/blog/PermaL...338414ca82.aspx
>
> http://www.ben-rush.net/blog/PermaL...669c40ac87.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" <jgun98.milis@gmail.com> wrote in message
> news:OxoAw2mcHHA.4616@TK2MSFTNGP03.phx.gbl...
>
>
|
|
|
|
|