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 |
Why do we need Web Services?
Can user control be stored in library?
difference between writing connection string in web.config through connection string and appsettings
Explain weak typing and strong typing.
About SOAP ?
What is the difference between stored procedure vs function?
What are custom controls?
What tag do you use to add a hyperlink column to the DataGrid?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
Difference Between ReadOnly and Constant Variable in compile time and Run Time.
3 Answers Phoenix Technologies, Quadrant,
What are the difference between function and stored procedure in .net programming language?
Explain what is an assembly?
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)