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 |
Explain weak typing and strong typing.
Can you explain how ASP.NET application life cycle and page life cycle events fire?
How does session authentication work?
How to write unmanaged code and how to identify whether the code is managed /unmanaged?
Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....
What are the disadvantages of view state?
Can viewstate be accessed in another page?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
Is asp net front end or backend?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)
What are clr?cts?cls?
4 Answers e4e, HCL, Microsoft, Tata Communications,