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

what are the security certificates used in webservices?

1944


What is smpte vc-1?

991


Define managed code and managed data in .net?

906


What is asp.net web pages?

937


What does the orientation property do in a menu control?

943


What are themes and skins in 2.0, explain usage scenario?

896


What are the server controls in asp.net?

909


Why do we need a web application session?

924


What websites use asp.net?

982


What is GAC in ASP.NET 2.0

1085


what is DLL Hell and how it is solved in .NET? please explain clearly??

2308


Explain exception filters?

977


List the events in page life cycle.

914


Should I delete cookies?

927


Can you use c# without .net?

926