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 login controls.
what is shared assembly?
What is interval time of GC in .net
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?
What is the difference between HTTP-Post and HTTP-Get ?
Name the two properties are on every validation control?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
What does assemblyinfo.cs file consist of?
What are the Difference between asp.net and asp ?
Explain in what order a destructors is called.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)