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
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
How long the items in ViewState exists?
Explain page output caching?
Difference between .NET and previous version?
What is a page life cycle? What are the events in a page life cycle?
What are the server control tags in asp.net.?
What is asp according to you?
Define tracing.
How does the iis work?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What is considered a service provider?
What is Pre-Render event in ASP.NET?
What is the extension of master page in asp.net?
Explain the Session state management options available with ASP.NET?
Is post back in asp.net?