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
Explain the difference between globalization and localization techniques
What does the .webpart file do?
What is query string? What are its advantages and limitations?
Is post back property in asp net?
Define web.config in .net?
What is cached data phone?
How can you enable impersonation in the web.config file?
What are sql joins?
Explain automatic memory management in .net.
What is the difference between table and query?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
What are the different properties of server control that exists?
Is sql backend or frontend?
Is asp.net still used?
Can the dictionary object be created in client?s scope ?