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
How do you store a value in viewstate and retrieve them?
What are the new login controls in asp.net 2.0?
WSDL means?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
In which event of the page viewstate is available?
How many types of validation are there?
What are the Types of state management techniques
Which protocol is used to call a web service?
What are the new data controls in asp.net 2.0?
When cookie will expire?
Which protocol is used in a web api?
What is application variable?
9. Why should we hire you over the others waiting to be interviewed?
What is s2s tracking?
Define dll hell?