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 |
What is server side routing?
when using windows API in .net then it is managed code or Unmanaged code?
In a Repeater control how one can provide an alternating color scheme ?
What property is used on the datatable to indicate a conflict after an update? a) HasConflict b) HasError c) HasCollision d) HasDataError
what is Impersonation
3 Answers Alliance One, Task Informatics,
how can you bind data from dataset to XML file
How to merge 2 tables fields in DataTable in asp.net
what is Theme in Asp.net 2.0
What is the difference between page-level caching and fragment caching?
Tell about WebService in Asp.Net?
my name is sumeetha i am using google gears in .net.what's the problem is my server is in another place. i am working here when i entered the values in textboxes and press enter then it should store in database(sql server) which is in another system.when that sever system is shutdown then the values which i submit should store in my system and after system opened it should automatically store the values in the system can any one plz urgent suggest answer for this question?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
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)