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 / 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


Please Help Members By Posting Answers For Below Questions

If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

2432


How many types of state management are there in asp net?

995


What are app services?

891


What is the use of the tag in the web.config file?

913


In which event are the controls fully loaded?

959


What is the use of placeholder control? Can we see it at runtime?

1033


Explain the difference between singleton and single call?

939


What is the advantage of using Windows authentication in a Web application?

1053


Explain client-side scripting?

946


What is csrf attack in asp.net?

976


How to find last error which occurred?

992


What are the contents of cookie?

1064


What is applicatio domain?

963


How will you load dynamic assembly?

947


Define the term Web Garden?

916