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 / vishwanath

In Item data bound event I will find that button and add the
attribute(calling the javascript function) to that button.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster viewdata or viewbag?

772


What is redirectpermanent in asp.net?

805


Where session id is stored?

712


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

846


Is it possible to apply themes to an asp.net application? If yes, then how?

770


List of words of preprocessor in .net?

693


What are the HTML server controls in ASP.NET?

801


How Session outproc in Sqlserver stored?

2507


Describe the differences between the lifecycles of Windows services and Standard EXE?

819


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

717


What is Web API?

825


What are different methods of session maintenance in asp.net?

754


Why is it preferred to not use finalize for clean up?

720


What is custom attribute?

730


Explain the concept of View Model in MVC?

789