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
Answers were Sorted based on User's Feedback
Answer / bhavin khatri
you can write code for messege directly to the click event
of button otherwise
write 'Edit' in the commandname property of button which u
are added then in gridview write onrowediting event
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / 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 |
Answer / 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 |
Can you store dataset in viewstate?
What is an il?
What are three ways that you can use a compare validator?
What is preprocessor in .net?
What is the difference between page directive include and action tag include?
What is the namespace to create thread in .net?
About Postback ?
What is true about application service provider?
Why we go for mvc instead of asp.net? : Asp.Net MVC
What are the different types of sessions in asp.net?
ASP.NET Web Service
Can I stream live content/events?