How do you add a javascript function for a link button in a
datagrid ?
Answer Posted / vidit tyagi
you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below
linkbutton linkbtn=(linkbutton)( e.item.findcontrol
("linkbtnname"))
linkbtn.attribute.add("onclick",javascript:returnfuctionname
()");
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
what are the security certificates used in webservices?
What is smpte vc-1?
Define managed code and managed data in .net?
What is asp.net web pages?
What does the orientation property do in a menu control?
What are themes and skins in 2.0, explain usage scenario?
What are the server controls in asp.net?
Why do we need a web application session?
What websites use asp.net?
What is GAC in ASP.NET 2.0
what is DLL Hell and how it is solved in .NET? please explain clearly??
Explain exception filters?
List the events in page life cycle.
Should I delete cookies?
Can you use c# without .net?