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 |
In my code i have 3 tables,i have to insert 3 tables data using single insert query so that i wrote transations in a sp.but what my problem is,in those 3 tables i have to include my empId from another table.when i'm passing values im getting error at this EmpId. how can i solve this error to execute insert query? plesae tell me the solution...
Which object wraps the state or data of a user?
What is the difference between file-based dependency and key-based dependency?
Difference between Response.redirect vs server.transfer?
How is the asp.net mvc architecture different from others? : asp.net mvc
Difference between ByVal and ByRef?
Give me one example of Web API Routing?
How to use class library reference in asp.net project? Can you give me the example with source Class library haves classes like Database, insert, update, delete, reflection how can i use the database class connection in insert class to insert the record in to the Main Project in asp.net.
One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try again. - this error is occured in Sharepoint 2007 while deploy the web part
Have u used webcontrols?Tell me something about these?
Describe paging in asp.net?
i need code for insert,delete,update adn display records using stored procedure in C#