How do you add a javascript function for a link button in a
datagrid ?

Answer Posted / subhash saini

After finding the link button
LinkButton.attribute.add("onclick",javascript:return
testfunction();");

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the state management in asp.net?

775


How can I create master page in asp net?

715


What is the compiled object?

1875


Define what is razor? : asp.net mvc

785


What is client side state management?

709


What are the contents of cookie?

843


How can we register exception filter from the action?

862


What does postback mean?

765


What is difference between mvc and asp.net? : Asp.Net MVC

837


How can we provide the WebParts control functionality to a server control?

782


Why asp.net mvc is better than asp.net? : Asp.Net MVC

712


What is asp.net mvc5? : Asp.Net MVC

787


How long does an http session last?

718


Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj

3057


What are assemblies and namespaces and explain the difference between them ?

848