How do you add a javascript function for a link button in a
datagrid ?
Answer Posted / vishal jani
you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below
e.item.findcontrol("linkbtnname")
linkbtn.attribute.add("onclick",javascript:returnfuctionname()");
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Explain what does mvc represent in asp.net? : asp.net mvc
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
What is a SESSION and APPLICATION object?
How does u call and execute a sp in .net?
Name the tools or API for developing or testing web api?
What is scope of an application variable in asp.net?
Describe the Server Control Events of ASP.NET?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
Explain different authentication modes in asp.net?
How to send a DataReader as a parameter to a remote client ?
Define managed code and managed data in .net?
What type of code, client-side or server-side, is found in a code-behind file of a Web page?
What is the life cycle of an asp.net page?
Explain about asp.net 2.0 themes?
Why Unload event of MasterPage Calls first in ASP.net ?