Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between response.redirect and server.transfer?

1031


What are tuples?

1126


What do you mean by serialize and marshalbyref?

1010


What are the security types in ASP/ASP.NET? Different Authentication modes?

1040


Explain exception filters?

1026


What is dynamic web page with example?

951


Which two new properties are added in asp.net 4.0 page class?

923


What are the three parts of an http response?

963


What is form method?

924


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

1079


How can u deifne the benefits and limitation of using Viewstate for state management?

1122


What is inheritance and an how it be used, example with an example?

1059


What is clickid?

1043


How do I open an ashx file in windows 7?

1058


What is x xss protection?

978