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
Explain parts of assembly?
What is a session in programming?
What is the function of new view engine in asp.net? : asp.net mvc
What is xaml? Are xaml file compiled or built on runtime?
When Cookies are expired in ASP.NET?
Is it right that ASP.NET Web API has replaced WCF?
Explain the different parts that constitute ASP.NET application?
What are the asp.net 2.0 features?
How can you ensure a permanent cookie?
How does u call and execute a sp in .net?
About CLR, reflection and assemblies?
What are the main requirements for caching?
code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications
What is application variable in asp.net?
What are the differences between code behind and code inline?