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
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
How to fetch a data from one table to another table in asp.net ?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
What are server side controls?
Explain the steps to be followed to use passport authentication.
What is difference in .net 1.1 and .net 2.0?
Define viewstate in .net?
Can you nest updatepanel within each other?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
When does a session actually start?
Does google crawl redirects?
IN an ASP.NET Web application if there is any error, how can you debug?
Why is this service branded with windows livetm?
List the events in page life cycle.
How can I create master page in asp net?