Asp.Net Source :- In my project i have gridview control -
item template. Its have asp:button control. my requirement
is while click this button i need to display some alert
message.
Could you please help me which gridview event i need to
write source code?
Please give me a quick response.
Thanks

Answer Posted / mintu

add commandname="Updateme" for your button and in rowcommand event of datagrid

if (e.CommandName == "Updateme")
{

//ur code
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the ASP.Net Application life cycle?

562


Define what is razor? : asp.net mvc

574


What is the advantage of mvc over asp.net? : Asp.Net MVC

498


What is the difference between session object and application object?

587


what is command line compiler.what are the steps and how it is related to debugging.

1409






What is the difference between union and structure?

503


How does asp.net page work?

523


Explain what is event bubbling?

570


What is asp.net caching?

576


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

510


What is autopostback in dropdownlist in asp net?

525


How do you remove duplicates without using remove duplicate stage?

611


What is connection pooling and how to enable and disable connection pooling?

477


What is manifest in .net framework?

537


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1640