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
What is the difference between response.redirect and server.transfer?
What are tuples?
What do you mean by serialize and marshalbyref?
What are the security types in ASP/ASP.NET? Different Authentication modes?
Explain exception filters?
What is dynamic web page with example?
Which two new properties are added in asp.net 4.0 page class?
What are the three parts of an http response?
What is form method?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
How can u deifne the benefits and limitation of using Viewstate for state management?
What is inheritance and an how it be used, example with an example?
What is clickid?
How do I open an ashx file in windows 7?
What is x xss protection?